/* Layout: the inner pages of the site, one at a time (the menu switches
   them, as separate pages would). Same tokens as the home page: the app's
   design system, always dark. Calmer motion than the home page: things
   rise as they enter, nothing pins. */
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.022em; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); }

/* Header with the page menu */
.review { font-size: 13px; color: var(--text-2); text-align: center; padding: 8px var(--gutter); background: rgba(111,209,176,.10); border-bottom: 1px solid var(--line); }
.review b { color: var(--accent); }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; display: flex; align-items: center; gap: 22px; padding: 12px var(--gutter);
  background: rgba(0,0,0,.72); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; font: 600 16px var(--display); color: var(--text); }
.brand img { width: 19px; height: 22px; display: block; }
header.top nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
header.top nav::-webkit-scrollbar { display: none; }
header.top nav a { font-size: 13.5px; color: var(--text-2); padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
header.top nav a:hover { text-decoration: none; color: var(--text); }
header.top nav a[aria-current="page"] { color: var(--text); background: var(--surface-strong); }
.soon { font-size: 13px; font-weight: 600; color: var(--text-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
@media (max-width: 900px) { header.top { flex-wrap: wrap; gap: 10px; } header.top nav { order: 3; width: 100%; margin-left: 0; } .soon { margin-left: auto; } }

/* Pages */
.hero { position: relative; padding-block: clamp(70px, 12vh, 130px) clamp(40px, 8vh, 80px); display: grid; gap: 22px; justify-items: center; text-align: center; padding-inline: var(--gutter); }
.hero::before { content: ""; position: absolute; inset: -60px 0 auto 0; height: 800px; z-index: -1; background: radial-gradient(70% 55% at 50% 0%, var(--glow-1), var(--glow-2) 55%, var(--bg) 100%); }
.hero .shield { width: clamp(150px, 20vw, 210px); height: auto; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.headline { font-size: clamp(40px, 6.6vw, 84px); line-height: 1.02; }
.lede { font-size: clamp(18px, 1.7vw, 22px); color: var(--text-2); max-width: 36em; text-wrap: pretty; }
.wrap { width: min(1080px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
section.block { padding-block: clamp(70px, 12vh, 130px) 0; display: grid; gap: clamp(28px, 4vh, 44px); }
section.block > .head { display: grid; gap: 14px; }
.title { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.05; }
.sub { color: var(--text-2); font-size: 18px; max-width: 40em; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px 40px; }
.features p { color: var(--text-3); font-size: 16.5px; line-height: 1.5; }
.features p b { color: var(--text); font-weight: 600; }
.features .ic { width: 28px; height: 28px; margin-bottom: 12px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.big { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.card { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); display: grid; gap: 10px; align-content: start; min-width: 0; }
.card small { font: 11.5px var(--mono); color: var(--text-3); letter-spacing: .04em; text-transform: uppercase; }
.card h3 { font-size: 21px; }
.card p { color: var(--text-3); font-size: 15.5px; }
.card .limit { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-size: 14px; color: var(--text-3); }
.card .limit b { color: var(--warn-text); font-weight: 600; }
.card.warn { border-color: rgba(240,160,32,.3); background: rgba(240,160,32,.05); }
.card.red { border-color: rgba(242,118,107,.35); background: rgba(242,118,107,.06); }
.stat { display: grid; gap: 6px; }
.stat b { font: 600 clamp(48px, 6vw, 76px)/1 var(--display); letter-spacing: -.03em; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: var(--text-3); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; counter-increment: s; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font: 600 13px var(--mono); }
.steps li b { display: block; font: 600 18px var(--display); }
.steps li span { color: var(--text-3); font-size: 15.5px; }
.kbd { display: flex; flex-wrap: wrap; gap: 6px; }
.kbd span { font: 500 13px var(--mono); color: var(--text-2); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 7px; padding: 4px 8px; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bento .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 6px; }
.bento .ic svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-pdf { background: linear-gradient(135deg, #F28B82, #C5443A); }
.g-pages { background: linear-gradient(135deg, #F7C26B, #E07A3B); }
.g-img { background: linear-gradient(135deg, #B29BFF, #6A55E0); }
.g-num { background: linear-gradient(135deg, #8FE38F, #2E9E4F); }
.g-xml { background: linear-gradient(135deg, #7FA8FF, #4B63E0); }
.g-folder { background: linear-gradient(135deg, #8BE0B8, #2FA58A); }
.g-other { background: linear-gradient(135deg, #9AA5A2, #5E6966); }

/* Guide */
.guide { display: grid; gap: clamp(60px, 10vh, 110px); }
.gstep { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.gstep:nth-child(even) { grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr); }
.gstep:nth-child(even) .gtext { order: 2; }
.gtext { display: grid; gap: 12px; }
.gtext .mono { color: var(--accent); font-size: 13px; }
.gtext h3 { font-size: clamp(24px, 2.6vw, 32px); }
.gtext p { color: var(--text-3); }
.gtext ul { margin: 4px 0 0; padding-left: 18px; color: var(--text-3); display: grid; gap: 6px; font-size: 15.5px; }
.gtext ul b { color: var(--text); font-weight: 600; }
.gshot { border-radius: 14px; overflow: hidden; box-shadow: 0 40px 110px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.08); }
.gshot img { display: block; width: 100%; height: auto; }

/* Table */
.tablewrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); background: rgba(255,255,255,.02); }
td { color: var(--text-3); }
td b { color: var(--text); font-weight: 600; }
tr.us td { background: rgba(111,209,176,.06); }
tr:last-child td { border-bottom: 0; }
.fine { font-size: 13.5px; color: var(--text-3); }

/* Price */
.timeline { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 15px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line-strong)); }
.timeline li { position: relative; display: grid; gap: 8px; justify-items: center; text-align: center; padding-inline: 8px; }
.timeline li i { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--accent); font: 600 12px var(--mono); font-style: normal; color: var(--accent); }
.timeline li b { font: 600 20px var(--display); }
.timeline li small { font: 12px var(--mono); color: var(--accent); }
.timeline li span { color: var(--text-3); font-size: 15px; max-width: 18em; }
.coffee { display: flex; align-items: center; gap: 22px; padding: 20px 26px; border-radius: 22px; background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(135deg, rgba(139,224,184,.7), rgba(58,157,181,.35)) border-box; border: 1px solid transparent; }
.coffee svg { width: 54px; height: 54px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.coffee .steam path { stroke: var(--text-3); animation: steam 2.6s ease-in-out infinite; }
.coffee .steam path:nth-child(2) { animation-delay: .5s; } .coffee .steam path:nth-child(3) { animation-delay: 1s; }
@keyframes steam { 0%, 100% { opacity: .15; } 50% { opacity: .9; } }
.coffee b { display: block; font: 600 clamp(20px, 2.4vw, 26px)/1.2 var(--display); }
.coffee span { color: var(--text-3); font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { border-radius: 24px; padding: 30px; background: var(--surface); border: 1px solid var(--line-strong); display: grid; gap: 10px; }
.plan.best { border-color: rgba(111,209,176,.5); background: rgba(111,209,176,.06); }
.plan small { font: 600 12px var(--mono); color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.plan .amount { font: 600 clamp(42px, 5vw, 56px)/1 var(--display); letter-spacing: -.02em; }
.plan .amount span { font-size: 17px; color: var(--text-2); font-weight: 500; letter-spacing: 0; }
.plan p { color: var(--text-3); font-size: 15px; }
.incl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; color: var(--text-2); }
.incl li::before { content: "✓"; color: var(--ok); margin-right: 10px; font-weight: 700; }
.btn-soon { justify-self: center; font: 600 16px var(--display); color: var(--on-brand); background: var(--brand); border-radius: 999px; padding: 13px 24px; }

/* FAQ */
.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 19px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--text-3); margin-top: 12px; max-width: 42em; }
.faq h3 { font: 600 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 36px 0 6px; }

/* Shield */
.shield { --tone: var(--ok); display: block; overflow: visible; }
.shield .halo { fill: var(--tone); opacity: .16; transform-box: view-box; transform-origin: 120px 120px; animation: breathe 5s ease-in-out infinite; }
.shield .dots { stroke: var(--tone); stroke-opacity: .4; stroke-width: 1.4; stroke-dasharray: 1.5 7; stroke-linecap: round; fill: none; transform-box: view-box; transform-origin: 120px 120px; animation: spin 28s linear infinite; }
.shield .ring { stroke: var(--tone); stroke-width: 3; fill: none; stroke-dasharray: 240 400; stroke-linecap: round; transform-box: view-box; transform-origin: 120px 120px; animation: spin var(--speed, 40s) linear infinite; }
.shield .body { fill: color-mix(in srgb, var(--tone) 16%, transparent); stroke: var(--tone); stroke-width: .9; stroke-linejoin: round; }
.shield .icon { stroke: var(--tone); stroke-width: 1.15; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .26; } }

/* Rise on enter (never hidden without JS) */
html.fx [data-rise] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.fx [data-rise].in { opacity: 1; transform: none; }

footer { border-top: 1px solid var(--line); margin-top: clamp(90px, 14vh, 150px); padding: 36px var(--gutter) 52px; display: grid; gap: 14px; color: var(--text-3); font-size: 13px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer .cols a { color: var(--text-2); }

@media (max-width: 860px) {
  .big, .plans, .bento { grid-template-columns: minmax(0, 1fr); }
  .gstep, .gstep:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .gstep:nth-child(even) .gtext { order: 0; }
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .shield .halo, .shield .dots, .shield .ring, .coffee .steam path { animation: none; }
  html.fx [data-rise] { opacity: 1; transform: none; transition: none; }
}
.fn { font-size: .55em; line-height: 0; vertical-align: super; margin-left: 1px; }
.fn a { color: var(--accent); padding: 0 2px; font-weight: 600; font-family: var(--body); }
.footnotes { width: min(1080px, 100% - 2 * var(--gutter)); margin: clamp(60px, 10vh, 100px) auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.footnotes ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--text-3); font-size: 13.5px; line-height: 1.5; }
.footnotes li::marker { color: var(--accent); font-family: var(--mono); }
.footnotes a { white-space: nowrap; }
