:root {
  color-scheme: light dark;
  --paper: #f4f0e7; --paper-raised: #fbf8f1; --ink: #182225; --muted: #627073;
  --line: #c9c5b9; --accent: #e8a51a; --accent-deep: #8e5800; --cool: #294c56;
  --shadow: 0 18px 50px rgb(24 34 37 / .12); --max: 1180px;
  font-family: "Aptos", "Segoe UI Variable Text", "Noto Sans SC", "Microsoft YaHei UI", sans-serif;
}
html[data-theme="dark"] {
  --paper: #12191b; --paper-raised: #192225; --ink: #eae7de; --muted: #a7b0af;
  --line: #3b4748; --accent: #f1b83f; --accent-deep: #ffd171; --cool: #9fc4ca;
  --shadow: 0 22px 70px rgb(0 0 0 / .34);
}
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] { --paper: #12191b; --paper-raised: #192225; --ink: #eae7de; --muted: #a7b0af; --line: #3b4748; --accent: #f1b83f; --accent-deep: #ffd171; --cool: #9fc4ca; --shadow: 0 22px 70px rgb(0 0 0 / .34); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.68; }
a { color: inherit; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--ink); background: color-mix(in srgb, var(--accent) 54%, transparent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { width: min(calc(100% - 40px), var(--max)); min-height: 84px; margin: 0 auto; display: grid; grid-template-columns: minmax(250px, 1fr) auto minmax(190px, 1fr); align-items: center; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; min-width: 0; }
.brand span, .footer-brand { font: 700 29px/1 "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", serif; letter-spacing: -.06em; }
.brand small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; letter-spacing: .02em; }
.site-header nav { display: flex; align-items: center; gap: 22px; }
.site-header nav { scrollbar-width: none; }
.site-header nav::-webkit-scrollbar { display: none; }
.site-header nav a, .language { position: relative; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 650; letter-spacing: .02em; white-space: nowrap; }
.site-header nav a::after { content: ""; position: absolute; inset: auto 0 -10px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-header nav a:hover::after, .site-header nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-header nav a[aria-current="page"] { color: var(--ink); }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 15px; }
.theme-toggle { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; transition: transform .2s ease, border-color .2s ease; }
.theme-toggle:hover { transform: rotate(20deg); border-color: var(--accent); }
main { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
main.narrow { width: min(calc(100% - 40px), 820px); }
.hero { min-height: 650px; padding: 112px 0 88px; display: grid; grid-template-columns: minmax(0, 850px) 190px; align-items: end; gap: 80px; }
.hero h1, .page-hero h1 { max-width: 900px; margin: 16px 0 28px; font: 600 clamp(3.2rem, 7vw, 6.9rem)/.96 "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", serif; letter-spacing: -.065em; text-wrap: balance; }
.eyebrow { margin: 0; color: var(--accent-deep); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lead { max-width: 710px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.65; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid var(--ink); border-radius: 3px; color: var(--paper); background: var(--ink); text-decoration: none; font-size: 13px; font-weight: 750; letter-spacing: .025em; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 5px 5px 0 var(--accent); }
.button.secondary { color: var(--ink); background: transparent; }
.button.unavailable { opacity: .56; cursor: not-allowed; box-shadow: none; transform: none; }
.placeholder-note { display: none; margin: 8px 0 0; color: var(--muted); font-size: 12px; }
body:has([data-placeholder-link]) .placeholder-note { display: block; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 25px; margin: 36px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.trust-row li::before { content: "✦"; margin-inline-end: 8px; color: var(--accent-deep); }
.hero-margin { align-self: stretch; border-left: 1px solid var(--line); padding: 26px 0 0 26px; display: flex; flex-direction: column; justify-content: space-between; }
.hero-margin span { color: var(--muted); font: 500 12px/1 monospace; }
.hero-margin p { margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); color: var(--muted); font: 600 14px/1.6 "Iowan Old Style", "Noto Serif SC", serif; letter-spacing: .08em; }
.demo-section, .scenes { padding: 110px 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: end; margin-bottom: 42px; }
.section-heading h2 { margin: 0; font: 600 clamp(2rem, 4.5vw, 4.8rem)/1.05 "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", serif; letter-spacing: -.05em; }
.demo-stage { position: relative; min-height: 530px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background-color: var(--paper-raised); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 36px 36px; box-shadow: var(--shadow); }
.demo-stage::before { content: "SHIFT"; position: absolute; top: 24px; left: 24px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: var(--paper-raised); font: 700 10px/1 monospace; letter-spacing: .1em; }
.demo-copy { position: relative; width: min(700px, 82%); min-height: 260px; padding: 44px; border-left: 4px solid var(--cool); background: var(--paper-raised); box-shadow: 0 12px 35px rgb(24 34 37 / .1); }
.demo-copy > p { max-width: 530px; margin: 0; font: 500 clamp(1.5rem, 3.2vw, 2.9rem)/1.35 "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", serif; }
.marker { background: linear-gradient(transparent 52%, color-mix(in srgb, var(--accent) 65%, transparent) 52% 88%, transparent 88%); }
.cursor { position: absolute; left: 47%; top: 52%; width: 18px; height: 24px; clip-path: polygon(0 0, 0 100%, 29% 69%, 51% 100%, 66% 91%, 46% 63%, 84% 62%); background: var(--ink); animation: cursorMove 4s ease-in-out infinite; }
.lookup-card { position: absolute; right: -8%; bottom: -40%; width: 285px; padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: 6px; background: var(--paper-raised); box-shadow: var(--shadow); animation: cardReveal 4s ease-in-out infinite; }
.lookup-card small { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.lookup-card strong { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; font: 700 24px/1.2 "Iowan Old Style", "Noto Serif SC", serif; }
.lookup-card strong span { color: var(--muted); font: 500 13px/1 sans-serif; }
.lookup-card p { margin: 9px 0 0; }
.demo-badge { position: absolute; left: 44px; bottom: 28px; color: var(--muted); font-size: 11px; }
.demo-video { width: 100%; height: 100%; max-height: 680px; object-fit: contain; background: #000; }
@keyframes cursorMove { 0%, 22% { transform: translate(130px, 38px); opacity: 0; } 35%, 82% { transform: translate(0); opacity: 1; } 100% { transform: translate(-12px, 4px); opacity: 0; } }
@keyframes cardReveal { 0%, 32% { opacity: 0; transform: translateY(12px) scale(.98); } 45%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(4px); } }
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.scene { min-height: 340px; padding: 28px 30px 32px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.scene:last-child { border-right: 0; }
.scene-number { color: var(--muted); font: 500 11px/1 monospace; }
.scene h3 { margin: auto 0 12px; font: 600 30px/1.1 "Iowan Old Style", "Noto Serif SC", serif; letter-spacing: -.03em; }
.scene p { min-height: 82px; margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.scene code { width: fit-content; padding: 5px 8px; color: var(--accent-deep); background: color-mix(in srgb, var(--accent) 13%, transparent); font-size: 11px; }
.principle { margin: 30px 0 110px; padding: 82px clamp(25px, 7vw, 90px); color: var(--paper); background: var(--ink); }
.principle p { color: var(--accent); font-size: 13px; }
.principle h2 { max-width: 800px; margin: 20px 0 38px; font: 500 clamp(2rem, 4.5vw, 4.2rem)/1.12 "Iowan Old Style", "Noto Serif SC", serif; letter-spacing: -.045em; }
.text-link { color: var(--paper); font-weight: 700; }
.page-hero { padding: 120px 0 75px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(3rem, 6.4vw, 6rem); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 70px 0 30px; }
.price-card { position: relative; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); background: var(--paper-raised); }
.price-card.pro { border-top: 5px solid var(--accent); }
.plan { color: var(--accent-deep); font: 800 12px/1 monospace; text-transform: uppercase; letter-spacing: .15em; }
.recommended { float: right; padding: 4px 8px; border-radius: 99px; color: var(--accent-deep); background: color-mix(in srgb, var(--accent) 18%, transparent); font-size: 11px; font-weight: 750; }
.price-card h2 { margin: 40px 0 15px; font: 600 clamp(2.4rem, 4vw, 4.2rem)/1 "Iowan Old Style", "Noto Serif SC", serif; letter-spacing: -.05em; }
.price-card > p { color: var(--muted); }
.price-card ul { margin: 35px 0; padding: 0; list-style: none; }
.price-card li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.price-card li::before { content: "✓"; margin-inline-end: 11px; color: var(--accent-deep); font-weight: 800; }
.price-pair { margin: 34px 0 22px; }
.price-pair p { margin: 9px 0; color: var(--muted); }
.price-pair strong { margin-inline-end: 6px; color: var(--ink); font: 600 35px/1 "Iowan Old Style", serif; }
.price-pair small { display: block; margin-top: 4px; }
.fine-print { margin: 20px 0 100px; color: var(--muted); font-size: 12px; }
.faq-list { width: min(900px, 100%); margin: 60px auto 110px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 50px 1fr; align-items: center; padding: 26px 0; cursor: pointer; list-style: none; font: 600 clamp(1.2rem, 2vw, 1.7rem)/1.3 "Iowan Old Style", "Noto Serif SC", serif; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; grid-column: 3; font: 400 24px/1 sans-serif; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary span { color: var(--muted); font: 500 11px/1 monospace; }
.faq-list details p { max-width: 720px; margin: -5px 0 30px 50px; color: var(--muted); }
.policy-note { max-width: 760px; margin-top: 40px; padding: 18px 22px; border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--paper-raised)); }
.policy-note strong { color: var(--accent-deep); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.policy-note p { margin: 5px 0 0; color: var(--muted); }
.legal-copy { width: min(820px, 100%); margin: 70px auto 110px; }
.legal-copy section { display: grid; grid-template-columns: 220px 1fr; gap: 45px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.legal-copy h2 { margin: 0; font: 650 19px/1.35 "Iowan Old Style", "Noto Serif SC", serif; }
.legal-copy section p { margin: 0 0 14px; color: var(--muted); }
.legal-copy footer { margin-top: 38px; color: var(--muted); font-size: 13px; }
.attribution-list { margin: 65px 0 110px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.attribution-list article { min-height: 260px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.attribution-list article:nth-child(2n) { border-right: 0; }
.attribution-list h2 { margin: 0 0 40px; font: 600 26px/1.2 "Iowan Old Style", "Noto Serif SC", serif; }
.attribution-list p { color: var(--muted); font-size: 14px; }
.attribution-list a { color: var(--cool); font-size: 13px; font-weight: 700; }
.feedback-form { margin: 55px 0 110px; }
.feedback-form fieldset { margin: 0; padding: 0; border: 0; }
.reason-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reason-grid label { cursor: pointer; }
.reason-grid input { position: absolute; opacity: 0; }
.reason-grid span { display: block; min-height: 58px; padding: 15px 17px; border: 1px solid var(--line); background: var(--paper-raised); transition: border-color .15s ease, background .15s ease; }
.reason-grid input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 2px; }
.reason-grid input:checked + span { border-color: var(--accent-deep); background: color-mix(in srgb, var(--accent) 15%, var(--paper-raised)); }
.reason-grid input:checked + span::before { content: "✓"; margin-inline-end: 10px; color: var(--accent-deep); font-weight: 800; }
.comment-label { display: block; margin-top: 32px; font-weight: 700; }
.comment-label textarea { display: block; width: 100%; margin-top: 10px; resize: vertical; padding: 15px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--paper-raised); font-weight: 400; }
.comment-label textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); border-color: var(--accent-deep); }
.honeypot { position: absolute; left: -9999px; }
.form-footer { display: flex; align-items: center; gap: 20px; margin-top: 25px; }
.form-status { margin: 0; color: var(--muted); }
.form-status.success { color: #27805d; }
.form-status.error { color: #b84b40; }
.privacy-note { color: var(--muted); font-size: 12px; }
.welcome-hero { border: 0; text-align: center; }
.welcome-hero .lead { margin-inline: auto; }
.welcome-steps { margin: 48px auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; counter-reset: step; text-align: left; }
.welcome-steps li { padding: 22px; border: 1px solid var(--line); border-right: 0; counter-increment: step; }
.welcome-steps li:last-child { border-right: 1px solid var(--line); }
.welcome-steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 22px; color: var(--accent-deep); font: 700 11px/1 monospace; }
.site-footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 50px 0 35px; display: grid; grid-template-columns: 1fr auto; gap: 20px 80px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer p { margin: 7px 0; font-size: 12px; }
.footer-brand { color: var(--ink); text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 15px 22px; font-size: 12px; }
.copyright { grid-column: 1 / -1; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
@media (max-width: 930px) {
  .site-header { grid-template-columns: 1fr auto; padding: 15px 0; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; padding: 5px 0 9px; }
  .hero { min-height: auto; padding: 85px 0; grid-template-columns: 1fr; }
  .hero-margin { display: none; }
  .scene-grid { grid-template-columns: 1fr; }
  .scene { min-height: 280px; border-right: 0; border-bottom: 1px solid var(--line); }
  .scene:last-child { border-bottom: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .site-header, main, .site-footer { width: min(calc(100% - 28px), var(--max)); }
  .brand small { display: none; }
  .site-header nav { gap: 18px; }
  .language { font-size: 12px; }
  .hero { padding: 68px 0 62px; }
  .hero h1, .page-hero h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .section-heading { grid-template-columns: 1fr; }
  .demo-section, .scenes { padding: 75px 0; }
  .demo-stage { min-height: 470px; }
  .demo-copy { width: 86%; min-height: 300px; padding: 30px 24px; }
  .lookup-card { width: 245px; right: -4%; bottom: -30%; }
  .principle { margin-bottom: 80px; }
  .page-hero { padding: 75px 0 55px; }
  .legal-copy section { grid-template-columns: 1fr; gap: 12px; }
  .attribution-list { grid-template-columns: 1fr; }
  .attribution-list article { border-right: 0; }
  .reason-grid { grid-template-columns: 1fr; }
  .welcome-steps { grid-template-columns: 1fr; }
  .welcome-steps li { border-right: 1px solid var(--line); border-bottom: 0; }
  .welcome-steps li:last-child { border-bottom: 1px solid var(--line); }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; }
}
