:root {
  --porcelain: #faf7f2;
  --porcelain-soft: #f4eee6;
  --surface: #fffdf8;
  --surface-warm: #fbf4ea;
  --ink: #28211d;
  --espresso: #4d3528;
  --espresso-deep: #11100f;
  --muted: #786e65;
  --muted-soft: #978c82;
  --line: #e8dcc9;
  --line-strong: #d7c5ad;
  --clay: #b1895b;
  --sage: #78876f;
  --wine: #8d4a42;
  --shadow-soft: 0 24px 70px rgba(56, 39, 28, 0.11);
  --shadow-float: 0 34px 110px rgba(54, 38, 28, 0.17);
  --radius: 22px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--porcelain);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, sans-serif;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

body::selection {
  color: var(--surface);
  background: var(--espresso);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1140px, calc(100% - 36px));
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid rgba(232, 220, 201, 0.86);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 12px 36px rgba(69, 48, 35, 0.08);
  backdrop-filter: blur(20px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  padding-right: 16px;
  color: var(--espresso-deep);
  font-size: 15px;
  font-weight: 760;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(65, 45, 32, 0.13);
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  padding: 9px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-links a:hover {
  color: var(--espresso);
  background: #f2e8dc;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  height: 92vh;
  min-height: 720px;
  max-height: 900px;
  padding: 118px 24px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(247, 241, 232, 0.98)),
    var(--porcelain);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(75, 53, 40, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 53, 40, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(800px, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-product-name {
  margin: 0 0 8px;
  color: var(--espresso-deep);
  font-size: 18px;
  line-height: 1;
  font-weight: 820;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--espresso-deep);
  font-size: 56px;
  line-height: 1.03;
  font-weight: 830;
  letter-spacing: 0;
}

.hero-text {
  width: min(660px, 100%);
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 760;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fffaf2;
  border-color: var(--espresso);
  background: var(--espresso);
  box-shadow: 0 12px 28px rgba(75, 53, 40, 0.22);
}

.button-primary:hover {
  background: var(--espresso-deep);
  box-shadow: 0 16px 34px rgba(75, 53, 40, 0.26);
}

.button-secondary {
  color: var(--espresso);
  border-color: var(--line-strong);
  background: rgba(255, 253, 248, 0.72);
}

.button-secondary:hover {
  border-color: #cbb9a5;
  background: var(--surface);
}

.button-soft {
  color: #fffaf2;
  border-color: var(--sage);
  background: var(--sage);
}

.button-soft:hover {
  background: #687963;
  box-shadow: 0 14px 30px rgba(87, 104, 79, 0.18);
}

.inline-actions {
  margin-top: 20px;
}

.text-button,
.footer-link-button {
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 0;
  color: var(--espresso);
  background: transparent;
  font-weight: 760;
}

.text-button {
  font-size: 15px;
}

.text-button:hover,
.footer-link-button:hover,
.text-link:hover {
  color: var(--espresso-deep);
}

.text-link {
  color: var(--espresso);
  font-weight: 760;
}

.hero-visual {
  position: absolute;
  right: 0;
  bottom: -350px;
  left: 0;
  z-index: 1;
  width: min(1080px, calc(100% - 42px));
  margin: 0 auto;
}

.window-frame {
  overflow: hidden;
  border: 1px solid rgba(216, 200, 182, 0.95);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-float);
}

.window-controls {
  display: flex;
  gap: 7px;
  height: 36px;
  align-items: center;
  padding-left: 18px;
  border-bottom: 1px solid var(--line);
  background: #fffaf4;
}

.window-controls span,
.panel-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d7cabc;
}

.window-controls span:first-child,
.panel-header span:first-child {
  background: #d58a76;
}

.window-controls span:nth-child(2),
.panel-header span:nth-child(2) {
  background: #d8b568;
}

.window-controls span:nth-child(3),
.panel-header span:nth-child(3) {
  background: #88a780;
}

.window-frame img {
  width: 100%;
  aspect-ratio: 2048 / 1433;
  object-fit: cover;
  object-position: top center;
}

.proof-strip {
  width: min(1140px, calc(100% - 44px));
  margin: 0 auto;
  padding: 20px 0 0;
}

.proof-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.proof-inner span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.68);
  font-size: 13px;
  font-weight: 680;
}

.section {
  width: min(1140px, calc(100% - 44px));
  margin: 0 auto;
  padding: 108px 0;
}

.intro {
  padding-top: 104px;
  padding-bottom: 88px;
}

.intro p {
  width: min(900px, 100%);
  margin: 0 auto;
  color: var(--espresso);
  font-size: 30px;
  line-height: 1.35;
  font-weight: 680;
  text-align: center;
}

.section-heading {
  display: grid;
  gap: 8px;
  width: min(660px, 100%);
  margin-bottom: 34px;
}

.section-heading > p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-heading h2,
.better-copy h2,
.trust-copy h2,
.download-inner h2 {
  margin-bottom: 0;
  color: var(--espresso-deep);
  font-size: 42px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.flow-step,
.audience-card,
.install-card,
.roadmap-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow-soft);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease,
    box-shadow 200ms ease;
}

.feature-card {
  min-height: 226px;
  padding: 22px;
}

.feature-card:hover,
.flow-step:hover,
.audience-card:hover,
.install-card:hover,
.roadmap-card:hover {
  transform: translateY(-4px);
  border-color: #cfbea8;
  background: var(--surface);
  box-shadow: 0 28px 84px rgba(57, 40, 29, 0.15);
}

.feature-mark {
  display: inline-flex;
  margin-bottom: 40px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 780;
}

.feature-card h3,
.flow-step h3,
.audience-card h3,
.install-card h3 {
  margin-bottom: 10px;
  color: var(--espresso-deep);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 760;
}

.feature-card p,
.flow-step p,
.audience-card p,
.install-card p,
.install-note p,
.roadmap-card p,
.better-copy p,
.quiet-list p,
.trust-copy p,
.download-inner p,
.release-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.screens-section,
.flow-section,
.comparison-section,
.install-section,
.creator-section,
.roadmap-section,
.faq-section,
.release-section {
  border-top: 1px solid var(--line);
}

.screen-showcase {
  display: grid;
  gap: 18px;
}

.showcase-frame {
  overflow: hidden;
  border: 1px solid rgba(216, 200, 182, 0.95);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-float);
}

.showcase-controls {
  height: 38px;
}

.showcase-frame img {
  width: 100%;
  aspect-ratio: 2464 / 1800;
  object-fit: cover;
  object-position: top center;
  background: var(--espresso-deep);
  transition: opacity 180ms ease, transform 220ms ease;
}

.showcase-frame img.is-switching {
  opacity: 0;
  transform: scale(0.992);
}

.showcase-copy {
  display: grid;
  gap: 7px;
  width: min(720px, 100%);
  min-height: 118px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 16px 48px rgba(56, 39, 28, 0.08);
}

.showcase-kicker {
  margin-bottom: 0;
  color: var(--clay);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.showcase-copy h3 {
  margin-bottom: 0;
  color: var(--espresso-deep);
  font-size: 28px;
  line-height: 1.14;
  font-weight: 800;
}

.showcase-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.showcase-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px;
}

.showcase-tab {
  min-width: 0;
  min-height: 54px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.72);
  font-size: 13px;
  font-weight: 760;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.showcase-tab:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  color: var(--espresso);
  background: var(--surface);
}

.showcase-tab.is-active {
  color: #fffaf2;
  border-color: var(--espresso);
  background: var(--espresso);
  box-shadow: 0 14px 30px rgba(75, 53, 40, 0.18);
}

.demo-section {
  border-top: 1px solid var(--line);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.tsv-panel,
.demo-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.tsv-panel {
  overflow: hidden;
}

.panel-header {
  display: flex;
  gap: 7px;
  height: 42px;
  align-items: center;
  padding-left: 18px;
  border-bottom: 1px solid var(--line);
  background: #fffaf4;
}

.file-label {
  margin: 20px 24px 10px;
  color: var(--muted-soft);
  font-size: 13px;
  font-weight: 720;
}

pre {
  margin: 0;
  padding: 0 24px 28px;
  overflow: auto;
  color: var(--espresso-deep);
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.8;
}

.demo-card {
  display: grid;
  align-content: center;
  gap: 20px;
  min-height: 390px;
  padding: 34px;
}

.demo-step,
.demo-status {
  margin-bottom: 0;
  color: var(--muted-soft);
  font-size: 13px;
  font-weight: 720;
}

.demo-card h3 {
  margin-bottom: 0;
  color: var(--espresso-deep);
  font-size: 34px;
  line-height: 1.18;
  font-weight: 810;
}

.demo-answer {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface-warm);
}

.demo-answer span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.demo-answer strong {
  color: var(--espresso);
  font-size: 28px;
  line-height: 1.15;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.is-hidden {
  display: none !important;
}

.study-flow,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.study-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-step,
.audience-card {
  padding: 26px;
}

.flow-step span {
  display: inline-flex;
  margin-bottom: 64px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 780;
}

.better-section,
.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.better-copy p,
.trust-copy p {
  margin-top: 18px;
  font-size: 17px;
}

.quiet-list,
.download-details,
.release-list,
.faq-list {
  display: grid;
  gap: 12px;
}

.quiet-list div,
.release-list div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.quiet-list div:first-child,
.release-list div:first-child {
  border-top: 1px solid var(--line);
}

.quiet-list span,
.release-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--espresso-deep);
  font-size: 18px;
  font-weight: 760;
}

.app-comparison {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, 1fr);
}

.comparison-row + .comparison-row {
  border-top: 1px solid var(--line);
}

.comparison-row span {
  min-width: 0;
  padding: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.comparison-row span + span {
  border-left: 1px solid var(--line);
}

.comparison-header span {
  color: var(--espresso-deep);
  background: #fffaf4;
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.comparison-row strong {
  display: block;
  color: var(--espresso);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 680;
}

.comparison-row small {
  display: block;
  margin-top: 6px;
  color: var(--muted-soft);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 680;
}

.comparison-featured {
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(247, 239, 228, 0.78)),
    var(--surface);
}

.comparison-featured span {
  color: var(--espresso);
}

.comparison-featured strong {
  color: var(--espresso-deep);
  font-weight: 800;
}

.comparison-footer {
  width: min(790px, 100%);
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.62);
}

.comparison-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.download-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-details div {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.download-details span {
  display: block;
  margin-bottom: 28px;
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.download-details strong {
  color: var(--espresso-deep);
  font-size: 20px;
  line-height: 1.25;
}

.download-details code {
  display: block;
  color: var(--espresso-deep);
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-all;
}

.install-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.install-card {
  min-height: 220px;
  padding: 24px;
}

.install-card span {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 780;
}

.install-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.install-note div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.62);
}

.install-note span,
.roadmap-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--espresso-deep);
  font-size: 17px;
  font-weight: 760;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 16px 46px rgba(56, 39, 28, 0.07);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--espresso-deep);
  font-size: 17px;
  font-weight: 760;
}

.faq-list summary::marker {
  color: var(--clay);
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.creator-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(246, 238, 226, 0.78)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.creator-card h2 {
  margin-bottom: 14px;
  color: var(--espresso-deep);
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

.creator-card p {
  width: min(700px, 100%);
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.feedback-line {
  margin-top: 14px;
  color: var(--espresso) !important;
  font-weight: 720;
}

.creator-contact {
  display: grid;
  gap: 8px;
  min-width: 250px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.72);
}

.creator-contact span {
  color: var(--muted-soft);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.creator-contact a {
  color: var(--espresso);
  font-size: 18px;
  font-weight: 760;
  word-break: break-word;
}

.roadmap-card {
  min-height: 190px;
  padding: 24px;
}

.release-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.release-list div {
  padding-right: 28px;
}

.download-section {
  padding: 94px 24px 112px;
  border-top: 1px solid var(--line-strong);
  background: #eee5da;
}

.download-inner {
  display: grid;
  justify-items: center;
  width: min(780px, 100%);
  margin: 0 auto;
  text-align: center;
}

.download-inner img {
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(57, 40, 29, 0.16);
}

.download-inner h2 {
  margin-bottom: 16px;
}

.download-inner p {
  width: min(540px, 100%);
  margin-bottom: 26px;
  font-size: 17px;
}

.download-note {
  margin-top: 18px;
  margin-bottom: 0 !important;
  color: var(--muted-soft) !important;
  font-size: 13px !important;
}

.site-footer {
  display: flex;
  width: min(1140px, calc(100% - 44px));
  margin: 0 auto;
  gap: 18px;
  justify-content: space-between;
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover,
.footer-link-button:hover {
  color: var(--espresso);
}

.privacy-modal[hidden] {
  display: none;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 22px;
}

.privacy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 16, 15, 0.42);
  backdrop-filter: blur(14px);
}

.privacy-dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100svh - 44px);
  overflow: auto;
  padding: 34px;
  border: 1px solid rgba(232, 220, 201, 0.92);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 34px 110px rgba(17, 16, 15, 0.28);
}

.privacy-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.82);
  font-size: 12px;
  font-weight: 760;
}

.privacy-dialog h2 {
  width: min(460px, 100%);
  margin-bottom: 18px;
  color: var(--espresso-deep);
  font-size: 38px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.privacy-copy {
  display: grid;
  gap: 14px;
}

.privacy-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.legal-page {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.86), rgba(250, 247, 242, 1)),
    var(--porcelain);
}

.legal-main {
  width: min(900px, calc(100% - 44px));
  margin: 0 auto;
  padding: 126px 0 84px;
}

.legal-article {
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.back-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.back-link:hover {
  color: var(--espresso);
}

.legal-article h1 {
  width: min(690px, 100%);
  margin-bottom: 14px;
  font-size: 52px;
}

.legal-meta {
  margin-bottom: 42px;
  color: var(--muted-soft);
  font-size: 15px;
  font-weight: 680;
}

.legal-section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-section:last-child {
  padding-bottom: 0;
}

.legal-section h2 {
  margin-bottom: 10px;
  color: var(--espresso-deep);
  font-size: 24px;
  line-height: 1.2;
}

.legal-section p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.legal-section a {
  color: var(--espresso);
  font-weight: 760;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero {
    min-height: 700px;
    padding-top: 112px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-visual {
    bottom: -285px;
    width: min(920px, calc(100% - 30px));
  }

  .feature-grid,
  .release-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .demo-layout,
  .better-section,
  .trust-section,
  .install-grid,
  .install-note,
  .creator-card,
  .roadmap-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .study-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .better-section,
  .trust-section {
    gap: 28px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    padding-bottom: 76px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-links {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 7px;
    border: 1px solid rgba(232, 220, 201, 0.9);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.84);
    box-shadow: 0 16px 46px rgba(69, 48, 35, 0.14);
    backdrop-filter: blur(20px);
  }

  .mobile-nav a {
    display: inline-flex;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 760;
  }

  .mobile-nav .mobile-download {
    color: #fffaf2;
    background: var(--espresso);
    box-shadow: 0 10px 24px rgba(75, 53, 40, 0.2);
  }

  .legal-page {
    padding-bottom: 0;
  }

  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
    padding: 94px 15px 62px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
    position: relative;
    z-index: 3;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 38px;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    left: 0;
    z-index: 1;
    width: calc(100% + 270px);
    max-width: none;
    margin: 28px 0 0;
  }

  .window-frame {
    border-radius: 22px;
  }

  .proof-strip,
  .section {
    width: calc(100% - 30px);
  }

  .section {
    padding: 76px 0;
  }

  .intro {
    padding-top: 86px;
  }

  .intro p {
    text-align: left;
    font-size: 25px;
  }

  .section-heading h2,
  .better-copy h2,
  .trust-copy h2,
  .privacy-dialog h2,
  .download-inner h2 {
    font-size: 32px;
  }

  .feature-grid,
  .download-details,
  .release-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 206px;
  }

  .feature-mark,
  .flow-step span,
  .install-card span {
    margin-bottom: 34px;
  }

  .showcase-frame {
    border-radius: 22px;
  }

  .showcase-copy {
    min-height: 0;
    padding: 20px;
  }

  .showcase-copy h3 {
    font-size: 24px;
  }

  .showcase-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .study-flow {
    grid-template-columns: 1fr;
  }

  .showcase-tab {
    min-height: 48px;
  }

  .demo-card {
    min-height: 360px;
    padding: 24px;
  }

  .demo-card h3 {
    font-size: 28px;
  }

  .creator-card {
    padding: 24px;
  }

  .creator-card h2 {
    font-size: 32px;
  }

  .creator-contact {
    min-width: 0;
  }

  .privacy-dialog {
    padding: 28px 22px 24px;
    border-radius: 24px;
  }

  .comparison-header {
    display: none;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-row span {
    padding: 18px;
  }

  .comparison-row span::before {
    display: block;
    margin-bottom: 6px;
    color: var(--muted-soft);
    font-size: 11px;
    font-weight: 780;
    text-transform: uppercase;
    content: attr(data-label);
  }

  .comparison-row span + span {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .download-section {
    padding: 76px 18px 86px;
  }

  .legal-main {
    width: calc(100% - 30px);
    padding: 96px 0 62px;
  }

  .legal-article {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .legal-article h1 {
    font-size: 34px;
  }

  .legal-section h2 {
    font-size: 21px;
  }

  .site-footer {
    width: calc(100% - 30px);
    flex-direction: column;
  }

  .site-footer div {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-top: 88px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-product-name {
    font-size: 17px;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-visual {
    width: calc(100% + 230px);
    margin-top: 24px;
  }

  .proof-inner {
    justify-content: flex-start;
  }

  .showcase-tabs {
    grid-template-columns: 1fr 1fr;
  }
}
