/* sdxstorm.com public pages. Tokens match the app's design system (--ds-*). */
:root {
  --canvas: #f1f0ec;
  --panel: #fffefd;
  --hairline: #e5e2dc;
  --line: #d4d0c8;
  --line-hover: #bdb6a5;
  --ink: #24221d;
  --ink-2: #4b473e;
  --ink-3: #7a7466;
  --steel: #3A6178;
  --steel-2: #47768F;
  --steel-text: #3A6178;
  --band: #3A6178;
  --band-ink: #ffffff;
  --band-ink-2: #dbe6ec;
  --shadow-1: 3px 3px 0 rgba(72, 62, 45, 0.10);
  --shadow-2: 0 1px 0 rgba(72, 62, 45, 0.05), 0 10px 30px rgba(50, 44, 32, 0.09);
  --shadow-3: 0 18px 50px rgba(40, 36, 26, 0.20);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --wrap: 1180px;
  --r-card: 18px;
  --r-frame: 16px;
  --r-band: 24px;
}
:root[data-theme="dark"] {
  --canvas: #0b1220;
  --panel: #131c2e;
  --hairline: #24314a;
  --line: #2c3a55;
  --line-hover: #46587a;
  --ink: #e8eef7;
  --ink-2: #b6c2d4;
  --ink-3: #7e8ca3;
  --steel: #4a7590;
  --steel-2: #5c8aa6;
  --steel-text: #8db3cf;
  --band: #1b3142;
  --band-ink-2: #b9cbd8;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-3: 0 18px 50px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--canvas); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--steel-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--steel-2); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: 28px; padding-right: 28px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--panel); color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 40; }
.skip:focus { left: 16px; }

/* header: one bar, product links left, account right */
.top { position: sticky; top: 0; z-index: 30; background: var(--panel); border-bottom: 1px solid var(--hairline); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.mark { font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -0.017em; color: var(--steel-text); text-decoration: none; }
.mark:hover { color: var(--steel-text); }
.nav { display: flex; align-items: center; gap: 2px; flex: 1 1 auto; }
.nav a, .acct a.link { font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 10px; transition: background 160ms var(--ease), color 160ms var(--ease); }
.nav a:hover, .acct a.link:hover { background: rgba(110, 96, 70, 0.08); color: var(--ink); }
:root[data-theme="dark"] .nav a:hover, :root[data-theme="dark"] .acct a.link:hover { background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--steel-2); border-radius: 0; }
.acct { display: flex; align-items: center; gap: 8px; }

/* buttons: the app's pill */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 600 15px/1 var(--font); padding: 13px 24px; border-radius: 999px; cursor: pointer; text-decoration: none; border: 1px solid var(--line); background: var(--panel); color: var(--steel-text); transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease); }
.btn:hover { background: var(--canvas); border-color: var(--line-hover); color: var(--ink); }
.btn.pri { background: var(--steel); border-color: var(--steel); color: #fff; }
.btn.pri:hover { background: var(--steel-2); border-color: var(--steel-2); color: #fff; }
.acct .btn { padding: 10px 18px; font-size: 14.5px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero: the brochure's steel band */
.hero { background: var(--band); color: var(--band-ink); padding-top: clamp(48px, 7vw, 88px); }
.hero h1 { margin: 0; max-width: 20ch; font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.hero .lede { margin: 24px 0 0; max-width: 68ch; font-size: clamp(1.02rem, 1.5vw, 1.15rem); line-height: 1.6; color: var(--band-ink-2); }
.hero .cta { margin-top: 32px; }
.hero .btn { padding: 15px 28px; font-size: 16px; }
.hero .btn.pri { background: #fff; border-color: #fff; color: #2c4c5f; }
.hero .btn.pri:hover { background: #eef3f6; border-color: #eef3f6; color: #24221d; }
.hero .btn.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.hero .btn.ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.hero :focus-visible { outline-color: #fff; }
.hero .shot { margin: clamp(40px, 6vw, 64px) 0 0; transform: translateY(clamp(40px, 6vw, 72px)); margin-bottom: 0; }
.hero-after { padding-top: clamp(56px, 8vw, 96px); }
.frame { background: var(--canvas); border: 1px solid var(--line); border-radius: var(--r-frame); box-shadow: var(--shadow-2); overflow: hidden; }
.frame img { width: 100%; }
.hero .frame { box-shadow: var(--shadow-3); border-color: rgba(0, 0, 0, 0.08); background: #f1f0ec; padding: clamp(6px, 1.2vw, 14px); }
.hero .shot { max-width: 980px; }
.fig { margin: 0; }
figcaption, .cap { margin: 16px 0 0; max-width: 78ch; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }

/* sections */
.sec { padding-top: clamp(64px, 9vw, 112px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
h2 { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.022em; text-wrap: balance; }
.kicker { margin: 0 0 12px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-text); }
.sec-head .kicker { margin: 0; color: var(--ink-3); }

/* app cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 32px 0 0; padding: 0; list-style: none; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-2); padding: 26px 26px 28px; }
.card h3 { margin: 18px 0 8px; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.tile { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--steel); color: #fff; border-radius: 15px; box-shadow: var(--shadow-1); }
.tile svg { width: 27px; height: 27px; }
.card.plain { background: transparent; box-shadow: none; border-style: dashed; }
.card.plain h3 { margin-top: 0; }

/* feature rows: picture one side, words the other */
.feat { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.feat.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.feat.flip .words { order: -1; }
.words h2 { max-width: 18ch; }
.frame.pad { padding: 14px; }
.words p { margin: 14px 0 0; max-width: 52ch; color: var(--ink-2); }
.words h2 + p { margin-top: 20px; }
.frame.page { max-width: 440px; margin-left: auto; margin-right: auto; }

/* two facts */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pair .card h3 { margin-top: 0; }

/* bands */
.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 44px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-band); box-shadow: var(--shadow-2); }
.band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.band p { margin: 10px 0 0; max-width: 60ch; color: var(--ink-2); }
.band.steel { background: var(--band); border-color: transparent; color: #fff; }
.band.steel p { color: var(--band-ink-2); }
.band.steel .btn.pri { background: #fff; border-color: #fff; color: #2c4c5f; }
.band.steel .btn.pri:hover { background: #eef3f6; color: #24221d; }
.band.steel :focus-visible { outline-color: #fff; }

/* questions */
.qa { max-width: 820px; margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-2); padding: 4px 26px; }
.qa details + details { border-top: 1px solid var(--hairline); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-size: 1.05rem; font-weight: 650; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform 180ms var(--ease); }
.qa details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa details p { margin: 0; padding: 0 36px 22px 0; font-size: 16px; color: var(--ink-2); max-width: 64ch; }

/* footer */
.foot { margin-top: clamp(72px, 10vw, 120px); background: var(--panel); border-top: 1px solid var(--hairline); padding: 40px 0 36px; }
.foot .cols { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.foot h4 { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 8px; }
.foot li a { font-size: 14.5px; color: var(--ink-2); text-decoration: none; }
.foot li a:hover { color: var(--ink); text-decoration: underline; }
.foot .fine { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.foot .mark { font-size: 22px; }

/* inner pages */
.page-head { padding-top: clamp(36px, 5vw, 64px); }
.page-head h1 { margin: 0; font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.028em; }
.page-head p { margin: 16px 0 0; max-width: 62ch; color: var(--ink-2); font-size: 1.08rem; line-height: 1.55; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-top: 32px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; }
.seg button { all: unset; box-sizing: border-box; cursor: pointer; padding: 9px 20px; border-radius: 999px; font: 600 15px/1.2 var(--font); color: var(--ink-2); transition: background 160ms var(--ease), color 160ms var(--ease); }
.seg button:hover { color: var(--ink); background: var(--canvas); }
.seg button[aria-selected="true"] { background: var(--steel); color: #fff; }
.seg button:focus-visible { outline: 2px solid var(--steel-2); outline-offset: 2px; }
/* the calculator sits straight on the page: its own cards are the cards */
.calc { margin-top: 22px; }
.calc iframe { display: block; width: 100%; height: 760px; border: 0; background: var(--canvas); color-scheme: light; transition: opacity 140ms var(--ease), height 220ms var(--ease); }
.calc iframe.swap { opacity: 0; }
:root[data-theme="dark"] .calc, :root[data-theme="dark"] .calc iframe { background: var(--panel); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.plan { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-2); padding: 30px 28px 28px; }
.plan h2 { font-size: 1.15rem; letter-spacing: -0.01em; }
.amount { margin: 18px 0 0; font-size: clamp(2.3rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-feature-settings: "tnum"; }
.per { margin: 8px 0 0; font-size: 15px; color: var(--ink-3); }
.plan p.what { margin: 18px 0 26px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); flex: 1 1 auto; }
.plan .btn { align-self: flex-start; }
.plan.lead { border-color: var(--steel-2); box-shadow: 0 0 0 1px var(--steel-2), var(--shadow-2); }

/* trial and contact pop-up */
.sdxm-card { border-radius: 20px !important; }
:root[data-theme="dark"] .sdxm-card { background: #131c2e; border-color: #24314a; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); }
:root[data-theme="dark"] .sdxm-head, :root[data-theme="dark"] .sdxm-btns { background: #131c2e; border-color: #24314a; }
:root[data-theme="dark"] .sdxm-title, :root[data-theme="dark"] .sdxm-f input, :root[data-theme="dark"] .sdxm-f textarea { color: #e8eef7; }
:root[data-theme="dark"] .sdxm-intro, :root[data-theme="dark"] .sdxm-done p { color: #b6c2d4; }
:root[data-theme="dark"] .sdxm-f input, :root[data-theme="dark"] .sdxm-f textarea { background: #0b1220; border-color: #2c3a55; }
:root[data-theme="dark"] .sdxm-btn { background: #131c2e; border-color: #2c3a55; color: #8db3cf; }
:root[data-theme="dark"] .sdxm-btn:hover { background: #0b1220; }
:root[data-theme="dark"] .sdxm-btn.pri { background: #4a7590; border-color: #4a7590; color: #fff; }
:root[data-theme="dark"] .sdxm-scrim { background: rgba(0, 0, 0, 0.55); }

@media (max-width: 980px) {
  .cards, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat, .feat.flip { grid-template-columns: minmax(0, 1fr); }
  .feat.flip .words { order: 0; }
  .band { grid-template-columns: minmax(0, 1fr); }
  .band .btn { justify-self: start; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .bar { flex-wrap: wrap; gap: 4px 12px; padding-top: 10px; padding-bottom: 8px; }
  .nav { order: 3; flex: 1 1 100%; margin-left: -10px; }
  .acct { margin-left: auto; }
  .cards, .plans, .pair { grid-template-columns: minmax(0, 1fr); }
  .hero .btn { flex: 1 1 100%; }
  .frame.scroll { overflow-x: auto; }
  .frame.scroll img { min-width: 680px; }
  .foot .cols { grid-template-columns: minmax(0, 1fr); }
  .calc iframe { height: 880px; }
  .seg { border-radius: 18px; }
  .seg button { flex: 1 1 auto; text-align: center; padding: 11px 14px; }
  .qa { padding: 2px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* what is SDX */
.ver { padding: clamp(36px, 5vw, 60px) 0; border-top: 1px solid var(--hairline); }
.ver:first-of-type { border-top: 0; }
.ver h2 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.ver h2 + p { margin: 12px 0 0; max-width: 40ch; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.vt-wrap { overflow-x: auto; }
.vt { width: 100%; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.vt th, .vt td { padding: 13px 0; text-align: right; white-space: nowrap; }
.vt th:first-child { text-align: left; white-space: normal; padding-right: 20px; font-weight: 500; color: var(--ink); }
.vt thead th { font-size: 13px; font-weight: 650; color: var(--ink-3); padding: 4px 0 10px; }
.vt tbody tr:first-child { border-top: 1.5px solid var(--ink); }
.vt tbody tr:last-child { border-bottom: 1px solid var(--hairline); }
.vt td { width: 7.2em; color: var(--ink-2); }
.vt td:last-child { color: var(--ink); font-weight: 650; }
.vt tbody tr { border-top: 1px solid var(--hairline); }
.ver-note { margin: 14px 4px 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.ver-foot { margin: 8px 0 0; padding: 22px 0 0; border-top: 1px solid var(--hairline); max-width: 72ch; font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }
@media (max-width: 560px) { .vt { font-size: 14px; } .vt td { width: auto; padding-left: 12px; } .vt th:first-child { padding-right: 4px; } }
/* heading on the left, content on the right: the same two columns as What is SDX, so the sections line up down the page */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.split .qa { max-width: none; margin-top: 0; }
.about p { margin: 0 0 16px; max-width: 58ch; color: var(--ink-2); font-size: 1.08rem; }
.about p:first-child { color: var(--ink); }
.about a { color: var(--steel); font-weight: 600; text-decoration: none; }
.about a:hover { text-decoration: underline; }
@media (max-width: 980px) { .split { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.what { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.what p { margin: 18px 0 0; max-width: 46ch; color: var(--ink-2); font-size: 1.08rem; }
.what ul { list-style: none; margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-2); }
.what li { padding: 20px 26px; color: var(--ink); font-weight: 500; }
.what li + li { border-top: 1px solid var(--hairline); }
.more { font-size: 15px; font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); }
.more:hover { border-color: var(--line-hover); }
.card { padding: 0; }
.card > .cover { display: block; height: 100%; padding: 26px 26px 28px; color: inherit; text-decoration: none; border-radius: var(--r-card); transition: background 160ms var(--ease); }
.card > .cover:hover { background: rgba(110, 96, 70, 0.05); }
:root[data-theme="dark"] .card > .cover:hover { background: rgba(255, 255, 255, 0.04); }
.plan, .pair .card { padding: 30px 28px 28px; }

/* trust strip */
.strip { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.strip li { padding: 18px 22px; text-align: center; font-weight: 600; font-size: 15.5px; color: var(--ink-2); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); }

/* features page */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ink-2); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); }
.jump a:hover { color: var(--ink); border-color: var(--line-hover); }
.fsec { padding-top: clamp(56px, 7vw, 88px); }
.fhead { display: flex; align-items: center; gap: 16px; }
.flist { margin: 20px 0 28px; padding: 0 0 0 20px; max-width: 78ch; color: var(--ink-2); }
.flist li { margin: 0 0 8px; }
.fsec .frame { background: var(--canvas); }

@media (max-width: 980px) { .what { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) { .strip { grid-template-columns: minmax(0, 1fr); gap: 10px; } .nav a { padding: 8px 9px; font-size: 14.5px; } }
.foot .cols { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 680px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .cols > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 900px) { .bar { gap: 10px; } .nav a, .acct a.link { padding: 8px 8px; } .acct .btn { padding: 10px 14px; } }
.foot li a { overflow-wrap: anywhere; }
@media (max-width: 900px) { .foot .cols { gap: 24px 20px; } }

/* feature drawer: opens below the clicked row, set into the page */
.cards > .drawer { grid-column: 1 / -1; height: 0; overflow: hidden; margin-top: -20px; transition: height 360ms var(--ease), margin-top 360ms var(--ease); }
.cards > .drawer.open { margin-top: 0; }
.well { background: #e4e2dc; border-radius: var(--r-band); box-shadow: inset 0 10px 18px -10px rgba(40, 36, 26, 0.38), inset 0 -8px 14px -10px rgba(40, 36, 26, 0.22), inset 0 0 0 1px rgba(72, 62, 45, 0.10); padding: clamp(20px, 3.4vw, 40px); }
:root[data-theme="dark"] .well { background: #070c16; box-shadow: inset 0 10px 18px -10px rgba(0, 0, 0, 0.8), inset 0 0 0 1px #1a2538; }
.fpanel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.fpanel[hidden] { display: none; }
.fpanel h3 { margin: 4px 0 14px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.fpanel ul { margin: 0 0 22px; padding-left: 20px; color: var(--ink-2); font-size: 16px; }
.fpanel li { margin: 0 0 8px; }
.fpanel .frame { box-shadow: var(--shadow-3); transform: translateY(26px); opacity: 0; transition: transform 420ms var(--ease) 60ms, opacity 300ms var(--ease) 60ms; }
.drawer.open .fpanel .frame { transform: none; opacity: 1; }
.card.on { border-color: var(--steel-2); box-shadow: 0 0 0 1px var(--steel-2), var(--shadow-2); }
.card > .cover { position: relative; }
.card > .cover::after { content: ""; position: absolute; right: 22px; top: 30px; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform 200ms var(--ease); }
.card.on > .cover::after { transform: rotate(-135deg); top: 35px; }
@media (max-width: 980px) { .fpanel { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .fpanel .frame { transform: none; opacity: 1; } }

/* motion */
@view-transition { navigation: auto; }
/* Safari showed white between pages: the old page now stays put while the new one fades in over it, on the page colour. */
::view-transition { background: var(--canvas); }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: vt-in 280ms var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
.top { view-transition-name: sdx-top; transition: box-shadow 200ms var(--ease); }
/* the wordmark carries over to the sign-in page, where it sits large above the form */
.top .mark { view-transition-name: sdx-mark; }
::view-transition-group(sdx-mark) { animation-duration: 380ms; animation-timing-function: var(--ease); }
.top.stuck { box-shadow: 0 6px 20px rgba(40, 36, 26, 0.10); }
main { animation: page-in 420ms var(--ease) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); } }
.hero .shot .frame { animation: shot-in 700ms var(--ease) 160ms both; }
@keyframes shot-in { from { opacity: 0; transform: translateY(36px) scale(0.985); } }
.rise-on [data-rise] { opacity: 0; transform: translateY(26px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
.rise-on [data-rise].in { opacity: 1; transform: none; }
.rise-on .cards > .card, .rise-on .plans > .plan, .rise-on .strip > li { opacity: 0; transform: translateY(18px); transition: opacity 480ms var(--ease), transform 480ms var(--ease), border-color 160ms var(--ease), box-shadow 200ms var(--ease); }
.rise-on .in .cards > .card, .rise-on .in.plans > .plan, .rise-on .in .strip > li { opacity: 1; transform: none; }
.rise-on .in .cards > .card:nth-child(2), .rise-on .in.plans > .plan:nth-child(2), .rise-on .in .strip > li:nth-child(2) { transition-delay: 70ms; }
.rise-on .in .cards > .card:nth-child(3), .rise-on .in.plans > .plan:nth-child(3), .rise-on .in .strip > li:nth-child(3) { transition-delay: 140ms; }
.rise-on .in .cards > .card:nth-child(n+4) { transition-delay: 210ms; }
.card { transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 160ms var(--ease); }
.cards > .card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(72, 62, 45, 0.05), 0 16px 36px rgba(50, 44, 32, 0.14); }
.rise-on .in .cards > .card:hover { transform: translateY(-3px); transition-delay: 0ms; }
.btn { transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease); }
.btn:active { transform: scale(0.97); }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--steel-2); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { box-shadow: none; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.qa details[open] p { animation: qa-in 260ms var(--ease) both; }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } }

.fpanel:not([hidden]) .ftext { animation: qa-in 320ms var(--ease) 80ms both; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  main, .hero .shot .frame, .qa details[open] p, .calc iframe, .fpanel:not([hidden]) .ftext { animation: none; }
  .cards > .card:hover { transform: none; }
}

/* Features page tabs */
.ftabs { position: sticky; top: 76px; z-index: 20; box-shadow: var(--shadow-2); }
.ftab { padding-top: 36px; }
.ftab[hidden] { display: none; }
.ftab:not([hidden]) { animation: page-in 360ms var(--ease) both; }
.ftab-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.fwords h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.fintro { margin: 14px 0 6px; font-size: 1.1rem; color: var(--ink-2); max-width: 48ch; }
.fgroup { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.fgroup h3 { margin: 0 0 10px; font-size: 1.05rem; font-weight: 700; }
.fgroup ul { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 16px; }
.fgroup li { margin: 0 0 7px; }
.fshots { display: grid; gap: 28px; }
.fshots .frame { background: var(--canvas); }
.fshots .frame.page { max-width: 420px; margin-left: 0; }
.fshots figcaption { margin-top: 10px; }
@media (max-width: 980px) { .ftab-grid { grid-template-columns: minmax(0, 1fr); } .ftabs { position: static; } }
@media (prefers-reduced-motion: reduce) { .ftab:not([hidden]) { animation: none; } }

/* hero: four real screens, layered */
.hero .lede { margin-bottom: 0; }
.hero .stage { position: relative; max-width: none; aspect-ratio: 16 / 8.6; margin-top: clamp(36px, 5vw, 56px); }
.stage .frame { position: absolute; padding: 0; background: #f1f0ec; border-color: rgba(0, 0, 0, 0.10); box-shadow: var(--shadow-3); animation: none; }
.stage .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.stage .st-l { left: 0; top: 9%; width: 44%; height: 78%; }
.stage .st-r { right: 0; top: 9%; width: 44%; height: 78%; }
.stage .st-r img { object-position: top right; }
.stage .st-c { left: 20%; top: 0; width: 60%; height: 100%; z-index: 2; }
.stage .st-p { right: 5%; bottom: -5%; width: 19%; aspect-ratio: 935 / 1210; z-index: 3; border-radius: 10px; }
.stage .st-l, .stage .st-r { filter: saturate(0.92) brightness(0.97); }
.stage .st-c { animation: shot-in 700ms var(--ease) 120ms both; }
.stage .st-l { animation: stage-l 800ms var(--ease) 260ms both; }
.stage .st-r { animation: stage-r 800ms var(--ease) 260ms both; }
.stage .st-p { animation: shot-in 700ms var(--ease) 480ms both; }
@keyframes stage-l { from { opacity: 0; transform: translateX(60px); } }
@keyframes stage-r { from { opacity: 0; transform: translateX(-60px); } }
@media (max-width: 680px) {
  .hero .stage { aspect-ratio: 4 / 3.6; }
  .stage .st-l, .stage .st-r { display: none; }
  .stage .st-c { left: 0; width: 100%; height: 100%; }
  .stage .st-p { right: 4%; width: 34%; bottom: -6%; }
}
@media (prefers-reduced-motion: reduce) { .stage .frame { animation: none !important; } }

/* sample report deck */
.deck { width: 100%; max-width: 560px; margin-left: auto; margin-right: auto; }
.deck.wide { max-width: 680px; }
.deck.sm { max-width: 440px; }
.fdeck h3 { margin: 8px 0 18px; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.fshots .deck { margin-left: 0; }
.deck-stage { position: relative; }
.deck .pg { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 6px rgba(40, 36, 26, 0.10), 0 14px 34px rgba(40, 36, 26, 0.16); }
.deck .pg img { display: block; width: 100%; height: auto; background: #fff; }
.deck:not(.on) .pg:not(:first-child) { display: none; }
.deck.on .deck-stage { transition: height 360ms var(--ease); }
.deck.on .pg { position: absolute; left: 0; top: 0; transform-origin: bottom left; cursor: pointer; }
.deck.ready .pg { transition: transform 420ms var(--ease), opacity 320ms var(--ease), height 420ms var(--ease); }
.deck-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.deck:not(.on) .deck-bar { display: none; }
.deck-btn { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 999px; cursor: pointer; background: var(--steel); color: #fff; transition: background 160ms var(--ease), transform 120ms var(--ease), opacity 160ms var(--ease); }
.deck-btn svg { width: 22px; height: 22px; }
.deck-btn:hover { background: var(--steel-2); }
.deck-btn:active { transform: scale(0.94); }
.deck-btn:focus-visible { outline: 2px solid var(--steel-2); outline-offset: 3px; }
.deck-btn[disabled] { opacity: 0.3; cursor: default; }
.deck-count { margin: 0; text-align: center; line-height: 1.3; }
.deck-title { display: block; font-weight: 700; color: var(--ink); font-size: 15.5px; }
.deck-n { display: block; font-size: 13.5px; color: var(--ink-3); font-feature-settings: "tnum"; }
:root[data-theme="dark"] .deck .pg { border-color: #2c3a55; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5); }
@media (prefers-reduced-motion: reduce) { .deck.ready .pg, .deck.on .deck-stage { transition: none; } }
/* five nav items on a phone */
@media (max-width: 480px) { .nav { justify-content: space-between; gap: 0; margin-left: -5px; margin-right: -5px; } .nav a { padding: 8px 5px; font-size: 13px; } .nav a::after { left: 5px; right: 5px; } }
@media (max-width: 380px) { .nav a { padding: 8px 4px; font-size: 12.5px; } .nav a::after { left: 4px; right: 4px; } }
/* the trial line at the foot of a page: one quiet sentence, not a banner */
.try { padding: clamp(36px, 5vw, 56px) 0 8px; }
.try p { margin: 0; padding-top: 22px; border-top: 1px solid var(--hairline); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.try a { color: var(--steel); font-weight: 600; text-decoration: none; white-space: nowrap; }
.try a:hover { text-decoration: underline; }
/* laptops: the same page a size down, so it does not read as oversized on a 13 to 16 inch screen. Phones keep full size. */
@media (min-width: 761px) and (max-width: 1800px) { html { zoom: 0.9; } }
@media (min-width: 761px) and (max-width: 1400px) { html { zoom: 0.86; } }
/* Safari draws a framed page at the outer zoom inside an unzoomed box, which leaves a blank strip. The frame box is set back to full size and the calculator zooms itself (z= in its address). */
@media (min-width: 761px) and (max-width: 1800px) { .calc { zoom: 1.11111; } }
@media (min-width: 761px) and (max-width: 1400px) { .calc { zoom: 1.16279; } }

/* Reviews from trial users: plain text, no card, no big quote marks */
.revs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 20px; }
.revs.one { max-width: 72ch; }
.rev { margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--line); }
.rev blockquote { margin: 0; }
.rev blockquote p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.rev figcaption { margin: 14px 0 0; display: flex; flex-direction: column; gap: 1px; font-size: 14.5px; line-height: 1.45; color: var(--ink-3); }
.rev figcaption b { font-size: 15px; color: var(--ink); font-weight: 600; }
.rev figcaption .cred { font-size: 13px; }
