/* MATT Accounting — site styles. Fonts: only the self-hosted OFL fonts below (no Apple system fonts).
   Look: the MATT film series (navy grid scenes, mono labels, white UI cards)
   finished with macOS materials: translucent glass, hairlines, soft depth, spring motion. */

@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/fonts/Poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/fonts/Poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 650; font-display: swap; src: url("/fonts/Inter-400-650.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("/fonts/IBMPlexMono-500.woff2") format("woff2"); }

:root {
  --navy: #1c244b;
  --navy-line: rgba(255, 255, 255, .085);
  --ink: #131a36;
  --text: #2c3250;
  --muted: #5d6481;
  --hair: rgba(28, 36, 75, .11);
  --line: #e4e7f0;
  --soft: #f5f6fa;
  --white: #fff;
  --blue: #467ff7;
  --blue-ink: #2b5ed8;
  --blue-soft: #eaf0fe;
  --fill: rgba(118, 118, 128, .12);
  --radius: 18px;
  --depth-1: 0 0 0 .5px rgba(19, 26, 54, .06), 0 1px 2px rgba(19, 26, 54, .05);
  --depth-2: 0 0 0 .5px rgba(19, 26, 54, .07), 0 2px 6px rgba(19, 26, 54, .05), 0 12px 32px rgba(19, 26, 54, .08);
  --depth-3: 0 0 0 .5px rgba(19, 26, 54, .08), 0 8px 20px rgba(19, 26, 54, .08), 0 30px 70px rgba(5, 10, 35, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --quick: 220ms;
  --head: "Poppins", "Inter", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --wrap: 1160px;
  --gut: 20px;
  --header: 64px;
}
@media (min-width: 760px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; background: var(--white); color: var(--text); font: 400 17px/1.62 var(--body); letter-spacing: -.003em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video { max-width: 100%; height: auto; display: block; }
::selection { background: rgba(70, 127, 247, .22); }
a { color: var(--blue-ink); text-decoration: none; transition: color var(--quick) var(--ease); }
.prose a, .faq .answer a { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; transition: background-size .35s var(--ease), color var(--quick); }
.prose a:hover, .faq .answer a:hover { background-size: 0 1px; background-position: 100% 100%; }
:focus { outline: none; }
:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(70, 127, 247, .45); border-radius: 8px; transition: box-shadow .2s var(--ease); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-weight: 500; letter-spacing: -.024em; }
h3, h4 { font-weight: 600; letter-spacing: -.012em; line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.25em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.lede { font-size: 1.14rem; line-height: 1.6; color: var(--muted); max-width: 62ch; }
.meta { font: 500 12px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.meta .cat { color: var(--blue-ink); }

/* ------------------------------------------------------------ buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--body); letter-spacing: -.005em; padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; transition: transform .35s var(--spring), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.965); transition-duration: .12s; }
.btn-primary { color: var(--white); background: linear-gradient(180deg, #3f75f2 0%, #2b5ed8 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(19, 26, 54, .25), 0 6px 18px rgba(43, 94, 216, .28); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 2px 4px rgba(19, 26, 54, .2), 0 10px 26px rgba(43, 94, 216, .36); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--hair), var(--depth-1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { background: var(--white); }
.on-navy .btn-ghost { color: var(--white); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.on-navy .btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn .arrow { display: inline-block; transition: transform .35s var(--spring); }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .7; pointer-events: none; }
.btn .spinner { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.textlink { font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.textlink .arrow { display: inline-block; transition: transform .35s var(--spring); }
.textlink:hover .arrow { transform: translateX(4px); }

/* ------------------------------------------------------------ header: glass toolbar */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); }
/* the glass lives on a pseudo-element so the mobile menu can blur the page behind it */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 -1px 0 var(--hair); transition: background-color .45s var(--ease), box-shadow .45s var(--ease); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: block; border-radius: 6px; }
.brand img { height: 28px; width: auto; transition: filter .45s var(--ease), transform .4s var(--spring); }
.brand:hover img { transform: scale(1.03); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; color: var(--ink); font-weight: 500; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; transition: background-color .25s var(--ease), color .25s var(--ease); }
.nav a:not(.btn):hover { background: var(--fill); }
.nav a[aria-current="page"]:not(.btn) { color: var(--blue-ink); }
.nav a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.nav .btn { margin-left: 10px; color: var(--white); padding: 10px 16px; font-size: 14px; }
.site-header[data-tone="dark"]::before { background: rgba(22, 29, 62, .5); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); }
.site-header[data-tone="dark"] .brand img { filter: brightness(0) invert(1); }
.site-header[data-tone="dark"] .nav a:not(.btn) { color: #e6eaf8; }
.site-header[data-tone="dark"] .nav a:not(.btn):hover { background: rgba(255, 255, 255, .1); }
.site-header[data-tone="dark"] .nav a[aria-current="page"]:not(.btn) { color: #a9c0ff; }
.site-header[data-tone="dark"] .nav-toggle { color: var(--white); background: rgba(255, 255, 255, .1); }
.nav-toggle { display: none; position: relative; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--fill); color: var(--ink); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--spring); }
.nav-toggle:active { transform: scale(.92); }
.nav-toggle i { position: absolute; left: 12px; right: 12px; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .45s var(--spring), opacity .2s var(--ease); }
.nav-toggle i:nth-child(1) { top: 15px; }
.nav-toggle i:nth-child(2) { top: 20.2px; }
.nav-toggle i:nth-child(3) { top: 25.4px; }
.site-header[data-open="true"] .nav-toggle i:nth-child(1) { transform: translateY(5.2px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle i:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.site-header[data-open="true"] .nav-toggle i:nth-child(3) { transform: translateY(-5.2px) rotate(-45deg); }
@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: calc(var(--header) + 8px); left: 10px; right: 10px; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 20px; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(28px); -webkit-backdrop-filter: saturate(180%) blur(28px); box-shadow: var(--depth-3); opacity: 0; transform: translateY(-10px) scale(.98); transform-origin: top center; pointer-events: none; visibility: hidden; transition: opacity .3s var(--ease), transform .45s var(--spring), visibility 0s .45s; }
  .site-header[data-open="true"] .nav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .3s var(--ease), transform .45s var(--spring), visibility 0s; }
  .nav a { padding: 14px; font-size: 17px; border-radius: 12px; }
  .site-header[data-tone="dark"] .nav a:not(.btn) { color: var(--ink); }
  .site-header[data-tone="dark"] .nav a:not(.btn):hover { background: var(--fill); }
  .site-header[data-tone="dark"] .nav a[aria-current="page"]:not(.btn) { color: var(--blue-ink); }
  .nav a[aria-current="page"]:not(.btn)::after { left: auto; right: 18px; top: 50%; bottom: auto; margin: -2px 0 0; }
  .nav .btn { margin: 8px 0 0; justify-content: center; padding: 15px; }
}

/* ------------------------------------------------------------ navy scenes */
.on-navy { background-color: var(--navy); color: #d7dcf0; background-image: linear-gradient(var(--navy-line) 1px, transparent 1px), linear-gradient(90deg, var(--navy-line) 1px, transparent 1px); background-size: 64px 64px; background-position: -1px -1px; }
.on-navy h1, .on-navy h2, .on-navy h3 { color: var(--white); }
.on-navy .eyebrow { color: #9fb0e6; }
.on-navy .lede { color: #c4cbe6; }
.on-navy a:not(.btn) { color: #b9cbff; }
.on-navy a:not(.btn):hover { color: var(--white); }

/* the first navy scene of a page runs underneath the glass header */
main > .on-navy:first-child { margin-top: calc(var(--header) * -1); }
main > .page-head.on-navy:first-child { padding-top: calc(var(--header) + 64px); }
@media (min-width: 900px) { main > .page-head.on-navy:first-child { padding-top: calc(var(--header) + 92px); } }

/* ------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header) + 56px) 0 104px; overflow: hidden; }
.hero > .wrap { width: 100%; }
.hero::after { content: ""; position: absolute; right: -12%; top: -24%; width: 72%; height: 95%; background: radial-gradient(closest-side, rgba(70, 127, 247, .2), transparent); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.12fr .88fr; gap: 64px; } }
.hero h1 { max-width: 13ch; font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.4rem); }
.hero h1 .ln:last-child > span { color: #9db6ff; }
.hero .lede { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 10.5px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: #8e9ccc; z-index: 1; }
.scroll-cue i { display: block; width: 1px; height: 38px; background: linear-gradient(#8e9ccc, transparent); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-height: 640px), (max-width: 979px) { .scroll-cue { display: none; } }

/* the setup checklist as a macOS window */
.setup-card { position: relative; background: rgba(255, 255, 255, .97); color: var(--text); border-radius: 16px; box-shadow: var(--depth-3); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; background: linear-gradient(180deg, #f7f8fb, #eef0f5); box-shadow: inset 0 -1px 0 var(--hair); }
.window-bar i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .14); }
.window-bar i:nth-child(1) { background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { flex: 1; text-align: center; margin-right: 52px; font: 500 12.5px var(--body); color: #6b7088; }
.setup-card .inner { padding: 22px 24px 18px; }
.setup-card .eyebrow { margin-bottom: 4px; }
.on-navy .setup-card h2 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 12px; color: var(--ink); }
.on-navy .setup-card .eyebrow { color: var(--muted); }
.setup-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.setup-steps li { counter-increment: s; position: relative; display: grid; grid-template-columns: 32px 1fr; align-items: baseline; padding: 9px 30px 9px 0; box-shadow: inset 0 1px 0 var(--line); font-size: 14.5px; color: var(--ink); }
.setup-steps li::before { content: counter(s, decimal-leading-zero); font: 500 11.5px var(--mono); color: var(--blue-ink); }
.setup-steps li::after { content: ""; position: absolute; right: 2px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #28c840 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: 0 1px 2px rgba(40, 200, 64, .35); }
.setup-card .note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

/* ------------------------------------------------------------ sections */
.section { padding: 88px 0; }
.section-soft { background-color: var(--soft); background-image: linear-gradient(rgba(28, 36, 75, .042) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 36, 75, .042) 1px, transparent 1px); background-size: 64px 64px; background-position: -1px -1px; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.page-head { padding: 64px 0 56px; }
@media (min-width: 900px) { .page-head { padding: 92px 0 76px; } }
.page-head h1 { max-width: 22ch; }

.proof { box-shadow: inset 0 -1px 0 var(--line); }
.proof .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.proof-item { padding: 26px 22px 26px 0; }
@media (min-width: 900px) { .proof-item + .proof-item { padding-left: 24px; box-shadow: inset 1px 0 0 var(--line); } }
.proof-item b { display: block; font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 6px; }
.proof-item span { font-size: 15px; color: var(--text); line-height: 1.5; display: block; }

.journey-wrap { position: relative; }
.journey { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .journey-wrap { padding-top: 40px; }
  .journey { grid-template-columns: repeat(4, 1fr); }
  .journey-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
  .journey-line .draw { display: block; height: 1px; background: var(--blue); }
  .stage::before { content: ""; position: absolute; top: -45px; left: 22px; width: 11px; height: 11px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--blue), 0 0 0 6px rgba(70, 127, 247, .14); }
}
@media (max-width: 899px) { .journey-line { display: none; } }
.stage { position: relative; background: var(--white); border-radius: var(--radius); padding: 24px 22px 22px; box-shadow: var(--depth-1), inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.stage:hover { transform: translateY(-3px); box-shadow: var(--depth-2), inset 0 0 0 1px var(--line); }
.stage .num { font: 500 12px var(--mono); letter-spacing: .1em; color: var(--blue-ink); }
.stage h3 { margin: 10px 0 8px; }
.stage p { font-size: 15px; color: var(--muted); }
.stage ul { list-style: none; padding: 0; margin: 14px 0 0; box-shadow: inset 0 1px 0 var(--line); }
.stage li { font-size: 14px; padding-top: 10px; }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.cards.four { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
@media (min-width: 1100px) { .cards.four { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--depth-1), inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .35s var(--ease); }
a.card { color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--depth-2), inset 0 0 0 1px var(--line); }
a.card:active { transform: translateY(-1px) scale(.99); transition-duration: .15s; }
.card h3 { margin: 6px 0 8px; }
.card p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.card .more { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--blue-ink); }
.card .more .arrow { display: inline-block; transition: transform .35s var(--spring); }
a.card:hover .more .arrow { transform: translateX(4px); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(180deg, #f1f5ff, #e3ebfe); box-shadow: inset 0 0 0 1px rgba(43, 94, 216, .12); color: var(--blue-ink); display: grid; place-items: center; transition: transform .5s var(--spring); }
a.card:hover .icon { transform: scale(1.08) rotate(-3deg); }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.cols2 { display: grid; gap: 40px; }
@media (min-width: 900px) { .cols2 { grid-template-columns: 1fr 1fr; gap: 64px; } }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 14px 0 14px 34px; box-shadow: inset 0 1px 0 var(--line); }
.checks li:last-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232b5ed8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks b { color: var(--ink); display: block; font-weight: 600; }
.checks span { color: var(--muted); font-size: 15px; }

.video-frame { position: relative; border-radius: 16px; overflow: hidden; background: #f3f5fa; box-shadow: var(--depth-2); aspect-ratio: 16 / 9; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.video-frame:hover { transform: translateY(-2px); box-shadow: var(--depth-3); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

.post-card { padding: 0; overflow: hidden; }
.post-card .thumb { aspect-ratio: 16 / 9; background: var(--soft); position: relative; overflow: hidden; box-shadow: inset 0 -1px 0 var(--line); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.post-card:hover .thumb img { transform: scale(1.035); }
.post-card .badge { position: absolute; left: 12px; bottom: 12px; background: rgba(19, 26, 54, .62); backdrop-filter: blur(10px) saturate(160%); -webkit-backdrop-filter: blur(10px) saturate(160%); color: var(--white); font: 500 10.5px var(--mono); letter-spacing: .08em; padding: 6px 9px; border-radius: 8px; display: inline-flex; gap: 6px; align-items: center; }
.post-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h3, .post-card h2 { font-size: 1.08rem; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; margin: 6px 0 8px; }
.post-card.leaving { opacity: 0 !important; transform: scale(.97) !important; }
[data-category][hidden] { display: none !important; }

/* segmented control (insights filter) */
.segmented { position: relative; display: inline-flex; flex-wrap: wrap; padding: 3px; border-radius: 12px; background: var(--fill); margin: 0 0 30px; max-width: 100%; }
.segmented button { position: relative; z-index: 1; font: 500 14px var(--body); letter-spacing: -.005em; padding: 8px 16px; border: 0; border-radius: 9px; background: transparent; color: var(--text); cursor: pointer; transition: color .3s var(--ease); white-space: nowrap; }
.segmented button[aria-pressed="true"] { color: var(--ink); }
.segmented .thumb-pill { position: absolute; z-index: 0; top: 0; left: 0; border-radius: 9px; background: var(--white); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .04), 0 3px 8px rgba(19, 26, 54, .12), 0 3px 1px rgba(19, 26, 54, .04); transition: transform .5s var(--spring), width .5s var(--spring), height .5s var(--spring); }
.segmented:not(.ready) button[aria-pressed="true"] { background: var(--white); }

/* long-form text */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin-top: 2.1em; padding-top: .2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose h4 { font-size: 1.04rem; margin-top: 1.6em; color: var(--text); }
.prose li { margin: .35em 0; }
.prose li > ul, .prose li > ol { margin-top: .35em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; background: var(--blue-soft); border-radius: 14px; color: var(--ink); font-weight: 500; box-shadow: inset 3px 0 0 var(--blue); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose p.check, .prose p.cross { position: relative; padding-left: 32px; margin-bottom: .6em; }
.prose p.check::before, .prose p.cross::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232b5ed8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.prose p.cross::before { background: #fdecec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7m0-7l-7 7' fill='none' stroke='%23c2410c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.lines .ln { display: block; }
.table-wrap { overflow-x: auto; margin: 1.4em 0 1.8em; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
.table-wrap th, .table-wrap td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--soft); font-weight: 600; color: var(--ink); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr { transition: background-color .25s var(--ease); }
.table-wrap tbody tr:hover { background: #fafbfd; }
.table-wrap td:not(:first-child) { font-variant-numeric: tabular-nums; }

/* article */
.article-head { padding: 56px 0 28px; }
.crumbs { margin-bottom: 18px; }
.article-head h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); max-width: 24ch; }
.article-head .dek { font-size: 1.2rem; color: var(--muted); max-width: 60ch; margin: 0 0 18px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.byline .avatar { width: 38px; height: 38px; font-size: 13px; }
.article-video { margin: 8px 0 40px; max-width: 880px; }
.article-video figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.article-layout { display: grid; gap: 48px; padding-bottom: 80px; }
.article-layout > * { min-width: 0; }
@media (min-width: 1040px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; } }
.aside-sticky { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 16px; }
.aside-box { border-radius: var(--radius); padding: 22px; background: rgba(255, 255, 255, .8); box-shadow: var(--depth-1), inset 0 0 0 1px var(--line); }
.aside-box h3 { font-size: 1rem; }
.aside-box p { font-size: 14px; color: var(--muted); }
.aside-box .btn { width: 100%; justify-content: center; font-size: 14px; padding: 13px 16px; }
.toc ol { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.toc a { display: block; padding: 7px 10px; margin: 1px -10px; border-radius: 8px; color: var(--text); transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.toc a:hover { background: var(--fill); }
.toc a.active { color: var(--blue-ink); background: var(--blue-soft); }
.avatar { border-radius: 50%; background: var(--navy); color: var(--white); display: inline-grid; place-items: center; font: 600 15px var(--head); flex: none; overflow: hidden; box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--hair); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 24px; border-radius: var(--radius); margin-top: 48px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.author-box .avatar { width: 64px; height: 64px; font-size: 20px; }
.author-box h3 { font-size: 1.04rem; margin-bottom: 4px; }
.author-box p { font-size: 15px; color: var(--muted); margin: 0 0 8px; }

.cta-band { padding: 76px 0; }
.cta-band .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; color: #c4cbe6; }

/* faq: smooth disclosure */
.faq { max-width: 820px; }
.faq details { box-shadow: inset 0 1px 0 var(--line); }
.faq details:last-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 48px 20px 0; position: relative; font: 600 1.04rem/1.45 var(--head); letter-spacing: -.01em; color: var(--ink); transition: color .25s var(--ease); }
.faq summary:hover { color: var(--blue-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--fill) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23131a36' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .5s var(--spring), background-color .25s var(--ease); }
.faq details[open]:not(.closing) summary::after { transform: rotate(180deg); }
.faq .answer { padding: 0 0 22px; color: var(--text); }

/* setup guide */
.compare { display: grid; gap: 16px; }
@media (min-width: 900px) { .compare { grid-template-columns: repeat(3, 1fr); } }
.compare .card dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; }
.compare dt { color: var(--muted); }
.compare dd { margin: 0; color: var(--ink); font-weight: 500; }
.timeline { list-style: none; padding: 0; margin: 0; counter-reset: t; max-width: 820px; }
.timeline li { counter-increment: t; position: relative; padding: 0 0 26px 58px; }
.timeline li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--mono); color: var(--blue-ink); background: var(--blue-soft); box-shadow: inset 0 0 0 1px rgba(43, 94, 216, .12); }
.timeline li::after { content: ""; position: absolute; left: 19.5px; top: 44px; bottom: 4px; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; color: var(--ink); font-weight: 600; padding-top: 8px; }
.timeline span { color: var(--muted); font-size: 15px; }
.calendar { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--white); }
.calendar th, .calendar td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.calendar th { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
.calendar td:first-child { font: 500 14px var(--mono); color: var(--blue-ink); white-space: nowrap; }
.note-box { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--muted); }

/* services */
.service { display: grid; gap: 28px; padding: 56px 0; box-shadow: inset 0 1px 0 var(--line); scroll-margin-top: calc(var(--header) + 24px); }
@media (min-width: 900px) { .service { grid-template-columns: 340px 1fr; gap: 64px; } }
.service .icon { margin-bottom: 18px; }
.service h2 { font-size: 1.7rem; }
@media (min-width: 700px) { .service .includes { columns: 2; column-gap: 36px; } }
.service .includes li { break-inside: avoid; }
.steps3 { display: grid; gap: 16px; counter-reset: st; }
@media (min-width: 900px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.steps3 .card::before { counter-increment: st; content: "Step " counter(st); font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); }

/* about */
.profile { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .profile { grid-template-columns: 340px 1fr; gap: 72px; } }
.portrait { aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--navy); color: var(--white); display: grid; place-items: center; font: 500 64px var(--head); letter-spacing: .02em; box-shadow: var(--depth-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait.placeholder { background-image: linear-gradient(var(--navy-line) 1px, transparent 1px), linear-gradient(90deg, var(--navy-line) 1px, transparent 1px); background-size: 40px 40px; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; font-size: 15px; }
.facts li { padding: 10px 0; box-shadow: inset 0 1px 0 var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.facts li b { font: 500 11.5px/1.9 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.career { list-style: none; padding: 0; margin: 0; }
.career li { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 16px 0; box-shadow: inset 0 1px 0 var(--line); }
.career li:last-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.career time { font: 500 13px/1.8 var(--mono); color: var(--blue-ink); }
.career b { color: var(--ink); display: block; }
.career span { color: var(--muted); font-size: 15px; }
@media (max-width: 520px) { .career li { grid-template-columns: 1fr; gap: 4px; } }

/* contact: macOS-style controls */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.25fr .75fr; gap: 64px; } }
.form { display: grid; gap: 18px; }
.form .row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 7px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); padding: 12px 14px; border: 0; border-radius: 10px; background-color: var(--white); box-shadow: inset 0 0 0 1px #cfd5e4, 0 1px 1px rgba(19, 26, 54, .04); transition: box-shadow .3s var(--ease); -webkit-appearance: none; appearance: none; }
.field select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 8l3-3 3 3M7 12l3 3 3-3' fill='none' stroke='%235d6481' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/16px no-repeat; padding-right: 40px; cursor: pointer; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px #b9c1d6, 0 1px 1px rgba(19, 26, 54, .04); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 4px rgba(70, 127, 247, .22); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; color: var(--text); padding: 9px 14px 9px 11px; border-radius: 999px; cursor: pointer; margin: 0; background: var(--white); box-shadow: inset 0 0 0 1px #cfd5e4; transition: box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), transform .35s var(--spring); user-select: none; }
.chips label:hover { box-shadow: inset 0 0 0 1px #b2bbd2; }
.chips label:active { transform: scale(.95); }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label::before { content: ""; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #b2bbd2; background: var(--white) center/10px no-repeat; transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .45s var(--spring); }
.chips label:has(input:checked) { background: var(--blue-soft); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(43, 94, 216, .45); }
.chips label:has(input:checked)::before { background-color: var(--blue-ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); box-shadow: none; transform: scale(1.08); }
.chips label:has(input:focus-visible) { box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 4px rgba(70, 127, 247, .22); }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--blue-ink); width: 16px; height: 16px; }
.form-status { font-size: 15px; border-radius: 12px; margin: 0; max-height: 0; opacity: 0; padding: 0 16px; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s var(--ease), padding .4s var(--ease); }
.form-status[data-state] { max-height: 200px; opacity: 1; padding: 14px 16px; }
.form-status[data-state="ok"] { background: #eaf6ee; color: #1d6b38; }
.form-status[data-state="error"] { background: #fdecec; color: #9b2c2c; }
.hp { position: absolute; left: -5000px; }
.contact-card { border-radius: var(--radius); padding: 26px; background: var(--white); box-shadow: var(--depth-1), inset 0 0 0 1px var(--line); }
.contact-card dl { margin: 0; }
.contact-card dt { font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; color: var(--ink); }
.contact-card dd a { font-weight: 600; }
.next-steps { list-style: none; padding: 0; margin: 18px 0 0; counter-reset: n; }
.next-steps li { counter-increment: n; position: relative; padding: 0 0 14px 34px; font-size: 15px; }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-ink); font: 600 12px/22px var(--body); text-align: center; }

/* footer */
.site-footer { padding: 64px 0 36px; font-size: 15px; }
.site-footer:not(.compact) { box-shadow: inset 0 1px 0 var(--navy-line); }
.site-footer .top { display: grid; gap: 36px; padding-bottom: 40px; box-shadow: inset 0 -1px 0 var(--navy-line); }
@media (min-width: 900px) { .site-footer .top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer img { height: 32px; width: auto; margin-bottom: 18px; }
.site-footer h3 { font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #9fb0e6; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer .bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 22px; font-size: 13px; color: #9aa3c7; }
.site-footer.compact { padding: 24px 0; }
.site-footer.compact .bottom { padding-top: 0; align-items: center; }
.site-footer.compact nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer.compact nav a { color: #c4cbe6; }

/* ------------------------------------------------------------ scene: twelve months */
.scene-cal { position: relative; }
.scene-cal .sticky { padding: 88px 0; }
.scene-cal .wrap { width: 100%; }
.cal-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 34px; }
.cal-head h2 { margin: 0; }
.cal-count { margin: 0; font: 500 12px var(--mono); letter-spacing: .12em; color: #9fb0e6; text-transform: uppercase; display: flex; align-items: baseline; gap: 10px; }
.cal-count b { color: var(--white); font: 500 30px/1 var(--head); letter-spacing: -.02em; min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; }
.cal { display: grid; grid-template-columns: minmax(130px, 200px) 1fr; column-gap: 22px; }
.cal-months, .cal-track { display: grid; grid-template-columns: repeat(12, 1fr); }
.cal-months { grid-column: 2; font: 500 11px var(--mono); letter-spacing: .12em; color: #8e9ccc; padding-bottom: 12px; box-shadow: inset 0 -1px 0 var(--navy-line); }
.cal-months span { padding-left: 2px; }
.cal-row { display: contents; }
.cal-label { font: 500 12px/1.35 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #e3e8fb; padding: 18px 0; box-shadow: inset 0 -1px 0 var(--navy-line); transition: color .6s var(--ease); }
.cal-label small { display: block; color: #8e9ccc; letter-spacing: .03em; text-transform: none; font-size: 11px; margin-top: 2px; }
.cal-track { position: relative; box-shadow: inset 0 -1px 0 var(--navy-line); align-items: center; background-image: linear-gradient(90deg, var(--navy-line) 1px, transparent 1px); background-size: calc(100% / 12) 100%; }
.cal-track .bar { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(127, 156, 249, .55); transform-origin: left; transform: scaleX(var(--fill, 1)); }
.cal-cell { position: relative; height: 100%; }
.cal-dot { position: absolute; top: 50%; left: calc(var(--day, 10) / 31 * 100%); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(70, 127, 247, .2), 0 0 14px rgba(70, 127, 247, .55); z-index: 1; }
.cal-dot.big { width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; background: var(--white); box-shadow: 0 0 0 5px rgba(255, 255, 255, .14), 0 0 18px rgba(255, 255, 255, .45); }
.cal-dot em { position: absolute; left: 50%; bottom: 15px; transform: translateX(-50%); font: 500 10px var(--mono); font-style: normal; letter-spacing: .06em; color: #c4cbe6; white-space: nowrap; }
.cal-tag { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 30px; margin-top: 40px; }
.cal-tag p { margin: 0; font: 500 clamp(1.8rem, 1.1rem + 2.6vw, 3.2rem)/1.08 var(--head); letter-spacing: -.025em; color: var(--white); }
.cal-tag p span { color: #8fabff; }
.cal-tag small { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #9fb0e6; }
@media (max-width: 760px) {
  .cal { grid-template-columns: 1fr; }
  .cal-months { grid-column: 1; }
  .cal-months span { padding-left: 0; text-align: center; font-size: 9.5px; letter-spacing: 0; }
  .cal-label { padding: 11px 0 0; box-shadow: none; font-size: 11px; }
  .cal-label small { display: inline; margin-left: 6px; }
  .cal-track { height: 28px; }
  .cal-dot em { display: none; }
  .cal-head { margin-bottom: 22px; }
  .cal-tag { margin-top: 26px; }
  .scene-cal .sticky { padding: 64px 0; }
}
@media (max-height: 820px) and (min-width: 761px) {
  .cal-label { padding: 13px 0; }
  .cal-head { margin-bottom: 22px; }
  .cal-tag { margin-top: 24px; }
  .scene-cal h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem); }
}

.years { list-style: none; padding: 0; margin: 0; }
.years li { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: baseline; padding: 17px 0; box-shadow: inset 0 1px 0 var(--navy-line); }
.years li:last-child { box-shadow: inset 0 1px 0 var(--navy-line), inset 0 -1px 0 var(--navy-line); }
.years time { font: 500 1.9rem/1 var(--head); color: var(--white); letter-spacing: -.02em; }
.years b { display: block; color: var(--white); font-weight: 600; }
.years span { color: #c4cbe6; font-size: 15px; }

/* ------------------------------------------------------------ finale: the end card */
.finale { position: relative; min-height: calc(100svh - var(--header)); display: grid; place-items: center; text-align: center; padding: 110px 0 90px; background-color: #fbfcfe; background-image: linear-gradient(rgba(28, 36, 75, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 36, 75, .05) 1px, transparent 1px); background-size: 64px 64px; background-position: center -1px; overflow: hidden; }
.finale::before { content: ""; position: absolute; inset: 0; background: radial-gradient(58% 52% at 50% 50%, #fbfcfe 35%, rgba(251, 252, 254, 0) 100%); }
.finale > .wrap { position: relative; width: 100%; }
.finale .eyebrow { color: var(--blue-ink); font-size: 13px; letter-spacing: .3em; margin-bottom: 30px; }
.finale-mark { margin: 0 auto; }
.finale-mark img { width: min(600px, 74vw); height: auto; margin: 0 auto; }
.finale-role { font: 500 12.5px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 26px 0 0; }
.finale-rule { width: min(620px, 82%); height: 1px; margin: 42px auto 34px; background: var(--line); position: relative; }
.finale-rule .draw { position: absolute; inset: 0; background: var(--navy); }
.finale-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 46px; font: 500 14px/1.55 var(--mono); letter-spacing: .02em; color: var(--ink); }
.finale-contact a { color: var(--ink); border-radius: 6px; }
.finale-contact a:hover { color: var(--blue-ink); }
.finale-contact small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.finale .hero-actions { justify-content: center; margin-top: 46px; }
@media (max-width: 600px) {
  .finale { padding: 64px 0 56px; }
  .finale .eyebrow { font-size: 11px; letter-spacing: .22em; margin-bottom: 22px; }
  .finale-mark img { width: 82vw; }
  .finale-role { margin-top: 18px; font-size: 11px; letter-spacing: .16em; }
  .finale-rule { margin: 26px auto 22px; }
  .finale-contact { flex-direction: column; gap: 12px; font-size: 13px; }
  .finale .hero-actions { margin-top: 28px; }
}

/* ------------------------------------------------------------ motion
   Hidden-until-revealed states apply only with JS running and motion allowed. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity .9s var(--ease), transform 1s var(--ease), box-shadow .45s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms)); }
  .js [data-reveal="fade"] { transform: none; }
  .js [data-reveal="left"] { transform: translate3d(-28px, 0, 0); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js [data-reveal].settled { transition-delay: 0s; transition-duration: .45s; }
  .js .lines .ln { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
  .js .lines .ln > span { display: block; transform: translate3d(0, 108%, 0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 120ms + var(--d, 0ms)); }
  .js .lines.in .ln > span { transform: none; }
  .js .draw { transform: scaleX(0); transform-origin: left center; transition: transform 1.4s var(--ease); transition-delay: var(--d, 0ms); }
  .js .draw.in { transform: scaleX(1); }

  .js .setup-card { opacity: 0; transform: translate3d(0, 40px, 0) scale(.97); transition: opacity 1s var(--ease) .35s, transform 1.3s var(--spring) .35s; }
  .js .setup-card.in { opacity: 1; transform: none; }
  .js .setup-steps li { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 150ms + 900ms); }
  .js .setup-card.in .setup-steps li { opacity: 1; transform: none; }
  .js .setup-steps li::after { opacity: 0; transform: scale(.2); transition: opacity .3s var(--ease), transform .55s var(--spring); transition-delay: calc(var(--i, 0) * 150ms + 1250ms); }
  .js .setup-card.in .setup-steps li::after { opacity: 1; transform: none; }

  .js .scene-cal { height: 290vh; }
  .js .scene-cal .sticky { position: sticky; top: var(--header); height: calc(100svh - var(--header)); display: flex; align-items: center; padding: 0; overflow: hidden; }
  .js .scene-cal .cal-dot { opacity: 0; transform: scale(0); transition: opacity .3s var(--ease), transform .6s var(--spring); }
  .js .scene-cal .cal-dot.on { opacity: 1; transform: none; }
  .js .scene-cal .cal-label { color: #56638f; }
  .js .scene-cal .cal-row.on .cal-label { color: #e3e8fb; }
  .js .scene-cal .bar { transform: scaleX(var(--fill, 0)); }
  .js .scene-cal .cal-tag { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .9s var(--ease), transform 1s var(--ease); }
  .js .scene-cal .cal-tag.on { opacity: 1; transform: none; }

  .js .finale-mark img { opacity: 0; filter: blur(18px); transform: translate3d(0, 18px, 0) scale(1.04); transition: opacity 1.2s var(--ease) .25s, filter 1.4s var(--ease) .25s, transform 1.6s var(--ease) .25s; }
  .js .finale-mark.in img { opacity: 1; filter: blur(0); transform: none; }

  /* page to page: a quiet cross-fade with a slight lift */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .26s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
}
@keyframes vt-out { to { opacity: 0; transform: scale(.994); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
