.hero-copy {
  display: grid;
  gap: 2.2rem;
}

.hero-title {
  font-size: var(--t-hero);
  line-height: 1.14;
  letter-spacing: -0.03em;
  max-width: 11.4ch;
  font-variation-settings: "opsz" 144, "SOFT" 24;
}

.hero-lead {
  margin: 0;
  color: var(--ink-soft);
  max-width: 34rem;
  font-size: clamp(0.98rem, 1.45vw, 1.1rem);
  line-height: 1.92;
}

.hero-trustline {
  margin: var(--s-4) 0 0;
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  line-height: 2.05;
  max-width: none;
  white-space: nowrap;
}

.hero-visual {
  align-self: start;
}

.hero-form-demo {
  padding: var(--s-3);
  margin-top: var(--s-6);
  box-shadow:
    0 1px 0 var(--line),
    0 24px 48px -24px rgba(31, 26, 20, 0.16);
}

.demo-toolbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.82);
}

.demo-toolbar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(23, 20, 16, 0.22);
}

.demo-toolbar code {
  color: var(--ink-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-3);
}

.demo-field,
.demo-assist {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--s-3);
  background: rgba(255, 250, 244, 0.82);
  min-height: 23rem;
}

.demo-field-name {
  margin-top: 0.45rem;
  font-size: var(--t-lg);
  font-family: var(--font-display);
  line-height: 1.08;
  min-height: 5.2rem;
}

.demo-assist-head {
  min-height: 2rem;
}

.demo-input {
  margin-top: 1rem;
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  min-height: 3.9rem;
  padding: 0.9rem 0;
  font-size: var(--t-lg);
  font-weight: 700;
}

.demo-input.is-active {
  border-bottom-width: 2px;
  border-bottom-color: var(--accent);
}

.demo-hint,
.demo-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.demo-kicker {
  display: flex;
  align-items: flex-start;
  min-height: 4.1rem;
  margin-top: 0.45rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.demo-suggestion {
  margin-top: 1rem;
  border-left: 2px solid var(--accent);
  display: flex;
  align-items: center;
  min-height: 3.9rem;
  padding-left: 0.8rem;
  font-size: var(--t-lg);
  font-weight: 700;
}

.button-demo {
  width: 100%;
  margin-top: auto;
  margin-bottom: 1rem;
}

.trust-strip-inner {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 0.75rem;
  font-size: var(--t-sm);
  color: var(--ink-soft);
}

.trust-strip-inner span {
  position: relative;
  padding-left: 1rem;
  padding-right: 0.2rem;
}

.trust-strip-inner span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
}

.mode-panel,
.privacy-panel {
  padding: var(--s-4);
}

.mode-panel {
  position: relative;
}

.mode-panel-local {
  background: rgba(239, 231, 218, 0.72);
  border-color: var(--line);
  box-shadow: none;
}

.mode-panel-local h3::after,
.mode-panel-ai h3::after {
  content: "";
  display: block;
  width: 4.2rem;
  height: 1px;
  margin-top: 1rem;
}

.mode-panel-local h3::after {
  background: var(--ink);
}

.mode-panel-local h3 {
  white-space: nowrap;
  font-size: clamp(1.02rem, 1.45vw, 1.5rem);
}

.mode-panel-ai {
  border-color: rgba(191, 76, 47, 0.3);
  box-shadow:
    0 1px 0 rgba(191, 76, 47, 0.15),
    0 20px 44px -28px rgba(31, 26, 20, 0.14);
}

.mode-panel-ai h3::after {
  background: var(--accent);
}

.mode-kicker,
.pricing-kicker {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mode-panel p {
  color: var(--ink-soft);
}

.modes-section .section-head,
.supported-section .section-head,
.scenario-section .section-head,
.pricing-section .section-head,
.download-section .section-head,
.faq-section .section-head {
  margin-bottom: var(--s-5);
}

.modes-section .section-intro {
  max-width: 44rem;
  margin-top: 0.4rem;
}

.modes-grid {
  gap: var(--s-5);
}

.mode-flag {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  margin: 0;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mode-panel-local .compact-list,
.mode-panel-ai .compact-list {
  list-style: none;
  padding-left: 0;
  margin-top: var(--s-4);
}

.mode-panel-local .compact-list li,
.mode-panel-ai .compact-list li {
  position: relative;
  padding-left: 1.1rem;
}

.mode-panel-local .compact-list li::before,
.mode-panel-ai .compact-list li::before {
  position: absolute;
  left: 0;
  top: 0;
}

.mode-panel-local .compact-list li::before {
  content: "—";
  color: var(--ink-soft);
}

.mode-panel-ai .compact-list li::before {
  content: "→";
  color: var(--accent);
}

.privacy-layout {
  display: grid;
  gap: var(--s-4);
}

.supported-groups {
  display: grid;
  gap: var(--s-5);
}

.privacy-head {
  max-width: 42rem;
}

.scenario-list article {
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}

.scenario-list {
  max-width: 44rem;
}

.scenario-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.scenario-list p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  max-width: 40rem;
}

.pricing-card {
  max-width: 46rem;
  margin: 0;
  padding: var(--s-5);
  border-color: var(--line-strong);
  border-radius: 10px;
  background: rgba(250, 246, 236, 0.96);
}

.pricing-summary {
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 0.98;
}

.pricing-columns {
  gap: var(--s-4);
  align-items: start;
}

.download-card h3 {
  font-size: 1.55rem;
  line-height: 1.14;
}

.download-card p {
  color: var(--ink-soft);
}

.final-cta-inner {
  max-width: 44rem;
  margin: 0;
  padding: var(--s-4);
}

.final-cta-inner p {
  margin: var(--s-2) 0 var(--s-3);
  color: var(--ink-soft);
  font-size: var(--t-md);
}

.site-footer {
  padding: var(--s-5) 0 var(--s-6);
}

.footer-note {
  margin: 0.7rem 0 0;
  max-width: 30rem;
}

@media (max-width: 768px) {
  .demo-body {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.15rem, 11vw, 3.45rem);
    max-width: 100%;
  }

  .hero-lead {
    max-width: 100%;
  }

  .hero-form-demo {
    margin-top: var(--s-3);
  }
}
