/* built by build.py from index.html and src/pages.css: edit those */
@font-face { font-family: 'Space Grotesk'; src: url('/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/geist-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --paper: #f8f7f3; --paper-2: #f1eee5; --card: #fffefa; --ink: #1c1a14; --ink-2: #4f4a3d; --ink-3: #6e6757;
  --gold: #a8841c; --gold-d: #7c6110; --gold-l: #e8cf7a; --line: rgba(28,26,20,.1);
  --r: 22px; --shadow: 0 30px 60px -32px rgba(60,44,6,.38), 0 0 0 1px rgba(28,26,20,.07);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.65 'Geist', ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
h1, h2, h3 { font-family: 'Space Grotesk', ui-sans-serif, sans-serif; letter-spacing: -.035em; line-height: 1.04; font-weight: 700; text-wrap: balance; }
.gold { color: var(--gold); }
.fw { display: inline-block; width: .6em; height: .6em; vertical-align: middle; transform-box: border-box; transform-origin: 50% 50%; filter: drop-shadow(0 .06em .06em rgba(80,58,6,.35)); }
.fw.spin { animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 24px; font: 600 15.5px 'Geist', sans-serif; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-ink { background: var(--ink); color: #fff8e6; }
.btn-ink:hover { background: #2c2920; transform: translateY(-1px); }
.btn-line { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(28,26,20,.16); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px rgba(28,26,20,.32); }

/* Mac + web */
.apps-sec { padding: 96px 0; border-top: 1px solid var(--line); }
.center-head { max-width: 720px; margin: 0 auto; text-align: center; }
.center-head h2 { margin-top: 14px; font-size: clamp(32px, 4.4vw, 52px); }
.center-head p { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.center-head .num { justify-content: center; }
.apps { margin: 44px auto 0; display: grid; grid-template-columns: 1fr; max-width: 560px; gap: 20px; }
.app { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 32px; display: flex; flex-direction: column; }
.app h3 { font-size: 28px; }
.app p { margin-top: 10px; color: var(--ink-2); }
.app .btn { margin-top: 26px; align-self: flex-start; }
.app .soon { margin-top: 12px; font-size: 14px; color: var(--ink-3); }

/* faq */
.faq-sec { padding: 96px 0; border-top: 1px solid var(--line); }
.faq { margin: 40px auto 0; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; font: 600 19px 'Space Grotesk', sans-serif; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 26px/1 'Geist', sans-serif; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--ink-2); max-width: 720px; }


/* ---- header and footer in the rhfardin.com style ---- */
.ic { width: 18px; height: 18px; flex: none; }
.nav { position: fixed; top: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 50; width: calc(100% - 2rem); max-width: 1180px; pointer-events: none; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; pointer-events: auto; padding: .5rem .5rem .5rem 1rem; border-radius: 999px; border: 1px solid transparent; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.nav.scrolled .nav-inner { background: rgba(255, 254, 250, .66); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-color: rgba(255, 255, 255, .7); box-shadow: 0 8px 30px rgba(28, 26, 20, .08); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-tile { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: var(--gold-l); display: grid; place-items: center; font: 700 12px 'Geist Mono', monospace; }
.logo-text { font: 600 19px 'Space Grotesk', sans-serif; letter-spacing: -.02em; }
.nav-right { display: flex; align-items: center; gap: .65rem; }
.btn-talk { display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1.1rem .7rem 1.3rem; border-radius: 999px; background: var(--ink); color: #fff8e6; font: 500 15px 'Geist', sans-serif; text-decoration: none; transition: transform .18s, background .18s, box-shadow .18s; }
.btn-talk .ic { width: 15px; height: 15px; transition: transform .18s; }
.btn-talk:hover { transform: translateY(-2px); background: #2c2920; box-shadow: 0 14px 30px -12px rgba(28, 26, 20, .45); }
.btn-talk:hover .ic { transform: translate(2px, -2px); }
.menu-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fffefa; border: 1px solid var(--line); box-shadow: 0 6px 18px -8px rgba(28, 26, 20, .25); color: var(--ink); cursor: pointer; transition: transform .18s; }
.menu-btn:hover { transform: translateY(-2px); }
.menu-btn .ic:last-child { display: none; }
body.menu-open .menu-btn .ic:first-child { display: none; }
body.menu-open .menu-btn .ic:last-child { display: block; }
.overlay { position: fixed; inset: 0; z-index: 45; background: var(--paper); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
body.menu-open { overflow: hidden; }
body.menu-open .overlay { opacity: 1; pointer-events: auto; }
body.menu-open .nav-inner { background: transparent; box-shadow: none; border-color: transparent; }
.overlay-inner { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 100px 20px 40px; }
.overlay-links { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.overlay-links a { font: italic 500 clamp(40px, 7vw, 72px)/1.08 'Space Grotesk', sans-serif; letter-spacing: -.035em; color: var(--ink); text-decoration: none; transition: color .18s, transform .18s; }
.overlay-links a:hover { color: var(--gold); transform: translateX(6px); }
.overlay-foot { display: flex; gap: 22px; font-size: 15px; color: var(--ink-3); }
.overlay-foot a { color: inherit; text-decoration: none; }
.overlay-foot a:hover { color: var(--gold-d); }

.footer { position: relative; overflow: hidden; margin-top: 2rem; border-top: 1px solid var(--line); }
.footer-cta { position: relative; max-width: 1180px; margin: 0 auto; padding: 5rem 24px 4.5rem; }
.footer-cta-inner { display: grid; grid-template-columns: 1.4fr auto; gap: 3rem; align-items: center; }
.footer-hook { font: 500 clamp(40px, 5.6vw, 76px)/1.02 'Space Grotesk', sans-serif; letter-spacing: -.04em; color: var(--ink); margin-bottom: 1rem; }
.footer-hook em { color: var(--gold); font-style: italic; font-weight: 500; }
.footer-hook-sub { font-size: 17px; color: var(--ink-2); max-width: 480px; line-height: 1.55; }
.btn-cta { display: inline-flex; align-items: center; gap: .7rem; padding: 1.2rem 2.2rem 1.2rem 1.2rem; background: var(--ink); color: #fff8e6; border-radius: 999px; font: 500 17px 'Geist', sans-serif; text-decoration: none; white-space: nowrap; box-shadow: 0 14px 36px -10px rgba(28, 26, 20, .35), 0 0 0 6px rgba(168, 132, 28, .08); transition: transform .18s, box-shadow .18s, background .18s; }
.btn-cta .ic { width: 18px; height: 18px; padding: 6px; box-sizing: content-box; border-radius: 50%; background: #fffefa; color: var(--ink); transition: transform .18s; }
.btn-cta:hover { transform: translateY(-3px); background: #2c2920; box-shadow: 0 18px 44px -10px rgba(168, 132, 28, .45), 0 0 0 8px rgba(168, 132, 28, .14); }
.btn-cta:hover .ic { transform: translateX(2px); }
.footer-spark { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1; }
.spark-large { top: 18%; right: 22%; width: 10px; height: 10px; background: var(--gold); box-shadow: 0 0 30px var(--gold), 0 0 60px rgba(232, 207, 122, .7); animation: spark 5s ease-in-out infinite; }
.spark-small { top: 68%; left: 40%; width: 6px; height: 6px; background: var(--gold-l); box-shadow: 0 0 18px rgba(232, 207, 122, .8); animation: spark 7s ease-in-out infinite 2s; }
@keyframes spark { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
.footer-divider { height: 1px; margin: 0 24px; background: linear-gradient(90deg, transparent 0%, var(--line) 25%, var(--gold) 50%, var(--line) 75%, transparent 100%); opacity: .7; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3.5rem; max-width: 1180px; margin: 0 auto; padding: 3.5rem 24px 3rem; position: relative; z-index: 2; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-text { font-size: 26px; }
.footer-bio { font-size: 15px; color: var(--ink-2); line-height: 1.55; max-width: 360px; }
.footer-label { font: 600 12px 'Geist', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.3rem; }
.footer-col ul { list-style: none; display: grid; gap: .7rem; }
.footer-col li a { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .18s; }
.footer-col li a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--gold); transition: width .18s; }
.footer-col li a:hover { color: var(--gold-d); }
.footer-col li a:hover::after { width: 100%; }
.footer-col .with-ic .ic { width: 15px; height: 15px; }
.footer-watermark { position: absolute; left: 50%; bottom: 4.5rem; transform: translateX(-50%); font: italic 500 clamp(110px, 20vw, 300px)/1 'Space Grotesk', sans-serif; letter-spacing: -.05em; color: var(--gold); opacity: .07; pointer-events: none; user-select: none; z-index: 1; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; max-width: 1180px; margin: 0 auto; padding: 1.75rem 24px 2rem; font-size: 14px; color: var(--ink-3); position: relative; z-index: 2; }
.footer-bottom::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: linear-gradient(90deg, transparent 0%, var(--line) 30%, var(--line) 70%, transparent 100%); }
.socials { display: flex; gap: 10px; }
.social { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fffefa; border: 1px solid var(--line); color: var(--ink-2); transition: transform .18s, color .18s, border-color .18s; }
.social:hover { transform: translateY(-3px); color: var(--gold-d); border-color: rgba(168, 132, 28, .5); }
.to-top { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink-2); padding: .5rem .95rem; background: #fffefa; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 14px; text-decoration: none; transition: color .18s, border-color .18s, transform .18s; }
.to-top .ic { width: 14px; height: 14px; }
.to-top:hover { color: var(--gold-d); border-color: var(--gold); transform: translateY(-2px); }

/* ---- phones ---- */
@media (max-width: 960px) {
  .footer-cta-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}
@media (max-width: 640px) {
  .nav { top: .75rem; width: calc(100% - 1rem); }
  .nav-inner { padding: .4rem .4rem .4rem .8rem; }
  .btn-talk { padding: .62rem .95rem; font-size: 14px; }
  .menu-btn { width: 42px; height: 42px; }
  .hero { padding-top: 104px !important; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 44px); }
  .copy h2, .center-head h2 { font-size: 30px; }
  .ap-head h2 { font-size: 36px; }
  .copy p, .ap-head p { font-size: 17px; }
  .footer-cta { padding: 4rem 20px 3rem; }
  .footer-hook { font-size: clamp(36px, 11vw, 48px); }
  .btn-cta { justify-content: center; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; padding: 2.5rem 20px; }
  .footer-brand, .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-watermark { font-size: 30vw; bottom: 7rem; }
  .toc { display: none; }
}
@media (max-width: 400px) { .btn-talk span { display: none; } .btn-talk { width: 42px; height: 42px; padding: 0; justify-content: center; } }

/* desktop: the sections sit in the middle of the header; the menu button is for phones */
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.nav-right { justify-self: end; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: .55rem .95rem; border-radius: 999px; font: 500 14.5px 'Geist', sans-serif; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: background .18s, color .18s; }
.nav-links a:hover { color: var(--ink); background: rgba(168, 132, 28, .12); }
.nav-links a.on { color: var(--ink); background: rgba(168, 132, 28, .16); }
@media (min-width: 1061px) { .menu-btn { display: none; } }
@media (max-width: 1060px) { .nav-links { display: none; } .nav-inner { display: flex; } }

.btn-mac { height: 56px; padding: 0 30px 0 24px; font-size: 16.5px; gap: 12px; box-shadow: 0 16px 34px -14px rgba(28, 26, 20, .5), 0 0 0 6px rgba(168, 132, 28, .1); }
.btn-mac .apple { width: 19px; height: 19px; margin-top: -3px; }
.ctas .btn-line { height: 56px; padding: 0 28px; font-size: 16px; }
.account-link { font-size: 13px; font-weight: 600; white-space: nowrap; }
@media (max-width: 680px) { .nav-right > .account-link { display: none; } }

/* pricing */
.app .price { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; }
.app .price b { font: 700 52px/1 'Space Grotesk', sans-serif; letter-spacing: -.04em; color: var(--ink); }
.app .price span { font-size: 16px; color: var(--ink-3); }
.app .incl { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.app .incl li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.ck { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.app-buy { box-shadow: 0 0 0 2px rgba(168, 132, 28, .45), var(--shadow); }
.app .btn-line { margin-top: auto; }
.app .incl + .btn-line { margin-top: 26px; }

/* ---- inner pages ---- */
.page-hero { position: relative; padding: 150px 0 40px; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; left: 50%; top: -420px; width: 1000px; height: 820px; margin-left: -500px; background: radial-gradient(circle, rgba(232,207,122,.42) 0%, rgba(232,207,122,0) 62%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; text-align: center; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.08; }
.page-hero .lede { margin: 22px auto 0; max-width: 640px; font-size: clamp(17px, 2vw, 19.5px); color: var(--ink-2); text-wrap: pretty; }
.stamp { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 6px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font: 500 13.5px 'Geist Mono', monospace; color: var(--ink-3); }

/* the Mac license, front and centre */
.mac-card { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; margin: 36px auto 0; max-width: 1040px; padding: 44px; border-radius: 28px; background: var(--ink); color: #f3ecd8; overflow: hidden; box-shadow: 0 50px 100px -50px rgba(60,44,6,.6); }
.mac-card::before { content: ''; position: absolute; right: -260px; top: -300px; width: 760px; height: 760px; background: radial-gradient(circle, rgba(232,207,122,.26) 0%, rgba(232,207,122,0) 62%); pointer-events: none; }
.mac-card > * { position: relative; }
.mac-card h2 { font-size: clamp(28px, 3vw, 38px); color: #fff8e6; }
.mac-card .price { margin-top: 16px; display: flex; align-items: baseline; gap: 12px; }
.mac-card .price b { font: 700 clamp(56px, 7vw, 84px)/1 'Space Grotesk', sans-serif; letter-spacing: -.045em; color: var(--gold-l); }
.mac-card .price span { font-size: 17px; color: #c7bea6; }
.mac-card .incl { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.mac-card .incl li { display: flex; gap: 12px; align-items: flex-start; color: #e6dcc2; }
.mac-card .ck { color: var(--gold-l); }
.mac-buy { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 30px; border-radius: 22px; background: rgba(255,248,230,.06); border: 1px solid rgba(255,248,230,.12); }
.mac-buy .btn-mac { background: var(--gold-l); color: var(--ink); box-shadow: 0 18px 40px -16px rgba(232,207,122,.7), 0 0 0 6px rgba(232,207,122,.14); }
.mac-buy .btn-mac:hover { background: #f1dc93; }
.mac-buy .meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mac-buy .meta span { padding: 5px 12px; border-radius: 999px; background: rgba(255,248,230,.08); font-size: 13.5px; color: #d8cfb6; }

/* monthly plans */
.plans-sec { padding: 104px 0 24px; }
.seg { display: inline-flex; margin: 28px auto 0; padding: 5px; gap: 4px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 14.5px 'Geist', sans-serif; cursor: pointer; transition: background .18s, color .18s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff8e6; }
.seg button em { font-style: normal; color: var(--gold); margin-left: 6px; }
.seg button[aria-pressed="true"] em { color: var(--gold-l); }
.seg-row { text-align: center; }
.plans { margin: 36px auto 0; max-width: 1040px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { display: flex; flex-direction: column; padding: 30px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.plan h3 { font-size: 24px; letter-spacing: -.02em; }
.plan .amt { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.plan .amt b { font: 700 46px/1 'Space Grotesk', sans-serif; letter-spacing: -.04em; }
.plan .amt span { color: var(--ink-3); font-size: 15.5px; }
.plan .per { margin-top: 6px; min-height: 22px; font-size: 14px; color: var(--ink-3); }
.plan .credits { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--paper-2); font-weight: 500; }
.plan .credits b { font: 600 20px 'Space Grotesk', sans-serif; }
.plan .btn { margin-top: 24px; }
.plan .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.plans-foot { margin: 22px auto 0; max-width: 1040px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.plans-foot span { padding: 6px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink-2); }

/* questions */
.qa-sec { padding: 96px 0; }
.qa-sec + .qa-sec { padding-top: 0; }

/* legal pages: contents on the left, the text on the right */
.doc { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 72px; justify-content: center; padding: 24px 0 110px; }
.doc-toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 2px; }
.doc-toc a { padding: 8px 14px; border-radius: 12px; font-size: 14.5px; color: var(--ink-3); text-decoration: none; transition: background .18s, color .18s; }
.doc-toc a:hover { color: var(--ink); background: rgba(168,132,28,.1); }
.doc-toc a.on { color: var(--ink); background: rgba(168,132,28,.16); }
.doc-body section { padding: 30px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.doc-body section:first-child { border-top: 0; padding-top: 0; }
.doc-body h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.025em; line-height: 1.2; }
.doc-body h2 i { font: 600 13px 'Geist Mono', monospace; font-style: normal; color: var(--gold-d); letter-spacing: .06em; flex: none; }
.doc-body p, .doc-body li { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.doc-body ul { padding-left: 20px; }
.doc-body li::marker { color: var(--gold); }
.doc-body b { color: var(--ink); font-weight: 600; }
.doc-body a { color: var(--gold-d); text-underline-offset: 3px; }
.doc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 34px; }
.doc-cards div { padding: 22px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.doc-cards b { display: block; font: 600 18px 'Space Grotesk', sans-serif; letter-spacing: -.01em; color: var(--ink); }
.doc-cards span { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-2); }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 150px 0 60px; }
.lost h1 { font-size: clamp(44px, 6vw, 76px); }
.lost .ctas { margin-top: 30px; }

@media (max-width: 960px) {
  .mac-card { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .doc { grid-template-columns: 1fr; gap: 0; }
  .doc-toc { display: none; }
}
@media (max-width: 640px) {
  .page-hero { padding: 116px 0 28px; }
  .page-hero h1 { font-size: clamp(36px, 10.5vw, 46px); }
  .mac-card { padding: 26px 22px; border-radius: 22px; }
  .mac-buy { padding: 22px; }
  .plans-sec, .qa-sec { padding: 72px 0 16px; }
  .doc-cards { grid-template-columns: 1fr; }
  .btn-mac { padding: 0 22px 0 18px; }
}

/* thank-you page after paying */
.thanks .steps { list-style: none; counter-reset: s; margin: 30px auto 0; max-width: 460px; display: grid; gap: 10px; text-align: left; }
.thanks .steps li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; padding: 14px 18px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); color: var(--ink-2); }
.thanks .steps li::before { content: counter(s); font: 600 13px 'Geist Mono', monospace; color: var(--gold-d); }
.thanks .fine { margin-top: 22px; font-size: 14.5px; color: var(--ink-3); }
.thanks .fine a { color: var(--gold-d); }
.thanks .bar { margin: 26px auto 0; width: 220px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.thanks .bar i { display: block; width: 40%; height: 100%; border-radius: 4px; background: var(--gold); animation: thanks-bar 1.2s ease-in-out infinite; }
@keyframes thanks-bar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) { .thanks .bar i { animation: none; width: 100%; } }

/* list articles (Descript alternatives) */
.art-hero { padding-bottom: 20px; }
.art-hero h1 { font-size: clamp(36px, 4.6vw, 58px); }
.art.doc { grid-template-columns: minmax(0, 760px); justify-content: center; gap: 0; }
.art-by { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; text-align: left; color: var(--ink-2); font-size: 15px; line-height: 1.35; }
.art-by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.art-by b { display: block; color: var(--ink); font-weight: 600; }
.art-cover { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); }
.art-intro { margin-top: 32px; }
.art-pick { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; margin-top: 30px; padding: 20px 22px; border-radius: 20px; background: rgba(232,207,122,.2); box-shadow: inset 0 0 0 1.5px var(--gold); }
.art-pick > img { width: 64px; height: 64px; border-radius: 16px; }
.art-pick b { font: 700 21px 'Space Grotesk', sans-serif; letter-spacing: -.02em; }
.doc-body .art-pick p { margin-top: 4px; font-size: 15.5px; line-height: 1.45; }
.art-pick .btn { white-space: nowrap; color: #fff8e6; }
.art .lg { display: inline-block; width: 24px; height: 24px; margin-right: 9px; border-radius: 6px; vertical-align: -6px; object-fit: cover; }
.art h2.tool { display: flex; align-items: center; gap: 12px; }
.art h2.tool .lg { width: 40px; height: 40px; margin: 0; border-radius: 10px; flex: none; }
.art-quick { margin-top: 30px; padding: 20px 24px; border-radius: 20px; background: rgba(232,207,122,.2); box-shadow: inset 0 0 0 1.5px var(--gold); }
.doc-body .art-quick .k { margin: 0; font: 600 12px 'Geist Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.doc-body .art-quick p { margin-top: 10px; font-size: 16px; line-height: 1.6; }
.vs-bar:has(.l:not(:empty)) { grid-template-columns: minmax(150px, 210px) 1fr 72px; }
@media (max-width: 600px) { .vs-bar:has(.l:not(:empty)) { grid-template-columns: 1fr 64px; } .vs-bar .t { grid-column: 1 / -1; grid-row: 2; } }
.art-stats { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.art-stats > div { padding: 18px 18px 16px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.art-stats b { display: block; font: 700 34px/1 'Space Grotesk', sans-serif; letter-spacing: -.03em; color: var(--gold-d); }
.doc-body .art-stats p { margin-top: 8px; font-size: 14.5px; line-height: 1.45; }
@media (max-width: 700px) { .art-stats { grid-template-columns: 1fr; } }
.art-how { margin-top: 22px; padding: 18px 22px; border-radius: 16px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.doc-body .art-how .k { margin: 0; font: 600 12px 'Geist Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.doc-body .art-how p, .doc-body .art-how li { margin-top: 8px; font-size: 15px; line-height: 1.6; }
.art-cta .btn.btn-line { color: var(--ink); background: var(--card); }
.art-cta .btn { vertical-align: middle; }
.art-shot { display: block; width: 100%; height: auto; margin-top: 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line), 0 12px 30px -18px rgba(40,30,8,.4); }
.art-author { display: grid; grid-template-columns: 96px 1fr; gap: 20px; margin-top: 52px; padding: 24px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.art-author > img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.doc-body .art-author h2 { margin-top: 2px; font-size: 24px; }
.doc-body .art-author p { margin-top: 8px; font-size: 16px; }
.doc-body .art-author .k { margin: 0; font: 600 12px 'Geist Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.art-author .links { display: flex; gap: 16px; font-weight: 600; }
.art-src { margin-top: 28px; font-size: 15px; color: var(--ink-3); }
.art-src summary { cursor: pointer; font-weight: 600; }
.art .doc-toc { max-height: calc(100vh - 130px); overflow-y: auto; }
.art .doc-toc a { padding: 6px 12px; font-size: 14px; }
.art-intro p:first-child { font-size: 20px; color: var(--ink); }
.art .doc-body h3 { margin-top: 30px; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.art .doc-body ol { list-style: none; }
.art-scroll { margin-top: 18px; overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.art-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.art-table th, .art-table td { padding: 11px 13px; text-align: left; vertical-align: top; color: var(--ink-2); }
.art-table thead th { font: 600 12px 'Geist Mono', monospace; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2); }
.art-table tbody tr { border-top: 1px solid var(--line); }
.art-table tbody th { font-weight: 600; color: var(--ink); }
.art-table tbody tr:first-child { background: rgba(232,207,122,.16); }
.art-pc { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.art-pc > div { padding: 16px 20px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.art-pc b { font: 600 16px 'Space Grotesk', sans-serif; }
.art-pc ul { margin-top: 2px; padding-left: 18px; }
.art-pc li { margin-top: 8px; font-size: 15.5px; line-height: 1.5; }
.art-cta { text-align: center; }
.art-cta .btn { margin-top: 10px; color: #fff8e6; }
.art-src li { margin-top: 6px; font-size: 15.5px; }
.art .faq { margin-top: 10px; }
.art .faq details p { margin-top: 10px; }
.vs-shot { position: relative; margin-top: 20px; border-radius: 18px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); aspect-ratio: 1280 / 800; }
.vs-shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.vs-bars { margin-top: 20px; display: grid; gap: 14px; }
.vs-bar { display: grid; grid-template-columns: 150px 1fr 72px; gap: 14px; align-items: center; }
.vs-bar .l { font-weight: 500; font-size: 15.5px; color: var(--ink-2); }
.vs-bar .t { height: 24px; border-radius: 8px; background: var(--paper-2); overflow: hidden; }
.vs-bar .t i { display: block; height: 100%; min-width: 8px; border-radius: 8px; background: rgba(28,26,20,.28); }
.vs-bar b { font: 700 20px 'Space Grotesk', sans-serif; letter-spacing: -.02em; text-align: right; }
.vs-bar.us .l { color: var(--ink); font-weight: 600; }
.vs-bar.us .t i { background: var(--gold); }
.vs-bar.us b { color: var(--gold-d); }
.doc-body .vs-cap, .vs-cap { margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--ink-3); text-wrap: pretty; }

.vs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vs-table { margin-top: 18px; width: 100%; border-collapse: collapse; font-size: 15px; }
.vs-table thead th { padding: 10px 14px; box-shadow: inset 0 -2px 0 var(--ink); font: 700 17px 'Space Grotesk', sans-serif; letter-spacing: -.02em; text-align: left; }
.vs-table thead th:nth-child(2) { color: var(--gold-d); }
.vs-table thead td { box-shadow: inset 0 -2px 0 var(--ink); }
.vs-table tbody tr { border-top: 1px solid var(--line); }
.vs-table tbody th[scope="row"] { width: 30%; padding: 11px 14px 11px 0; font-weight: 500; text-align: left; }
.vs-table td { width: 35%; padding: 11px 14px; color: var(--ink-2); vertical-align: top; }
.vs-table tbody td:nth-of-type(1) { background: rgba(232,207,122,.14); color: var(--ink); }
.vs-table i { display: inline-block; width: 15px; height: 15px; margin-right: 8px; vertical-align: -2px; background: var(--gold-d); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.vs-table i.y { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.vs-table i.n { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); background: var(--ink-3); }

.vs-steps { counter-reset: s; margin-top: 18px; display: grid; gap: 18px; padding: 0; }
.doc-body .vs-steps li { counter-increment: s; margin-top: 0; border-top: 2px solid var(--gold); padding-top: 12px; }
.vs-steps b { display: block; font: 600 19px 'Space Grotesk', sans-serif; letter-spacing: -.01em; }
.vs-steps b::before { content: counter(s, decimal-leading-zero) '  '; font: 600 13px 'Geist Mono', monospace; color: var(--gold-d); letter-spacing: .08em; }
.doc-body .vs-steps p { margin-top: 6px; }

.vs-buy { padding: 12px 0 88px; }

@media (max-width: 960px) { .art.doc { grid-template-columns: minmax(0, 1fr); gap: 0; } }
@media (max-width: 640px) {
  .art-pick { grid-template-columns: 52px 1fr; }
  .art-pick > img { width: 52px; height: 52px; }
  .art-pick .btn { grid-column: 1 / -1; justify-content: center; }
  .art-author { grid-template-columns: 1fr; }
  .vs-bar { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .vs-bar b { grid-column: 2; grid-row: 1; }
  .vs-bar .t { grid-column: 1 / -1; height: 20px; }
  /* the table becomes one card per row: the feature, then the two answers side by side */
  .vs-table, .vs-table tbody, .vs-table tr, .vs-table th, .vs-table td { display: block; width: auto; }
  .vs-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .vs-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; }
  .vs-table tbody th[scope="row"] { grid-column: 1 / -1; width: auto; padding: 12px 0 6px; }
  .vs-table td { padding: 8px 10px 12px; font-size: 14.5px; }
  .vs-table td::before { display: block; margin-bottom: 2px; font: 600 11px 'Geist Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
  .vs-table tbody td:nth-of-type(1)::before { content: 'EditnShip'; color: var(--gold-d); }
  .vs-table tbody td:nth-of-type(2)::before { content: 'Descript'; }
}

/* pricing: the Mac app and the monthly plans in one row (2026-11) */
.price-hero { padding-bottom: 8px; }
.all-prices .seg { margin-top: 10px; }
.price-grid { margin: 30px auto 0; max-width: 1200px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.pcard { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.pcard h2 { font-size: 24px; letter-spacing: -.02em; margin-top: 6px; }
.pcard-tag { align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: var(--paper-2); font: 600 12px 'Geist Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.pcard .amt { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; }
.pcard .amt b { font: 700 46px/1 'Space Grotesk', sans-serif; letter-spacing: -.04em; }
.pcard .amt span { color: var(--ink-3); font-size: 15px; }
.pcard .per { margin-top: 8px; min-height: 22px; font-size: 14.5px; font-weight: 600; color: var(--gold-d); }
.pcard .credits { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--paper-2); font-weight: 500; font-size: 15px; }
.pcard .credits b { font: 600 19px 'Space Grotesk', sans-serif; }
.pcard .incl { list-style: none; margin: 18px 0 22px; display: grid; gap: 10px; font-size: 14.5px; }
.pcard .incl li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.pcard .incl .ck { width: 16px; height: 16px; }
.pcard .btn { margin-top: auto; width: 100%; }
.pcard .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.pcard-note { margin-top: 10px; text-align: center; font-size: 13px; color: var(--ink-3); }
.pcard-pick { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.pcard-pick .pcard-tag { background: var(--gold); color: #fffaf0; }
.btn-gold { background: var(--gold); color: #fffaf0; box-shadow: 0 16px 34px -16px rgba(168,132,28,.8); }
.btn-gold:hover { background: #b8922a; transform: translateY(-1px); }
/* the Mac app: dark, paid once */
.pcard-mac { background: var(--ink); color: #f3ecd8; box-shadow: 0 40px 80px -44px rgba(60,44,6,.65); overflow: hidden; }
.pcard-mac::before { content: ''; position: absolute; right: -180px; top: -200px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(232,207,122,.24) 0%, rgba(232,207,122,0) 62%); pointer-events: none; }
.pcard-mac > * { position: relative; }
.pcard-mac h2 { color: #fff8e6; }
.pcard-mac .pcard-tag { background: rgba(255,248,230,.1); color: var(--gold-l); }
.pcard-mac .amt b { color: var(--gold-l); }
.pcard-mac .amt span, .pcard-mac .pcard-note { color: #c7bea6; }
.pcard-mac .per { color: #e6dcc2; font-weight: 500; }
.pcard-mac .credits { background: rgba(255,248,230,.08); color: #e6dcc2; }
.pcard-mac .incl li { color: #e6dcc2; }
.pcard-mac .ck { color: var(--gold-l); }
.pcard-mac .btn-mac { height: 48px; padding: 0 20px; font-size: 15.5px; background: var(--gold-l); color: var(--ink); box-shadow: 0 16px 34px -16px rgba(232,207,122,.7); }
.pcard-mac .btn-mac:hover { background: #f1dc93; }
.all-prices .plans-foot { max-width: 1200px; }
/* side by side */
.compare-sec { padding: 88px 0 0; }
.compare-scroll { overflow-x: auto; }
.compare { max-width: 1000px; margin-top: 32px; }
.compare th:nth-child(3) { color: var(--gold-d); }
.compare td:nth-child(3) { background: rgba(168,132,28,.06); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1100px) { .price-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; } }
@media (max-width: 640px) {
  .price-grid { grid-template-columns: 1fr; max-width: 460px; }
  .compare-sec { padding-top: 64px; }
  .compare { min-width: 560px; }
}
.compare { width: 100%; margin: 32px auto 0; border-collapse: collapse; font-size: 15.5px; }
.compare th { padding: 0 12px 14px; font: 600 13px 'Geist', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.compare td { padding: 15px 12px; border-top: 1px solid var(--line); color: var(--ink-2); text-align: center; }
.compare td:first-child { text-align: left; color: var(--ink); font-weight: 500; }
.compare .ck { display: block; margin: 0 auto; width: 18px; height: 18px; color: var(--gold); }
.compare .no { color: var(--ink-3); }
.compare th:nth-child(2), .compare td:nth-child(2) { width: 18%; }
.compare th:nth-child(n+3), .compare td:nth-child(n+3) { width: 17%; }
