/* ==========================================================================
   Printer-M homepage v2 — corporate layout with photography, line icons, motion.
   Mobile first. Shared tokens/buttons/form/footer base live in style.css.
   ========================================================================== */
.home-page { background: var(--white); }
.home-page .section { padding: 80px 0; position: relative; }
.home-page h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); line-height: 1.3; letter-spacing: -0.035em; }
.home-page .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.home-page .eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; flex: none; }
.section-intro { color: var(--muted); font-size: 1rem; margin-top: 16px; max-width: 34em; }
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.ico-lg { width: 40px; height: 40px; stroke-width: 1.25; }
figure { margin: 0; }
img { display: block; }

/* --- Header --------------------------------------------------------------- */
.home-page .logo strong { color: inherit; }
.home-page .header-cta { white-space: nowrap; }
.mobile-cta { display: none; }
@media (max-width: 599px) {
    .home-page .header-cta { display: none; }
    .mobile-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: flex; min-height: 54px; border-radius: 10px; box-shadow: 0 16px 30px -12px rgba(29,78,216,.55); transition: transform .35s var(--ease), opacity .35s var(--ease); }
    .mobile-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
    .home-page .footer { padding-bottom: 96px; }
}
.site-header .header-content { flex-wrap: wrap; gap: 0 10px; }
.brand-symbol { display: grid; place-items: center; width: 32px; height: 32px; flex: none; background: var(--brand); color: #fff; border-radius: 7px; font-weight: 800; font-size: 1.05rem; }
.home-page .logo > span:last-child { font-size: 0.95rem; }
.home-page .header-cta { min-height: 44px; padding: 0 14px; font-size: 0.86rem; gap: 6px; margin-left: auto; }
.home-page .main-nav { order: 3; width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1); border-top: 1px solid var(--paper-2); overflow-x: auto; scrollbar-width: none; }
.home-page .main-nav::-webkit-scrollbar { display: none; }
.home-page .main-nav ul { padding: 0 calc(var(--gutter) - 12px); }
.nav-toggle { display: none; }
/* JS on: hamburger + drop panel on mobile */
@media (max-width: 899px) {
    .js-motion .site-header .header-content { flex-wrap: nowrap; }
    .js-motion .home-page .main-nav { position: absolute; left: 0; right: 0; top: 100%; width: auto; margin: 0; background: var(--white); border-top: 1px solid var(--rule); box-shadow: 0 24px 40px -24px rgba(14,26,47,.35); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; overflow: visible; }
    .js-motion .site-header.menu-open .main-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
    .js-motion .home-page .main-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
    .js-motion .home-page .main-nav a { min-height: 54px; padding: 0; width: 100%; font-size: 1.05rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--paper-2); }
    .js-motion .nav-toggle:not([hidden]) { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; margin-right: -10px; background: none; border: 0; cursor: pointer; color: inherit; }
    .nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
    .menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
/* Transparent header over the hero photo (only when motion.js runs) */
.js-motion .home-page .site-header { position: fixed; left: 0; right: 0; }
.js-motion .home-page .site-header.is-top { background: transparent; border-color: rgba(255,255,255,.14); box-shadow: none; color: #fff; }
.js-motion .home-page .site-header.is-top .logo,
.js-motion .home-page .site-header.is-top .main-nav a { color: #fff; }
.js-motion .home-page .site-header.is-top .header-cta { background: #fff; border-color: #fff; color: var(--ink); }
.js-motion .home-page .site-header.is-top .header-cta:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* --- Hero ----------------------------------------------------------------- */
.hero-section { position: relative; background: var(--paper); }
.hero-stage { position: relative; overflow: hidden; color: #fff; background: var(--navy); min-height: 640px; display: flex; align-items: center; padding: 56px 0 104px; }
.js-motion .home-page .hero-stage { padding-top: calc(var(--header-h) + 48px); min-height: max(680px, 100svh); }
.hero-slides { position: absolute; inset: -40px 0; will-change: transform; }
.hero-slides::after { content: ""; position: absolute; inset: 0; background:
    linear-gradient(180deg, rgba(9,14,26,.8) 0%, rgba(9,14,26,.7) 45%, rgba(9,14,26,.88) 100%); }
/* v3: bright office photos – per-slide focal point */
.hero-slide:nth-child(1) img { object-position: 68% 50%; }
.hero-slide:nth-child(2) img { object-position: 58% 50%; }
.hero-slide:nth-child(3) img { object-position: 62% 50%; }
.hero-copy h1, .hero-copy .hero-lead { text-shadow: 0 1px 24px rgba(9,14,26,.35); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; overflow: hidden; }
.hero-slide.is-active { opacity: 1; }
.hero-slide picture, .hero-slide img { width: 100%; height: 100%; }
.hero-slide img { object-fit: cover; transform-origin: 60% 50%; }
.js-motion:not(.reduced-motion) .hero-slide.is-active img { animation: heroZoom 9s cubic-bezier(.25,.1,.25,1) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero-layout { position: relative; z-index: 1; width: 100%; }
.hero-copy { max-width: 680px; }
.hero-copy .eyebrow { color: var(--brand-light); }
.home-page .hero-copy h1 { color: #fff; font-size: clamp(2.1rem, 5.6vw, 4.4rem); line-height: 1.18; letter-spacing: -0.045em; font-weight: 800; margin-bottom: 22px; text-wrap: balance; }
.home-page h1 span { color: var(--brand-light); }
.desktop-break { display: none; }
.hero-lead { font-size: 1.08rem; line-height: 1.7; color: rgba(255,255,255,.92); font-weight: 500; margin-bottom: 6px; }
.hero-copy > p:not([class]) { color: rgba(255,255,255,.72); font-size: 0.98rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 28px; }
.hero-cta .btn { flex: 1 1 150px; min-height: 54px; }
.hero-cta .btn-secondary { color: #fff; border-color: rgba(255,255,255,.7); }
.hero-cta .btn-secondary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-pricebox { border-top: 1px solid rgba(255,255,255,.22); padding-top: 18px; max-width: 520px; }
.hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: 0.95rem; color: rgba(255,255,255,.9); font-weight: 500; }
.hero-price strong { color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero-price-note { font-size: 0.82rem; color: rgba(255,255,255,.62); line-height: 1.7; margin-top: 6px; }
.hero-control { display: flex; align-items: center; gap: 18px; margin-top: 36px; font-size: 0.8rem; letter-spacing: 0.08em; color: rgba(255,255,255,.65); font-variant-numeric: tabular-nums; }
.hero-control[hidden] { display: none; }
.hero-current { color: #fff; font-weight: 700; }
.hero-dots { display: flex; gap: 4px; }
.hero-dot { width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; }
.hero-dot i { position: relative; display: block; width: 100%; height: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero-dot i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active i::after { transform: scaleX(1); }
.is-running .hero-dot.is-active i::after { animation: heroProgress var(--hero-duration, 6500ms) linear both; }
@keyframes heroProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-scroll { display: none; }
.hero-proof { position: relative; z-index: 2; margin-top: -72px; }
.hero-visual { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; }
.visual-caption { display: flex; align-items: center; gap: 8px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); padding: 4px 6px 10px; }
.status-dot { position: relative; width: 8px; height: 8px; background: #19a463; border-radius: 50%; flex: none; }
.js-motion:not(.reduced-motion) .status-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #19a463; opacity: 0; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.visual-footer { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; border-top: 1px solid var(--rule); }
.visual-footer span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 2px 4px; font-size: 0.78rem; font-weight: 600; color: var(--ink-2); text-align: center; white-space: nowrap; }
.visual-footer span + span { border-left: 1px solid var(--rule); }
.visual-footer .ico { color: var(--brand); width: 22px; height: 22px; }
.visual-note { font-size: 0.74rem; color: var(--muted); text-align: center; padding: 8px 0 4px; }

/* --- Screenshot slots ----------------------------------------------------- */
.screen-slot { width: 100%; min-width: 0; aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 20px; text-align: center; background: var(--paper); border: 1px dashed var(--rule-strong); border-radius: 6px; color: var(--muted); }
.screen-slot strong { color: var(--ink); font-size: 1rem; }
.screen-slot span:not(.slot-icon) { font-size: 0.86rem; }
.screen-slot small { font-size: 0.78rem; }
.slot-icon { display: none; }
.screen-slot.has-image { display: block; aspect-ratio: auto; padding: 0; border: 1px solid var(--rule); background: var(--white); overflow: hidden; }
.screen-slot img { display: block; width: 100%; height: auto; }

/* --- Scope strip ---------------------------------------------------------- */
.scope-strip { background: var(--paper); padding: 40px 0 8px; }
.scope-strip p { font-size: 1.05rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-bottom: 18px; }
.scope-strip .container > div { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.scope-strip .container > div span { display: flex; align-items: center; gap: 12px; padding: 18px 16px; background: var(--white); font-size: 0.92rem; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.scope-strip .ico { color: var(--brand); width: 28px; height: 28px; stroke-width: 1.4; }

/* --- Problems ------------------------------------------------------------- */
.problems { background: var(--paper); }
.problems-photo { position: relative; margin: 32px 0 8px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.problems-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); }
.problems-photo:hover img { transform: scale(1.04); }
.problem-grid { display: grid; gap: 14px; margin-top: 24px; }
.problem-grid article { position: relative; display: flex; flex-direction: column; padding: 26px 24px 18px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.problem-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.problem-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.problem-top .ico { color: var(--brand); }
.card-number { font-size: 0.82rem; font-weight: 800; color: var(--rule-strong); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.problem-grid h3 { font-size: 1.16rem; line-height: 1.45; margin-bottom: 10px; }
.problem-grid p { font-size: 0.94rem; color: var(--muted); flex: 1; }
.problem-grid a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 10px; padding-top: 6px; border-top: 1px solid var(--paper-2); font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.problem-grid a:hover { color: var(--brand); text-decoration: none; }

/* --- Features ------------------------------------------------------------- */
.features-section { background: var(--white); }
.section-heading { margin-bottom: 24px; }
.section-heading > p { margin-top: 16px; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.feature-detail { display: grid; gap: 32px; padding: 48px 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.feature-detail + .feature-detail { border-top: 1px solid var(--rule); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); }
.feature-icon .ico { width: 30px; height: 30px; stroke-width: 1.4; }
.feature-copy .eyebrow { display: flex; font-variant-numeric: tabular-nums; }
.feature-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.35; letter-spacing: -0.035em; margin-bottom: 16px; }
.feature-copy > p:not(.eyebrow):not(.feature-note) { font-size: 1rem; line-height: 1.85; }
.check-list { list-style: none; margin-top: 22px; }
.check-list li { position: relative; padding: 9px 0 9px 30px; font-size: 0.96rem; color: var(--ink-2); line-height: 1.55; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.feature-note { margin-top: 20px; padding: 14px 16px; border-radius: 8px; background: var(--paper); font-size: 0.86rem; line-height: 1.7; color: var(--muted); }
.stock-flow { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.stock-flow li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 8px; font-size: 0.88rem; font-weight: 600; color: var(--ink); background: var(--white); }
.stock-flow .ico { color: var(--brand); width: 22px; height: 22px; }

.frame { position: relative; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 30px 8px 8px; box-shadow: var(--shadow-md); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.frame::before { content: ""; position: absolute; top: 12px; left: 14px; width: 7px; height: 7px; border-radius: 50%; background: #d9d5cc; box-shadow: 12px 0 0 #d9d5cc, 24px 0 0 #d9d5cc; }
.frame .screen-slot.has-image { border: 0; border-radius: 4px; }
.feature-visual:hover .frame { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-visual { position: relative; }
.feature-visual--accent { padding-bottom: 56px; }
.accent-photo { position: absolute; left: -6px; bottom: 0; width: 42%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 5px solid var(--white); box-shadow: var(--shadow-md); }
.accent-photo img, .main-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-visual--photo { padding-bottom: 40px; }
.main-photo { width: 88%; aspect-ratio: 4 / 3.4; border-radius: var(--radius); overflow: hidden; }
.main-photo img { object-position: 50% 35%; transition: transform 1.2s var(--ease); }
.feature-visual--photo:hover .main-photo img { transform: scale(1.04); }
.inset-frame { position: absolute; right: 0; bottom: 0; width: 62%; padding-top: 22px; }
.inset-frame::before { top: 8px; left: 10px; width: 6px; height: 6px; box-shadow: 10px 0 0 #d9d5cc, 20px 0 0 #d9d5cc; }

/* --- Product tour (dark) -------------------------------------------------- */
.screens-section { background: var(--navy); color: #c9d1de; overflow: hidden; }
.screens-section h2, .screens-section h3 { color: #fff; }
.screens-section .eyebrow { color: var(--brand-light); }
.screens-section .section-intro { color: #9eabbf; }
.screen-tabs { display: flex; gap: 6px; margin: 36px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 2px; overflow-x: auto; scrollbar-width: none; }
.screen-tabs::-webkit-scrollbar { display: none; }
.screen-tabs[hidden] { display: none; }
.screen-tab { flex: none; min-height: 46px; padding: 0 18px; font: inherit; font-size: 0.92rem; font-weight: 600; color: #b8c2d3; white-space: nowrap; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.screen-tab:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.screen-tab[aria-selected="true"] { color: var(--ink); background: #fff; border-color: #fff; }
.screen-panels { margin-top: 28px; }
.screen-panel[hidden] { display: none; }
.screen-panel:not([hidden]) { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.screen-panel:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 6px; }
.screen-panel h3 { font-size: 1.3rem; margin-bottom: 6px; }
.screen-panel > p { font-size: 0.95rem; color: #9eabbf; margin-bottom: 20px; max-width: 40em; }
.screen-panel .screen-slot { background: var(--navy-2); border-color: rgba(255,255,255,.18); color: #9eabbf; border-radius: var(--radius); }
.screen-panel .screen-slot strong { color: #fff; }
.screen-panel .screen-slot.has-image { border: 0; padding: 8px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.screen-panel .screen-slot.has-image img { border-radius: 4px; }
.screen-zoom { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; margin-top: 16px; padding: 0 18px; font: inherit; font-size: 0.9rem; font-weight: 600; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; cursor: zoom-in; transition: background-color .2s, color .2s; }
.screen-zoom[hidden] { display: none; }
.screen-zoom::before { content: "+"; font-weight: 400; font-size: 1.15rem; line-height: 1; }
.screen-zoom:hover { background: #fff; color: var(--ink); }

/* --- Pricing -------------------------------------------------------------- */
.pricing-section { background: var(--paper); }
.pricing-head { text-align: left; }
.plan-grid { margin-top: 36px; display: grid; gap: 16px; }
.plan-card { display: flex; flex-direction: column; padding: 30px 24px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.paid-plan { background: var(--navy); border-color: var(--navy); color: #c9d1de; }
.paid-plan h3, .paid-plan .plan-price { color: #fff; }
.plan-label { align-self: flex-start; font-size: 0.78rem; font-weight: 700; color: var(--brand); background: var(--brand-tint); padding: 5px 10px; border-radius: 999px; }
.paid-plan .plan-label { color: #fff; background: var(--brand); }
.plan-card h3 { font-size: 1.3rem; margin: 14px 0 10px; }
.plan-price { font-size: 2.9rem; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.plan-price b { font-weight: inherit; }
.plan-price > span { display: block; margin-top: 8px; font-size: 0.9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.paid-plan .plan-price { border-color: rgba(255,255,255,.14); }
.paid-plan .plan-price > span { color: #9eabbf; }
.plan-card .check-list { margin: 14px 0 26px; flex: 1; }
.paid-plan .check-list li { color: #e3e8f0; }
.paid-plan .check-list li::before { background-color: rgba(143,178,255,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fb2ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8.5'/%3E%3C/svg%3E"); }
.plan-card .btn { width: 100%; min-height: 52px; }
.paid-plan .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.paid-plan .btn-primary:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.options-card { margin-top: 16px; padding: 26px 24px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; }
.options-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.options-card dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--rule-strong); }
.options-card dt { font-size: 0.95rem; color: var(--ink-2); white-space: nowrap; }
.options-card dd { font-size: 0.95rem; font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.options-card > p { margin-top: 14px; font-size: 0.84rem; color: var(--muted); }

/* --- Getting started ------------------------------------------------------ */
.how-section { background: var(--white); }
.onboarding { list-style: none; display: grid; gap: 14px; margin-top: 36px; counter-reset: step; }
.onboarding li { position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: start; padding: 20px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); }
.step-icon { grid-row: 1 / span 3; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--rule); border-radius: 16px; color: var(--brand); background: var(--paper); transition: background-color .3s, color .3s, border-color .3s; }
.step-icon .ico { width: 30px; height: 30px; stroke-width: 1.4; }
.onboarding li:hover .step-icon { background: var(--brand); color: #fff; border-color: var(--brand); }
.onboarding span { font-size: 0.78rem; font-weight: 800; color: var(--brand); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.onboarding h3 { font-size: 1.08rem; margin: 2px 0 4px; }
.onboarding p { font-size: 0.93rem; color: var(--muted); }

/* --- FAQ ------------------------------------------------------------------ */
.faq-section { background: var(--paper); }
.faq-head > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 10px; font-weight: 700; color: var(--brand); }
.faq-list { margin-top: 28px; display: grid; gap: 10px; }
.faq-list details { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
.faq-list details[open] { border-color: transparent; box-shadow: var(--shadow-md); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; min-height: 60px; padding: 18px 56px 18px 22px; font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: var(--brand); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover { color: var(--brand); }
.faq-list details p { padding: 0 22px 22px; margin-top: -4px; font-size: 0.96rem; line-height: 1.85; color: var(--text); }
.faq-list details[open] p { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* --- Inquiry -------------------------------------------------------------- */
.inquiry-section { background: var(--navy); color: #c9d1de; overflow: hidden; isolation: isolate; }
.inquiry-bg { position: absolute; inset: -60px 0; z-index: -1; }
.inquiry-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.inquiry-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,26,47,.55), rgba(14,26,47,.92)); }
.inquiry-section h2 { color: #fff; }
.inquiry-section .eyebrow { color: var(--brand-light); }
.inquiry-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 1rem; line-height: 1.8; }
.inquiry-copy .check-list li { color: #e6eaf1; }
.inquiry-copy .check-list li::before { background-color: rgba(143,178,255,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fb2ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8.5'/%3E%3C/svg%3E"); }
.inquiry-copy > a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 20px; padding: 0 18px; color: #fff; font-weight: 600; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; transition: background-color .2s, color .2s; }
.inquiry-copy > a:hover { text-decoration: none; background: #fff; color: var(--ink); }
.inquiry-form { margin-top: 36px; padding: 26px 20px; background: var(--white); color: var(--text); border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.no-script { padding: 12px 14px; margin-bottom: 18px; background: var(--paper); font-size: 0.9rem; border-radius: 6px; }

/* --- Footer --------------------------------------------------------------- */
.home-page .footer .container { display: grid; gap: 16px; }
.home-page .footer p + p { margin-top: 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 0.95rem; }
.footer-brand strong { color: #fff; }

/* --- Zoom dialog ---------------------------------------------------------- */
#screen-dialog { border: 0; margin: auto; padding: 12px; max-width: 96vw; max-height: 94vh; background: var(--white); border-radius: 12px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.5); }
#screen-dialog::backdrop { background: rgba(9, 14, 26, .78); }
#screen-dialog img { display: block; width: auto; height: auto; max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 6px; }
.dialog-close { display: flex; align-items: center; min-height: 44px; margin: 0 0 10px auto; padding: 0 18px; font: inherit; font-weight: 600; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; cursor: pointer; }

/* --- Product screenshot zoom dialog --------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    #screen-dialog { transition: opacity .3s var(--ease), transform .35s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete; }
    #screen-dialog { opacity: 0; transform: scale(.97); }
    #screen-dialog[open] { opacity: 1; transform: none; }
    @starting-style { #screen-dialog[open] { opacity: 0; transform: scale(.97); } }
    #screen-dialog::backdrop { transition: background-color .3s ease, overlay .35s allow-discrete, display .35s allow-discrete; }
    @starting-style { #screen-dialog[open]::backdrop { background-color: rgba(9,14,26,0); } }
}

/* ==========================================================================
   ≥ 600px
   ========================================================================== */
@media (min-width: 600px) {
    .hero-cta .btn { flex: 0 0 auto; padding: 0 28px; }
    .scope-strip .container > div { grid-template-columns: repeat(4, 1fr); }
    .problem-grid { grid-template-columns: 1fr 1fr; }
    .stock-flow { grid-template-columns: repeat(4, auto); justify-content: start; }
    .options-card dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
    .onboarding { grid-template-columns: 1fr 1fr; }
    .onboarding li { display: block; padding: 26px 24px; }
    .step-icon { margin-bottom: 20px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
    .inquiry-form { padding: 36px 32px; }
}

/* ==========================================================================
   ≥ 900px — desktop
   ========================================================================== */
@media (min-width: 900px) {
    .home-page .section { padding: 120px 0; }
    .site-header .header-content { flex-wrap: nowrap; gap: 28px; }
    .home-page .main-nav { order: 0; width: auto; margin: 0 0 0 auto; border: 0; overflow: visible; }
    .home-page .main-nav ul { padding: 0; gap: 4px; }
    .home-page .main-nav a { position: relative; font-size: 0.96rem; padding: 0 14px; }
    .home-page .main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
    .home-page .main-nav a:hover::after { transform: scaleX(1); }
    .home-page .header-cta { margin-left: 8px; min-height: 46px; padding: 0 20px; font-size: 0.92rem; }
    .brand-symbol, .privacy-page .logo::before { width: 34px; height: 34px; }

    .hero-stage { padding-bottom: 200px; }
    .js-motion .home-page .hero-stage { min-height: max(760px, 100vh); max-height: 1000px; padding-bottom: 200px; }
    .hero-slides::after { background: linear-gradient(90deg, rgba(9,14,26,.88) 0%, rgba(9,14,26,.74) 34%, rgba(9,14,26,.3) 62%, rgba(9,14,26,.04) 88%), linear-gradient(180deg, rgba(9,14,26,.45) 0%, transparent 22%, transparent 72%, rgba(9,14,26,.45) 100%); }
    .hero-slide:nth-child(1) img { object-position: 80% 45%; }
    .hero-slide:nth-child(2) img { object-position: 70% 50%; }
    .hero-slide:nth-child(3) img { object-position: 75% 50%; }
    .desktop-break { display: inline; }
    .hero-lead { font-size: 1.2rem; }
    .hero-control { position: absolute; right: 64px; bottom: 0; margin: 0; }
    .hero-layout { position: relative; }
    .hero-scroll { position: absolute; right: var(--gutter); bottom: 150px; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,.7); font-size: 0.68rem; letter-spacing: 0.24em; writing-mode: vertical-rl; }
    .hero-scroll:hover { text-decoration: none; color: #fff; }
    .hero-scroll i { position: relative; width: 1px; height: 64px; background: rgba(255,255,255,.25); overflow: hidden; }
    .js-motion:not(.reduced-motion) .hero-scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: scrollLine 2.2s ease-in-out infinite; }
    @keyframes scrollLine { to { top: 100%; } }
    .hero-proof { margin-top: -140px; }
    .hero-visual { padding: 16px 16px 12px; }
    .hero-proof .hero-visual { max-width: 1100px; margin-left: auto; }
    .visual-footer span { flex-direction: row; justify-content: center; gap: 8px; font-size: 0.88rem; padding-top: 14px; }

    .scope-strip { padding: 64px 0 0; }
    .scope-strip .container { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); align-items: center; column-gap: 40px; }
    .scope-strip p { margin: 0; font-size: 1.2rem; line-height: 1.5; }
    .scope-strip .container > div span { padding: 24px 20px; font-size: 0.98rem; }

    .problems-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; align-items: start; }
    .problems-head { position: sticky; top: calc(var(--header-h) + 32px); }
    .problems-photo { margin-top: 40px; aspect-ratio: 5 / 4; }
    .problem-grid { margin-top: 0; gap: 18px; }
    .problem-grid article { padding: 32px 28px 22px; min-height: 300px; }
    .problem-grid { grid-auto-rows: 1fr; align-items: stretch; }

    .section-heading { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; align-items: end; margin-bottom: 40px; }
    .section-heading > p { margin: 0; }
    .feature-detail { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 80px; align-items: center; padding: 88px 0; }
    .feature-detail:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    .feature-detail:nth-of-type(even) .feature-visual { order: -1; }
    .feature-visual--accent { padding-bottom: 70px; }
    .accent-photo { left: -40px; width: 38%; }

    .screens-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; align-items: end; }
    .screens-head .section-intro { margin: 0; }
    .screen-tabs { margin: 48px 0 0; padding: 0; overflow: visible; flex-wrap: wrap; }
    .screen-panels { margin-top: 40px; }
    .screen-panel { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: 56px; align-items: start; }
    .screen-panel h3 { grid-column: 1; grid-row: 1; font-size: 1.5rem; padding-top: 8px; }
    .screen-panel > p { grid-column: 1; grid-row: 2; }
    .screen-panel .screen-slot { grid-column: 2; grid-row: 1 / span 3; }
    .screen-zoom { grid-column: 1; grid-row: 3; justify-self: start; align-self: start; margin-top: 0; }

    .pricing-section > .container { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; align-items: start; }
    .pricing-head { position: sticky; top: calc(var(--header-h) + 32px); }
    .plan-grid { grid-column: 2; grid-row: 1; margin-top: 0; grid-template-columns: 1fr 1fr; gap: 20px; }
    .plan-card { padding: 38px 34px; }
    .plan-price { font-size: 3.2rem; }
    .options-card { grid-column: 2; margin-top: 20px; padding: 32px 34px; }

    .onboarding { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 56px; }
    .onboarding li { border: 0; border-radius: 0; padding: 0 28px 0 0; background: none; }
    .onboarding li:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: 84px; right: 18px; height: 1px; background: repeating-linear-gradient(90deg, var(--rule-strong) 0 6px, transparent 6px 12px); }
    .step-icon { width: 64px; height: 64px; margin-bottom: 26px; }
    .onboarding h3 { font-size: 1.15rem; margin-top: 6px; }

    .faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; align-items: start; }
    .faq-head { position: sticky; top: calc(var(--header-h) + 32px); }
    .faq-list { margin-top: 0; }
    .faq-list summary { font-size: 1.05rem; padding: 22px 64px 22px 28px; }
    .faq-list details p { padding: 0 28px 26px; }

    .inquiry-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 80px; align-items: start; }
    .inquiry-copy { position: sticky; top: calc(var(--header-h) + 40px); padding-top: 16px; }
    .inquiry-form { margin-top: 0; padding: 44px 40px; }

    .home-page .footer .container { grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: start; }
    .footer-brand { grid-column: 1 / -1; margin-bottom: 8px; }
    .home-page .footer .container > p:nth-of-type(1) { grid-row: 2 / span 2; }
    .home-page .footer .container > p:nth-of-type(2) { text-align: right; }
    .home-page .footer .container > p:nth-of-type(3) { text-align: right; align-self: end; }
}
@media (min-width: 900px) and (max-width: 1100px) {
    .home-page .main-nav a { padding: 0 8px; font-size: 0.9rem; }
    .home-page .main-nav a::after { left: 8px; right: 8px; }
    .options-card dl { column-gap: 28px; }
}

/* --- Scroll reveal (only armed by motion.js, never with reduced motion) ---- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--reveal-delay, 0ms), transform .9s var(--ease) var(--reveal-delay, 0ms); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-ready .problem-grid article[data-reveal].is-visible { transition: opacity .9s var(--ease) var(--reveal-delay, 0ms), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
@media (min-width: 900px) {
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
    .frame, .plan-card, .problem-grid article, .problems-photo img, .main-photo img { transition: none !important; }
    .feature-visual:hover .frame, .plan-card:hover, .problem-grid article:hover { transform: none; }
    .screen-panel:not([hidden]), .faq-list details[open] p { animation: none; }
}

/* Security & Trust: reuse the homepage palette, spacing and reveal behavior. */
.home-page .security-section { background: var(--paper); border-top: 1px solid var(--rule); }
.security-heading { max-width: 760px; }
.security-heading .section-intro { max-width: 42em; }
.security-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
.security-card { min-width: 0; padding: 26px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); }
.security-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--brand); background: var(--brand-tint); border-radius: 10px; margin-bottom: 20px; }
.security-card h3 { font-size: 1.08rem; line-height: 1.5; margin-bottom: 12px; }
.security-card p, .security-data p { color: var(--text); font-size: .95rem; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.security-data { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--rule-strong); }
.security-data h3 { font-size: 1.15rem; line-height: 1.5; margin-bottom: 10px; }
.security-data p { max-width: 58em; }
.security-data .text-link { margin-top: 12px; min-height: 44px; }
.security-data a:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
@media (min-width: 600px) {
    .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .security-card:last-child { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
    .security-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
    .security-card { grid-column: span 2; padding: 28px; }
    .security-card:nth-child(4) { grid-column: 2 / span 2; }
    .security-card:last-child { grid-column: 4 / span 2; }
}

/* One supporting illustration above the existing security cards. */
.security-overview { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.security-overview > * { min-width: 0; }
.security-visual { width: 100%; max-width: 600px; justify-self: center; }
.security-visual img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.security-visual figcaption { margin-top: 10px; color: var(--text); font-size: .8rem; line-height: 1.6; text-align: center; word-break: keep-all; overflow-wrap: anywhere; }
@media (min-width: 900px) {
    .security-overview { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
    .security-overview h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); word-break: keep-all; overflow-wrap: anywhere; }
}

/* Keep the privacy policy discoverable within the consolidated protection card. */
.security-card .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: .85rem; line-height: 1.6; }
.security-card .text-link:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
