/* FirmHub mini website (firmhub.app), rows 41, 51-54.
   Light and elegant, with weight: paper and ivory grounds, bold Inter Tight headings, ink text, fine column lines.
   Big real devices (a desktop screen bleeding off the edge, a large iPhone in true proportion) and live notification
   cards. Red is an accent only. Nothing tilts (standing rule). */

@font-face { font-family: "Montserrat"; src: url("assets/fonts/Montserrat-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/Montserrat-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #FBFAF7; --ivory: #F3EFE7; --white: #FFFFFF;
  --ink: #0F1115; --ink-2: #262A31; --muted: #555A63; --line: #E5DFD3; --line-2: #D3CABA;
  --red: #147F57; --red-deep: #147F57; --roof: #147F57; --tint: #E9F3EE; --tint-2: #D6EBE1;
  --head: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ui: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --brandf: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1); --pop: cubic-bezier(.34, 1.56, .64, 1); --inout: cubic-bezier(.65, 0, .35, 1);
  --hd: 68px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--hd); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink-2); font-family: var(--ui); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
main, .hd, .ft { overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 40px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Icons */
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 15px; height: 15px; }
.duo { color: var(--red-deep); stroke-width: 1.7; }
.duo .t { fill: var(--tint-2); }
.ico-tile { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -18px rgba(15, 17, 21, .35); flex: none; }
.ico-tile .ic { width: 30px; height: 30px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--ui); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 500ms var(--pop), box-shadow 250ms var(--inout), background 250ms var(--inout); }
.btn .ic { transition: transform 400ms var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover .ic { transform: translateX(3px); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 14px 30px -16px rgba(168, 50, 63, .9); }
.btn-red:hover { background: var(--red-deep); }
.btn-line { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); }

/* Header */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--hd); background: rgba(251, 250, 247, .97); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow 250ms var(--inout); }
.hd.scrolled { box-shadow: 0 1px 0 var(--line); }
.hd-row { display: flex; align-items: center; gap: 28px; height: 100%; }
.hd-logo img { height: 30px; width: auto; }
.hd-nav { display: flex; gap: 4px; margin-left: auto; }
.hd-nav a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.hd-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease); }
.hd-nav a:hover::after { transform: scaleX(1); }
.hd-cta { height: 42px; padding: 0 20px; font-size: 14px; }

/* Eyebrows, headings */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 600 12px/16px var(--brandf); letter-spacing: .22em; text-transform: uppercase; color: var(--red-deep); }
h2 { margin-top: 14px; font: 700 clamp(36px, 4.2vw, 64px)/1.02 var(--head); letter-spacing: -.025em; word-spacing: .03em; color: var(--ink); }
h2 em, .h1 em { font-style: normal; color: var(--red-deep); }
.sub { margin-top: 18px; max-width: 640px; font-size: 19px; line-height: 1.55; color: var(--muted); }

/* Fine column lines */
.hero-lines { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), rgba(15, 17, 21, .05) calc(12.5% - 1px) 12.5%);
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent); }

/* ================= First screen ================= */
.hero { position: relative; isolation: isolate; height: max(640px, 100svh); padding-top: var(--hd); display: flex; flex-direction: column; overflow: hidden; background: var(--paper); }
.hero::before { content: ""; position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: 46%; background: var(--ivory); }
.hero-in { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; padding-top: 2vh; padding-bottom: 14px; }
.slides { position: relative; flex: 1; min-height: 0; display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(420px, 5fr) minmax(0, 7fr); gap: 3vw; align-items: center; min-height: 0; visibility: hidden; opacity: 0; transition: opacity 700ms var(--inout), visibility 0s linear 700ms; }
.slide.is-on { visibility: visible; opacity: 1; transition: opacity 700ms var(--inout); }
.copy > * { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--inout), transform 1000ms var(--ease); }
.slide.is-on .copy > * { opacity: 1; transform: none; }
.slide.is-on .copy > :nth-child(2) { transition-delay: 80ms; }
.slide.is-on .copy > :nth-child(3) { transition-delay: 160ms; }
.slide.is-on .copy > :nth-child(4) { transition-delay: 240ms; }
.h1 { margin-top: 18px; font: 800 clamp(44px, min(4.8vw, 8.6vh), 84px)/.98 var(--head); letter-spacing: -.03em; word-spacing: .04em; color: var(--ink); }
.lead { margin-top: 24px; max-width: 520px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* The device composition: a big desktop screen running off the right edge, a large iPhone in front (true 9:19.5) */
.devices { position: relative; height: 100%; min-height: 420px; max-height: 760px; align-self: stretch; container-type: size; }
.devices .win { position: absolute; left: 13%; top: 6%; width: min(118%, calc(140cqh - 48px)); }
.devices .iphone { position: absolute; left: 0; bottom: 3%; height: 88%; width: auto; aspect-ratio: 9 / 18.3; }
.win { border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px rgba(15, 17, 21, .1), 0 60px 100px -50px rgba(15, 17, 21, .5), 0 20px 40px -30px rgba(15, 17, 21, .35); }
.win-bar, .lens-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; background: #F1EDE6; border-bottom: 1px solid var(--line); }
.win-bar i, .lens-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9D2C6; }
.win-url { margin-left: 12px; padding: 2px 12px; border-radius: 6px; background: var(--white); font-size: 11.5px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.win-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ivory); }
.win-view img, .ip-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: opacity 700ms var(--inout); }
.win-view img.out, .ip-screen img.out { opacity: 0; }
.iphone { position: relative; border-radius: 15% / 7.2%; background: #0B0B0C; box-shadow: 0 0 0 1.5px #3A3A3C, 0 0 0 3px #1C1C1E, 0 50px 70px -30px rgba(15, 17, 21, .65); }
.ip-btn { position: absolute; width: 3px; background: #2C2C2E; border-radius: 2px; }
.ip-btn.a { left: -4px; top: 17%; height: 4.5%; } .ip-btn.v1 { left: -4px; top: 24.5%; height: 7.5%; } .ip-btn.v2 { left: -4px; top: 34%; height: 7.5%; } .ip-btn.p { right: -4px; top: 28%; height: 12%; }
.ip-screen { position: absolute; inset: 2.75% 5.6%; border-radius: 12% / 5.6%; overflow: hidden; background: #000; }
.ip-island { position: absolute; top: 4%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); border-radius: 99px; background: #000; z-index: 2; }
.slide .win { opacity: 0; translate: 40px 0; transition: opacity 800ms var(--inout), translate 1200ms var(--ease); }
.slide.is-on .win { opacity: 1; translate: 0 0; transition-delay: 100ms; }
.slide .iphone { opacity: 0; translate: 0 40px; transition: opacity 800ms var(--inout), translate 1200ms var(--ease); }
.slide.is-on .iphone { opacity: 1; translate: 0 0; transition-delay: 250ms; }

/* Live notification cards around the devices */
.note { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .96); box-shadow: 0 0 0 1px rgba(15, 17, 21, .06), 0 24px 44px -24px rgba(15, 17, 21, .45); min-width: 240px; max-width: 300px; opacity: 0; translate: 0 18px; transition: opacity 600ms var(--inout), translate 900ms var(--pop); }
.slide.is-on .note { opacity: 1; translate: 0 0; animation: bob 6s var(--inout) infinite alternate; }
.slide.is-on .note.n1 { transition-delay: 700ms; } .slide.is-on .note.n2 { transition-delay: 1100ms; animation-delay: 1s; } .slide.is-on .note.n3 { transition-delay: 1500ms; animation-delay: 2s; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-6px); } }
.note .ni { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); flex: none; }
.note .ni .ic { width: 24px; height: 24px; }
.note b { display: block; font: 600 14px/1.25 var(--ui); color: var(--ink); }
.note small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.note time { margin-left: auto; align-self: flex-start; white-space: nowrap; font-size: 11px; color: var(--muted); padding-left: 8px; }
.note.n1 { right: 4%; top: 0; }
.note.n2 { left: 47%; top: 52%; }
.note.n3 { right: 8%; bottom: 2%; }

/* Hover information */
[data-tip] { position: relative; }
.tip { position: absolute; z-index: 20; left: 50%; bottom: calc(100% + 10px); width: max-content; max-width: 280px; padding: 10px 12px; border-radius: 10px; background: var(--ink); color: #F2F0EC; font: 400 13px/1.45 var(--ui); text-align: left; box-shadow: 0 16px 32px -16px rgba(15, 17, 21, .6); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); pointer-events: none; transition: opacity 220ms var(--inout), transform 400ms var(--ease), visibility 0s linear 220ms; }
.tip b { display: block; margin-bottom: 2px; font-weight: 600; color: #fff; }
.tip::after { content: ""; position: absolute; left: 50%; top: 100%; border: 6px solid transparent; border-top-color: var(--ink); transform: translateX(-50%); }
[data-tip]:hover > .tip, [data-tip]:focus-visible > .tip, [data-tip]:focus-within > .tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 220ms var(--inout), transform 400ms var(--ease); }

/* Slideshow controls */
.hero-ctrl { position: relative; z-index: 5; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dots { display: flex; gap: 18px; flex-wrap: wrap; }
.dots button { display: flex; flex-direction: column; gap: 9px; min-width: 132px; padding: 8px 0 0; border: 0; background: none; color: var(--muted); font: 600 11px/1 var(--brandf); letter-spacing: .14em; text-transform: uppercase; text-align: left; cursor: pointer; }
.dots button i { display: block; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.dots button i::after { content: ""; display: block; height: 100%; width: 0; background: var(--red); }
.dots button[aria-selected="true"] { color: var(--ink); }
.dots button[aria-selected="true"] i::after { animation: bar var(--dur, 7000ms) linear forwards; }
.hero.paused .dots button[aria-selected="true"] i::after { animation-play-state: paused; }
.hero.static .dots button[aria-selected="true"] i::after { animation: none; width: 100%; }
@keyframes bar { to { width: 100%; } }
.arrows { display: flex; gap: 8px; }
.round { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); cursor: pointer; transition: border-color 200ms var(--inout), transform 400ms var(--pop); }
.round:hover { border-color: var(--ink); transform: scale(1.06); }

/* The thin red band at the foot of the first screen */
.hero-band { flex: none; height: 38px; background: var(--red); color: #EEF6F2; }
.band-row { display: flex; align-items: center; justify-content: center; gap: 22px; height: 100%; font: 600 11.5px/1 var(--brandf); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.band-row i { width: 5px; height: 5px; transform: rotate(45deg); background: #C7E3D6; flex: none; }

/* ================= Sections ================= */
.band { position: relative; padding: 96px 0; }
.band-ivory { background: var(--ivory); }

/* Make it yours */
.yours-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4vw; align-items: center; }
.yours-grid > *, .explorer > *, .slide > * { min-width: 0; }
.yours h2 { font-size: clamp(40px, 4.6vw, 70px); }
.firms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.firm { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); cursor: pointer; text-align: left; transition: border-color 250ms var(--inout), box-shadow 300ms var(--inout), transform 500ms var(--pop); }
.firm:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(15, 17, 21, .5); }
.firm[aria-selected="true"] { border-color: var(--ink); }
.firm-logo { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; font: 600 13px/1 Georgia, "Times New Roman", serif; letter-spacing: .02em; }
.firm-name { display: flex; flex-direction: column; min-width: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.firm-name small { font-weight: 400; color: var(--muted); font-size: 12px; }
.firm-sw { margin-left: auto; display: flex; gap: 3px; }
.firm-sw i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.firm .prog { position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; transform-origin: left; transform: scaleX(0); background: var(--ink); border-radius: 2px; }
.firm[aria-selected="true"] .prog { animation: grow var(--dur, 4200ms) linear forwards; }
@keyframes grow { to { transform: scaleX(1); } }
.yours.paused .firm .prog { animation-play-state: paused; }
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--muted); }
.steps b { font: 700 15px/24px var(--head); color: var(--red-deep); }
.steps strong { color: var(--ink); font-weight: 600; }
.devices-yours { height: min(640px, 72vh); }
.devices-yours .win { left: 16%; top: 4%; width: 100%; }
.devices-yours .iphone { height: 90%; bottom: 0; }

/* Features explorer: a zoom lens on the exact part of a screen */
.explorer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; margin-top: 44px; align-items: start; }
.ex-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.ex-item { display: flex; align-items: center; gap: 14px; padding: 13px 4px; border: 0; border-bottom: 1px solid var(--line-2); background: none; text-align: left; cursor: pointer; color: var(--ink-2); font: 600 16px/1.3 var(--ui); transition: color 200ms var(--inout), padding 400ms var(--ease); }
.ex-item .ic { width: 28px; height: 28px; opacity: .8; }
.ex-item .arr { margin-left: auto; width: 18px; height: 18px; opacity: 0; transform: translateX(-6px); transition: opacity 250ms, transform 400ms var(--ease); color: var(--red); }
.ex-item:hover, .ex-item[aria-selected="true"] { color: var(--ink); padding-left: 10px; }
.ex-item[aria-selected="true"] .ic { opacity: 1; }
.ex-item[aria-selected="true"] .arr { opacity: 1; transform: none; }
.ex-panel { position: sticky; top: calc(var(--hd) + 20px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; align-items: center; padding: 32px; border-radius: 26px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -60px rgba(15, 17, 21, .5); }
.ex-text h3 { margin-top: 18px; font: 700 30px/1.1 var(--head); letter-spacing: -.03em; color: var(--ink); }
.ex-text p { margin-top: 12px; color: var(--ink-2); }
.ex-text ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 9px; }
.ex-text li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.ex-text li .ic { color: var(--red); margin-top: 3px; width: 16px; height: 16px; }
.ex-text > * { transition: opacity 300ms var(--inout), transform 500ms var(--ease); }
.ex-panel.swap .ex-text > * { opacity: 0; transform: translateY(8px); }
.lens { position: relative; border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px rgba(15, 17, 21, .1), 0 30px 60px -40px rgba(15, 17, 21, .5); }
.lens-view { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ivory); }
.lens-img { position: absolute; inset: 0; background-repeat: no-repeat; opacity: 0; transform: scale(1.04); transition: opacity 600ms var(--inout), transform 1600ms var(--ease); }
.lens-img.on { opacity: 1; transform: none; }
.lens-note { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; box-shadow: 0 14px 30px -14px rgba(15, 17, 21, .6); }
.lens-note .ic { color: #B6DBCA; width: 16px; height: 16px; }

/* Platforms */
.plat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.plat { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform 500ms var(--pop), box-shadow 300ms var(--inout); }
.plat:hover, .plat:focus-within { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 50px -36px rgba(15, 17, 21, .5); }
.plat strong { display: flex; align-items: center; gap: 8px; font: 700 22px/1.15 var(--head); letter-spacing: -.02em; color: var(--ink); }
.plat p { color: var(--muted); font-size: 15.5px; }
.plat ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 600ms var(--ease), opacity 400ms var(--inout); }
.plat:hover ul, .plat:focus-within ul, .plat:focus ul { max-height: 200px; opacity: 1; }
.plat li { display: flex; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.plat li .ic { width: 15px; height: 15px; color: var(--red); margin-top: 4px; }
.plat .more { font-size: 12.5px; color: var(--muted); }
.plat:hover .more, .plat:focus .more { display: none; }
.badge { font: 600 10px/1 var(--brandf); letter-spacing: .12em; text-transform: uppercase; color: var(--red-deep); border: 1px solid var(--tint-2); border-radius: 999px; padding: 5px 8px; }
.plat:first-child { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Practices */
.practices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.prac { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 20px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); font: 600 15.5px/1 var(--ui); cursor: help; transition: border-color 200ms var(--inout), transform 400ms var(--pop); }
.prac .ic { width: 28px; height: 28px; }
.prac:hover, .prac:focus-visible { border-color: var(--ink); transform: translateY(-2px); }
.prac .tip { max-width: 320px; }
.tip ol { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.tip ol li { display: inline-flex; align-items: center; font-size: 12px; color: #E8E4DE; }
.tip ol li + li::before { content: "→"; margin: 0 6px; color: #147F57; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-2); }
.trust div { display: flex; gap: 14px; font-size: 15.5px; color: var(--muted); }
.trust .ic { width: 32px; height: 32px; }
.trust strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: transform 500ms var(--pop), box-shadow 300ms var(--inout); }
.plan:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -40px rgba(15, 17, 21, .55); }
.plan.pick { box-shadow: inset 0 0 0 1.5px var(--ink); }
.plan.pick::before { content: "Most firms"; position: absolute; top: -12px; left: 30px; padding: 5px 11px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 10px/1.2 var(--brandf); letter-spacing: .14em; text-transform: uppercase; }
.plan-name { display: flex; align-items: center; gap: 12px; font: 700 24px/1.1 var(--head); letter-spacing: -.02em; color: var(--ink); }
.plan-for { font-size: 15px; color: var(--muted); margin-top: -6px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price b { font: 800 54px/1 var(--head); letter-spacing: -.04em; color: var(--ink); }
.plan-price span { font-size: 15px; color: var(--muted); }
.plan ul { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); cursor: help; }
.plan li .ic { width: 16px; height: 16px; color: var(--red); margin-top: 4px; }
.plan li .tip { left: 0; transform: translate(0, 6px); }
.plan li .tip::after { left: 24px; }
.plan li[data-tip]:hover > .tip, .plan li[data-tip]:focus-visible > .tip { transform: translate(0, 0); }
.plan li .q { color: var(--muted); margin-left: auto; width: 14px; height: 14px; margin-top: 4px; opacity: .55; }
.plan .btn { align-self: flex-start; }
.extras-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 72px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.extras-head h3 { font: 700 32px/1.1 var(--head); letter-spacing: -.03em; color: var(--ink); }
.extras-head p { color: var(--muted); font-size: 15.5px; max-width: 520px; }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.extra { display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); cursor: help; transition: padding 400ms var(--ease); }
.extra:hover { padding-left: 6px; }
.extra .ic { width: 36px; height: 36px; }
.extra strong { display: block; color: var(--ink); font-weight: 600; font-size: 16px; }
.extra small { color: var(--muted); font-size: 13.5px; }
.extra em { font-style: normal; font: 700 17px/1 var(--head); color: var(--ink); white-space: nowrap; text-align: right; }
.extra em small { display: block; margin-top: 4px; font: 400 11.5px/1 var(--ui); color: var(--muted); }
.extra .tip { left: 46px; transform: translate(0, 6px); max-width: 320px; }
.extra .tip::after { left: 24px; }
.extra:hover > .tip, .extra:focus-visible > .tip { transform: translate(0, 0); }
.price-note { margin-top: 24px; font-size: 14.5px; color: var(--muted); }

/* Questions */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 19px/1.35 var(--head); letter-spacing: -.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--red); transition: transform 400ms var(--ease); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 640px; color: var(--ink-2); }

/* Contact */
.contact { position: relative; isolation: isolate; padding: 110px 0; background: var(--paper); border-top: 1px solid var(--line); text-align: center; overflow: hidden; }
.contact-in { display: flex; flex-direction: column; align-items: center; }
.hero-mark { display: block; pointer-events: none; overflow: visible; }
.contact-art { width: 132px; height: 132px; margin-bottom: 6px; }
.hero-mark path { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hm-roof { stroke: var(--roof); stroke-width: 1.8; }
.hm-block { stroke: var(--ink); stroke-width: 1.4; }
.contact.in-view .hm-roof { animation: draw 1800ms var(--ease) 100ms forwards; }
.contact.in-view .hm-block { animation: draw 2400ms var(--ease) 600ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.contact h2 { font-size: clamp(40px, 4.6vw, 70px); }
.contact .sub { margin-left: auto; margin-right: auto; }
.contact .cta { justify-content: center; }

.ft { padding: 28px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); background: var(--paper); }
.ft-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ft-row img { height: 22px; width: auto; }
.ft-ko { margin-left: auto; }

.rv { opacity: 0; transform: translateY(20px); transition: opacity 800ms var(--inout), transform 1100ms var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ================= Responsive ================= */
@media (max-width: 1180px) {
  .plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-panel { grid-template-columns: 1fr; }
  .slide { grid-template-columns: minmax(340px, 5fr) minmax(0, 6fr); }
  .note.n2 { display: none; }
}
@media (max-width: 980px) {
  .hd-nav { display: none; }
  .hd-cta { margin-left: auto; }
  .hero { height: auto; min-height: 100svh; }
  .hero::before { width: 100%; top: 52%; }
  .slide, .yours-grid, .explorer, .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .devices { height: 62vw; max-height: 560px; min-height: 0; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .trust { grid-template-columns: 1fr; gap: 18px; }
  .ex-panel { position: static; }
}
/* Phones: compact controls, the content first (owner's rule) */
@media (max-width: 640px) {
  :root { --hd: 56px; }
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .hd-logo img { height: 22px; }
  .btn { height: 34px; padding: 0 14px; font-size: 12.5px; gap: 6px; }
  .btn-lg { height: 36px; font-size: 13px; padding: 0 16px; }
  .btn .ic { width: 14px; height: 14px; }
  .hd-cta { height: 32px; padding: 0 12px; font-size: 12px; }
  .hero-in { padding-top: 14px; gap: 10px; }
  .slide { gap: 12px; align-content: start; }
  .h1 { font-size: 38px; margin-top: 8px; }
  .eyebrow { font-size: 10px; letter-spacing: .16em; }
  .lead { font-size: 14.5px; margin-top: 10px; }
  .cta { margin-top: 14px; gap: 8px; }
  .devices { height: 112vw; max-height: 470px; }
  .devices .win { left: 22%; top: 2%; width: 112%; }
  .devices .iphone { height: 84%; bottom: 2%; }
  .note { min-width: 0; max-width: 200px; padding: 8px 10px 8px 8px; border-radius: 13px; gap: 8px; }
  .note .ni { width: 28px; height: 28px; border-radius: 9px; } .note .ni .ic { width: 17px; height: 17px; }
  .note b { font-size: 11.5px; } .note small { font-size: 10.5px; } .note time { display: none; }
  .note.n1 { right: 0; top: 20%; } .note.n3 { right: 2%; bottom: 6%; }
  .dots { gap: 6px; flex: 1; }
  .dots button { min-width: 0; flex: 1; font-size: 0; padding-top: 4px; gap: 0; }
  .round { width: 32px; height: 32px; }
  .round .ic { width: 14px; height: 14px; }
  .hero-band { height: 28px; }
  .band-row { font-size: 9px; letter-spacing: .12em; gap: 10px; }
  .band-row span:nth-of-type(n+2), .band-row i { display: none; }
  .band { padding: 56px 0; }
  h2 { font-size: 32px; margin-top: 8px; }
  .yours h2, .contact h2 { font-size: 34px; }
  .sub { font-size: 15px; margin-top: 8px; }
  .firms { gap: 6px; margin-top: 16px; }
  .firm { padding: 8px; gap: 8px; border-radius: 12px; }
  .firm-logo { width: 28px; height: 28px; font-size: 10px; border-radius: 8px; }
  .firm-name { font-size: 12px; } .firm-name small, .firm-sw { display: none; }
  .steps li { font-size: 13.5px; padding: 10px 0; }
  .devices-yours { height: 100vw; max-height: 420px; }
  .explorer { margin-top: 22px; gap: 14px; }
  .ex-list { flex-direction: row; overflow-x: auto; border: 0; gap: 6px; padding-bottom: 4px; scrollbar-width: none; }
  .ex-item { flex: none; height: 32px; padding: 0 12px 0 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12.5px; gap: 6px; background: var(--white); }
  .ex-item .ic { width: 18px; height: 18px; } .ex-item .arr { display: none; }
  .ex-item:hover, .ex-item[aria-selected="true"] { padding-left: 8px; border-color: var(--ink); }
  .ex-panel { padding: 14px; gap: 14px; border-radius: 18px; }
  .ex-text h3 { font-size: 21px; margin-top: 8px; }
  .ex-text p, .ex-text li { font-size: 14px; }
  .ico-tile { width: 40px; height: 40px; border-radius: 12px; } .ico-tile .ic { width: 22px; height: 22px; }
  .plat-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .plat { padding: 16px; gap: 10px; border-radius: 16px; }
  .plat strong { font-size: 18px; } .plat p { font-size: 13.5px; }
  .plat ul { max-height: 200px; opacity: 1; } .plat .more { display: none; }
  .practices { gap: 6px; margin-top: 18px; }
  .prac { height: 32px; padding: 0 12px 0 8px; font-size: 12.5px; gap: 6px; }
  .prac .ic { width: 18px; height: 18px; }
  .trust { margin-top: 28px; padding-top: 18px; } .trust div { font-size: 14px; } .trust .ic { width: 24px; height: 24px; }
  .plans { margin-top: 26px; gap: 16px; }
  .plan { padding: 20px; gap: 12px; border-radius: 18px; }
  .plan-price b { font-size: 42px; }
  .plan li { font-size: 14px; }
  .extras-head { margin-top: 40px; } .extras-head h3 { font-size: 22px; } .extras-head p { font-size: 13.5px; }
  .extras { grid-template-columns: 1fr; }
  .extra { grid-template-columns: 34px 1fr auto; padding: 12px 0; gap: 10px; }
  .extra .ic { width: 28px; height: 28px; }
  .extra strong { font-size: 14px; } .extra small { font-size: 12.5px; }
  .faq summary { font-size: 16px; padding: 16px 0; }
  .faq details p { font-size: 14.5px; padding-bottom: 16px; }
  .contact { padding: 64px 0; }
  .contact-art { width: 92px; height: 92px; }
  .ft-ko { margin-left: 0; }
  .tip { max-width: 220px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; animation-delay: 0ms !important; }
  .hero-mark path { stroke-dashoffset: 0; }
  .rv { opacity: 1; transform: none; }
}

/* FirmHub (23 Nov 2026): the real iPhone frame artwork, never a CSS-drawn phone. Screen at the artwork's insets. */
.iphone { aspect-ratio: 855 / 1721 !important; background: transparent; box-shadow: none; border-radius: 0; filter: drop-shadow(0 30px 40px rgba(15, 17, 21, .35)); }
.iphone::after { content: ""; position: absolute; inset: 0; background: url("assets/iphone-frame.png") center / 100% 100% no-repeat; pointer-events: none; z-index: 2; }
.ip-btn { display: none; }
.ip-screen { inset: auto; left: 5.848%; top: 2.382%; width: 88.304%; height: 95.119%; border-radius: 12.05% / 5.56%; background: #0C1311; }
.ip-screen img { top: 5.5%; height: 94.5%; }
