/*
 * 3DCDesign public site.
 * Tokens come from the app (teal #004E61, Resources/Styles/Colors.xaml) and the
 * icon (slate #233941, filament green #4CEA70, glyph off-white #F7F8F8). Green is
 * used only on the slate bands: it fails contrast on white. The CSP forbids
 * scripts, inline styles and external fonts, so every interaction here is HTML
 * and CSS only. Every text pair below meets WCAG 4.5:1.
 */
:root {
    color-scheme: light dark;
    --page: #f7f8f8;
    --surface: #ffffff;
    --surface-muted: #ecf2f4;
    --text: #172028;
    --muted: #4d5a64;
    --accent: #004e61;
    --accent-strong: #004e61;
    --accent-hover: #00394a;
    --accent-text: #ffffff;
    --tint: #dceff3;
    --border: #cbd6da;
    --field-border: #6b7a84;
    --focus: #005fcc;
    --success: #1f7a3f;
    --shadow: 0 1.25rem 2.5rem -1.5rem rgb(23 32 40 / 0.35);
    --device-edge: rgb(255 255 255 / 0.08);

    /* Brand bands (header, hero, calls to action, footer) stay slate in both
       schemes, like the icon itself. */
    --ink: #233941;
    --ink-deep: #16262c;
    --ink-raised: #1b2e35;
    --ink-border: #3a5560;
    --ink-text: #f7f8f8;
    --ink-muted: #c3d3d9;
    --ink-accent: #4cea70;
    --ink-accent-hover: #7ef198;
    --ink-accent-text: #0b2414;
    --ink-link: #8fdceb;

    --radius: 1rem;
    --radius-small: 0.6rem;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.55;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (prefers-color-scheme: dark) {
    :root {
        --page: #0e1216;
        --surface: #161b21;
        --surface-muted: #1c232a;
        --text: #e8eef1;
        --muted: #a8b5bd;
        --accent: #4fc3d9;
        --accent-strong: #7fd3e3;
        --accent-hover: #7fd3e3;
        --accent-text: #06222a;
        --tint: rgb(79 195 217 / 0.16);
        --border: #2c3640;
        --field-border: #6e7e89;
        --focus: #7ab8ff;
        --success: #4cea70;
        --shadow: 0 1.25rem 2.5rem -1.5rem rgb(0 0 0 / 0.7);
        --device-edge: rgb(255 255 255 / 0.18);
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Keeps focused controls and fragment targets clear of the sticky header. */
    scroll-padding-block-start: 6rem;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text);
    background: var(--page);
}

main {
    flex: 1 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent-strong);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 0.2rem solid var(--focus);
    outline-offset: 0.18rem;
}

main:focus {
    outline: none;
}

.shell {
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 30;
    inset-block-start: 0.5rem;
    inset-inline-start: 0.5rem;
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-small);
    transform: translateY(-160%);
    color: var(--ink-accent-text);
    background: var(--ink-accent);
    font-weight: 750;
}

.skip-link:focus {
    transform: none;
}

/* ---------- Site header ---------- */

.site-header {
    position: sticky;
    z-index: 20;
    inset-block-start: 0;
    border-block-end: 1px solid var(--ink-border);
    color: var(--ink-text);
    background: color-mix(in srgb, var(--ink) 94%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
}

.site-header a,
.site-footer a {
    color: var(--ink-text);
}

.site-header :focus-visible,
.site-footer :focus-visible,
.band :focus-visible {
    outline-color: var(--ink-accent);
}

.header-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
}

.brand {
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
}

.brand img {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.55rem;
    box-shadow: 0 0 0 1px rgb(255 255 255 / 0.18);
}

.site-nav,
.site-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem 1.4rem;
}

.site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-thickness: 0.12em;
}

.site-header .site-nav a:hover {
    color: var(--ink-text);
}

.site-nav .nav-cta {
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    color: var(--ink-accent-text);
    background: var(--ink-accent);
    font-weight: 800;
}

.site-header .site-nav .nav-cta,
.site-header .site-nav .nav-cta:hover {
    color: var(--ink-accent-text);
    text-decoration: none;
}

.site-nav .nav-cta:hover {
    background: var(--ink-accent-hover);
}

.site-menu {
    display: none;
}

.site-menu > summary {
    min-height: 2.75rem;
    min-width: 2.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--ink-border);
    border-radius: 999px;
    list-style: none;
    font-weight: 700;
    cursor: pointer;
}

.site-menu > summary::-webkit-details-marker {
    display: none;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    display: block;
    width: 1.1rem;
    height: 0.13rem;
    border-radius: 1rem;
    background: currentColor;
}

.menu-icon {
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    position: absolute;
    content: "";
}

.menu-icon::before {
    inset-block-start: -0.36rem;
}

.menu-icon::after {
    inset-block-start: 0.36rem;
}

.site-menu[open] .menu-icon {
    background: transparent;
}

.site-menu[open] .menu-icon::before {
    inset-block-start: 0;
    transform: rotate(45deg);
}

.site-menu[open] .menu-icon::after {
    inset-block-start: 0;
    transform: rotate(-45deg);
}

/* The open menu stays in the page flow (never a fixed overlay), so it scrolls
   and reflows at any zoom and never hides the content that follows it. */
.site-menu .site-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    gap: 0.25rem;
    padding-block: 0.25rem 1.25rem;
}

.site-menu .site-nav-links {
    display: grid;
    gap: 0;
}

.site-menu .site-nav a {
    min-height: 3rem;
    width: 100%;
    justify-content: flex-start;
    padding-inline: 0.25rem;
    border-block-end: 1px solid var(--ink-border);
}

.site-menu .site-nav .nav-cta {
    justify-content: center;
    margin-block-start: 0.75rem;
    border: 0;
}

@media (max-width: 43.99rem) {
    .site-header {
        position: relative;
    }

    .header-row > .site-nav {
        display: none;
    }

    .header-row {
        padding-inline-end: 6.5rem;
    }

    .site-menu {
        display: block;
    }

    .site-menu > summary {
        position: absolute;
        inset-block-start: 0.75rem;
        inset-inline-end: 1rem;
    }
}

/* ---------- Site footer ---------- */

.site-footer {
    margin-block-start: clamp(2rem, 5vw, 4rem);
    padding-block: clamp(2rem, 5vw, 3.5rem) 2rem;
    border-block-start: 1px solid var(--ink-border);
    color: var(--ink-muted);
    background: var(--ink-deep);
}

.home-page .site-footer {
    margin-block-start: 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}

.footer-brand {
    grid-column: 1 / -1;
}

.footer-brand p {
    max-width: 24rem;
}

.site-footer h2 {
    margin-block-end: 0.5rem;
    color: var(--ink-text);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    color: var(--ink-muted);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.site-footer .footer-links a:hover {
    color: var(--ink-text);
    text-decoration: underline;
}

.footer-legal {
    margin-block-start: 2rem;
    padding-block-start: 1.25rem;
    border-block-start: 1px solid var(--ink-border);
    font-size: 0.86rem;
}

.footer-legal p {
    margin-block: 0.4rem;
}

@media (min-width: 56rem) {
    .footer-grid {
        grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: auto;
    }
}

/* ---------- Shared page parts ---------- */

.page-shell {
    padding-block: clamp(1.75rem, 4vw, 3.5rem);
}

.page-intro {
    max-width: 46rem;
    margin-block-end: clamp(1.5rem, 3vw, 2.5rem);
}

/* /app/: the page the printed QR code opens. */
.app-intro {
    margin-inline: auto;
    text-align: center;
}

.app-intro-icon {
    width: 6rem;
    height: auto;
    margin: 0 auto 1.25rem;
    border-radius: 22.5%;
    box-shadow: var(--shadow);
}

.app-intro .store-badges {
    justify-content: center;
    margin-block: 1.5rem;
}

.app-intro-devices {
    display: grid;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.app-intro-devices strong {
    color: var(--text);
}

.app-intro-more {
    margin-block-start: 1.5rem;
}

.hero,
.panel {
    margin-block-end: 1.25rem;
    padding: clamp(1.15rem, 2.5vw, 1.85rem);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.hero {
    background:
        radial-gradient(circle at 100% 0%, var(--tint), transparent 55%),
        var(--surface);
}

.hero.compact {
    max-width: 44rem;
}

.eyebrow {
    margin: 0 0 0.35rem;
    color: var(--accent-strong);
    font-size: 0.84rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    line-height: 1.2;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

h1 {
    margin-block: 0 0.65rem;
    font-size: clamp(1.85rem, 1.3rem + 2.6vw, 3rem);
    letter-spacing: -0.02em;
}

h2,
h3 {
    margin-block-start: 0;
}

.panel h2 {
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
}

p {
    text-wrap: pretty;
}

.notice {
    margin-block: 1.25rem 0;
    padding: 0.85rem 1rem;
    border-inline-start: 0.3rem solid var(--accent);
    border-radius: var(--radius-small);
    background: var(--surface-muted);
    font-weight: 600;
}

.button-link {
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    padding: 0.65rem 1.25rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: var(--accent-text);
    background: var(--accent);
    font: inherit;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}

.button-link:hover {
    color: var(--accent-text);
    border-color: var(--accent-hover);
    background: var(--accent-hover);
}

.secondary-button {
    color: var(--accent-strong);
    background: transparent;
}

.secondary-button:hover {
    color: var(--accent-strong);
    border-color: var(--accent);
    background: var(--tint);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.field-help {
    margin-block: 0.5rem 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.card-list,
.link-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.link-list a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    font-weight: 650;
}

.guidance-list {
    padding-inline-start: 1.4rem;
}

.guidance-list li {
    margin-block: 0.45rem;
}

details > summary {
    min-height: 3rem;
    display: flex;
    align-items: center;
    font-weight: 750;
    cursor: pointer;
}

.account-grid {
    display: grid;
    gap: 1.25rem;
}

.account-grid .panel {
    margin-block-end: 0;
}

.prose {
    max-width: 46rem;
}

.prose section + section {
    margin-block-start: 2rem;
}

.prose h2 {
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    margin-block-end: 0.5rem;
}

.legal-section {
    max-width: 50rem;
    margin-block-start: 2rem;
}

.legal-meta {
    margin-block: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.legal-document {
    margin: 1rem 0 0;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    overflow-wrap: anywhere;
    line-height: 1.7;
}

.legal-document h2 {
    margin-block-end: 0.75rem;
    font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.85rem);
    letter-spacing: -0.01em;
}

.legal-document h3 {
    margin-block: 2.25rem 0.5rem;
    padding-block-start: 1.5rem;
    border-block-start: 1px solid var(--border);
    font-size: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);
}

.legal-document h4 {
    margin-block: 1.5rem 0.4rem;
    font-size: 1.05rem;
}

.legal-document p {
    margin-block: 0.75rem;
}

.legal-document ul,
.legal-document ol {
    margin-block: 0.75rem;
    padding-inline-start: 1.4rem;
}

.legal-document a {
    overflow-wrap: anywhere;
}

.legal-document li {
    margin-block: 0.35rem;
}

.legal-document li::marker {
    color: var(--accent-strong);
}

.version-marker {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9em;
}

/* ---------- Pricing ---------- */

.pricing-grid {
    display: grid;
    gap: 1.25rem;
    margin-block: 0 1.25rem;
}

.plan-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    background: var(--surface);
}

.plan-card h2 {
    margin-block-end: 0.25rem;
    font-size: clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
}

.featured-plan {
    border: 0.15rem solid var(--accent);
    box-shadow: var(--shadow);
}

/* Two classes, so the shared .check-list margin further down cannot remove the
   space above each card's button. */
.plan-card .plan-features {
    flex: 1;
    align-content: start;
    margin-block-end: 1.5rem;
}

.plan-card > .button-link {
    align-self: flex-start;
}

.price-options {
    display: grid;
    gap: 0.75rem;
    margin-block: 1rem 0;
}

.price-option {
    min-width: 0;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    background: var(--surface-muted);
}

.price-option h3 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.price {
    margin-block: 0.25rem;
    color: var(--text);
    font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.price-detail {
    margin: 0;
    color: var(--muted);
}

.faq-block {
    margin-block-start: 2rem;
}

.faq-block h2 {
    max-width: 50rem;
    margin-inline: auto;
    font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
}

/* ---------- Support ---------- */

.contact-grid {
    display: grid;
    gap: 1.25rem;
    margin-block-end: 1.25rem;
}

.contact-card {
    padding: clamp(1.15rem, 2.5vw, 1.6rem);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 100% 0%, var(--tint), transparent 60%),
        var(--surface);
}

.contact-card h3 {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-card p {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.contact-address {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    font-size: clamp(1.15rem, 3.5vw, 1.4rem);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.draft-grid {
    display: grid;
    gap: 0.85rem;
    margin-block-start: 1.25rem;
}

.draft-card {
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    background: var(--surface-muted);
}

.draft-link {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 750;
}

.draft-card p {
    margin: 0.15rem 0 0;
    color: var(--muted);
}

@media (min-width: 48rem) {
    .account-grid,
    .contact-grid,
    .price-options,
    .draft-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }
}

/* ---------- Landing page ---------- */

.home-main {
    padding: 0;
}

.band {
    color: var(--ink-text);
    background: var(--ink);
}

.band a:not(.store-badge) {
    color: var(--ink-link);
}

.section {
    padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section-muted {
    background: var(--surface-muted);
}

.section-head {
    max-width: 44rem;
    margin-block-end: clamp(2rem, 4vw, 3rem);
}

.section-head.centered {
    margin-inline: auto;
    text-align: center;
}

.section-head h2,
.feature-copy h2,
.cta-band h2 {
    margin-block-end: 0.75rem;
    font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.75rem);
    letter-spacing: -0.02em;
}

.lede {
    color: var(--muted);
    font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
}

.band .lede {
    color: var(--ink-muted);
}

.band .eyebrow {
    color: var(--ink-accent);
}

.landing-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(2.5rem, 7vw, 5.5rem) 0;
    background:
        radial-gradient(56rem 30rem at 85% 0%, rgb(79 195 217 / 0.2), transparent 60%),
        radial-gradient(40rem 26rem at 0% 100%, rgb(76 234 112 / 0.1), transparent 60%),
        linear-gradient(170deg, var(--ink) 0%, var(--ink-deep) 100%);
}

.hero-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
    padding-block-end: clamp(2.5rem, 6vw, 5rem);
}

.hero-copy h1 {
    margin-block-end: 1rem;
    font-size: clamp(2.2rem, 1.3rem + 4.4vw, 4.2rem);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.hero-copy h1 .highlight {
    color: var(--ink-accent);
}

.hero-copy .lede {
    max-width: 36rem;
    margin-block: 0 1.75rem;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.store-badges > li {
    display: flex;
}

/* Official artwork is used unmodified. Google's PNG carries transparent
   clear space, so it is scaled until the visible badge matches Apple's
   height and the built-in margin is pulled back with negative margins. */
.store-badge {
    --badge-height: 3rem;
    display: inline-flex;
    border-radius: 0.65rem;
    line-height: 0;
}

.store-badge img {
    width: auto;
    max-width: none;
    height: var(--badge-height);
}

.google-play-en img {
    height: calc(var(--badge-height) * 250 / 168);
    margin: calc(var(--badge-height) * -41 / 168);
}

.hero-note {
    margin-block: 1rem 0;
    color: var(--ink-muted);
    font-size: 0.95rem;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--ink-text);
    font-weight: 600;
}

.hero-points li,
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.check-icon {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    margin-block-start: 0.15rem;
    color: var(--success);
}

.band .check-icon {
    color: var(--ink-accent);
}

/* The hero is led by the app icon on the slate band, with three floating
   feature chips on wide screens. Below 56rem the chips (which repeat the
   headline) are hidden and the icon shrinks, so phones reach the fact strip
   and the first screenshot sooner. */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-stage {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 1.5rem;
    width: min(100%, 30rem);
    padding-block: 1rem;
}

.hero-ring {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    border: 1px solid rgb(247 248 248 / 0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-ring-outer {
    width: min(30rem, 92vw);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgb(76 234 112 / 0.1), transparent 65%);
}

.hero-ring-inner {
    width: min(21rem, 66vw);
    aspect-ratio: 1;
    border-color: rgb(143 220 235 / 0.22);
}

.hero-icon {
    position: relative;
    width: min(13rem, 52vw);
    border-radius: 22.5%;
    box-shadow:
        0 0 0 1px rgb(255 255 255 / 0.14),
        0 2rem 4rem -1.25rem rgb(0 0 0 / 0.65),
        0 0 5rem -0.5rem rgb(76 234 112 / 0.28);
}

.hero-chips {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem 0.45rem 0.45rem;
    border: 1px solid var(--ink-border);
    border-radius: 999px;
    color: var(--ink-text);
    background: color-mix(in srgb, var(--ink-raised) 88%, transparent);
    box-shadow: 0 0.75rem 1.5rem -0.75rem rgb(0 0 0 / 0.6);
    font-size: 0.92rem;
    font-weight: 650;
    white-space: nowrap;
}

.hero-chip .tile-icon {
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0.4rem;
    border-radius: 50%;
    color: var(--ink-accent);
    background: rgb(76 234 112 / 0.14);
}

.fact-strip {
    position: relative;
    z-index: 2;
    border-block: 1px solid var(--ink-border);
    background: var(--ink-raised);
}

/* Explicit columns: one, then two, then all four in a row, so no fact is left
   alone on a line at tablet widths. */
.fact-strip ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem 2rem;
    margin-block: 0;
    padding: 1.5rem 0;
    list-style: none;
}

.fact-strip li {
    display: grid;
    gap: 0.1rem;
}

.fact-strip strong {
    color: var(--ink-text);
    font-size: 1.05rem;
}

.fact-strip span {
    color: var(--ink-muted);
    font-size: 0.93rem;
}

.feature {
    display: grid;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.feature + .feature {
    margin-block-start: clamp(4rem, 9vw, 7rem);
}

.feature-media {
    display: flex;
    justify-content: center;
}

.device {
    width: min(18rem, 78vw);
    margin: 0;
    padding: 0.5rem;
    border-radius: 2.3rem;
    background: #0b1114;
    box-shadow:
        0 0 0 1px var(--device-edge),
        0 2rem 4rem -1.5rem rgb(23 32 40 / 0.55);
}

.device img {
    display: block;
    width: 100%;
    border-radius: 1.85rem;
}

.feature-copy p {
    color: var(--muted);
    font-size: 1.08rem;
}

.check-list {
    display: grid;
    gap: 0.6rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

/* Text-only pictures of what the app records (a print, a price). No figures,
   names or records are invented, so nothing here can go stale or mislead. */
.info-card {
    width: min(22rem, 100%);
    margin: 0;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 100% 0%, var(--tint), transparent 60%),
        var(--surface);
    box-shadow: var(--shadow);
}

.info-card-title {
    margin-block-end: 1rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.info-parts {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-parts li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.75rem;
    border-block-end: 1px dashed var(--border);
    font-weight: 600;
}

/* Decorative markers only: the words carry the meaning. */
.info-dot {
    flex: 0 0 auto;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--accent);
}

.info-parts li:nth-child(2) .info-dot { background: #3f7cc7; }
.info-parts li:nth-child(3) .info-dot { background: #c28a12; }
.info-parts li:nth-child(4) .info-dot { background: #8a5cc2; }
.info-parts li:nth-child(5) .info-dot { background: #6b7a84; }
.info-parts li:nth-child(6) .info-dot { background: #2e9b55; }

.info-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    color: var(--accent-text);
    background: var(--accent);
    font-size: 1.1rem;
    font-weight: 800;
}

.info-total .check-icon {
    color: currentColor;
    margin: 0;
}

.info-note {
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.privacy-card {
    display: grid;
    gap: 1.5rem;
    margin-block-start: clamp(2rem, 4vw, 3rem);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 0% 0%, var(--tint), transparent 55%),
        var(--surface);
    box-shadow: var(--shadow);
}

.privacy-card h2 {
    margin-block-end: 0.5rem;
    font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem);
}

.privacy-card p {
    margin-block: 0;
    color: var(--muted);
}

.privacy-card .privacy-link {
    margin-block-start: 1rem;
}

.privacy-link a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
}

.tile-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.tile {
    padding: 1.4rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.tile h3 {
    margin-block-end: 0.35rem;
    font-size: 1.1rem;
}

.tile p {
    margin: 0;
    color: var(--muted);
}

.tile-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin-block-end: 0.9rem;
    padding: 0.6rem;
    border-radius: 0.8rem;
    color: var(--accent-strong);
    background: var(--tint);
}

.audience-grid {
    display: grid;
    gap: 1.25rem;
}

.audience-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: clamp(1.5rem, 3.5vw, 2.25rem);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    background: var(--surface);
}

.audience-card-premium {
    border: 0.15rem solid var(--accent);
    box-shadow: var(--shadow);
}

.audience-card h3 {
    margin-block-end: 0.35rem;
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
}

.sell-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-block-start: 1.5rem;
}

.pricing-note {
    margin: 0;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-small);
    color: var(--text);
    background: var(--surface-muted);
    font-weight: 600;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
    max-width: 50rem;
    margin-inline: auto;
}

.faq-list details {
    padding: 0.25rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.faq-list summary {
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.6rem;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    flex: 0 0 auto;
    width: 0.65rem;
    height: 0.65rem;
    border-block-end: 0.15rem solid currentColor;
    border-inline-end: 0.15rem solid currentColor;
    transform: rotate(45deg);
    content: "";
}

.faq-list details[open] summary::after {
    transform: rotate(-135deg);
}

.faq-list details p {
    margin-block: 0 1rem;
    color: var(--muted);
}

.cta-band {
    position: relative;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(50rem 20rem at 50% 120%, rgb(76 234 112 / 0.16), transparent 70%),
        linear-gradient(180deg, var(--ink), var(--ink-deep));
}

.cta-band .brand-mark {
    width: 5rem;
    height: auto;
    margin-block-end: 1rem;
    border-radius: 22.5%;
    box-shadow: 0 1rem 2rem -1rem rgb(0 0 0 / 0.6);
}

.cta-band .lede {
    max-width: 34rem;
    margin: 0 auto 2rem;
}

.cta-band .store-badges {
    justify-content: center;
}

/* Desktop visitors scan to reach their phone's store listing. */
.qr-card {
    display: none;
}

@media (min-width: 56rem) and (hover: hover) {
    .qr-card {
        display: inline-flex;
        align-items: center;
        gap: 1rem;
        margin-block-start: 2rem;
        padding: 0.75rem 1.25rem 0.75rem 0.75rem;
        border: 1px solid var(--ink-border);
        border-radius: var(--radius);
        background: var(--ink-raised);
        text-align: start;
    }

    .qr-card img {
        width: 6.5rem;
        height: 6.5rem;
        padding: 0.4rem;
        border-radius: 0.5rem;
        background: #ffffff;
    }

    .qr-card p {
        max-width: 14rem;
        margin: 0;
        color: var(--ink-muted);
    }
}

@media (min-width: 48rem) {
    .audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .privacy-card {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: center;
    }
}

@media (min-width: 56rem) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }

    .hero-stage {
        min-height: 30rem;
        align-content: center;
    }

    .hero-icon {
        width: 12rem;
    }

    .hero-chips {
        position: absolute;
        inset: 0;
        display: block;
    }

    .hero-chip {
        position: absolute;
    }

    .chip-one {
        inset-block-start: 3rem;
        inset-inline-start: 0;
    }

    .chip-two {
        inset-block-end: 5.5rem;
        inset-inline-end: -1rem;
    }

    .chip-three {
        inset-block-end: 1.5rem;
        inset-inline-start: 1rem;
    }

    .feature {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature.reverse .feature-media {
        order: 2;
    }
}

@media (min-width: 30rem) {
    .fact-strip ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 56rem) {
    .fact-strip ul {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 55.99rem) {
    .hero-chips,
    .hero-ring {
        display: none;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .hero-stage {
        width: auto;
        padding-block: 0;
    }

    .hero-icon {
        width: 4.5rem;
        border-radius: 22.5%;
    }

    .hero-grid {
        gap: 1.5rem;
    }

    /* The icon leads the copy on small screens instead of trailing it. */
    .hero-visual {
        order: -1;
    }
}

@media (max-width: 22rem) {

    .store-badge {
        --badge-height: 2.75rem;
    }
}

/* ---------- Features, For sellers, Help and Press ---------- */

/* "On this page" links: plain anchors, so they work with no script. */
.jump-links {
    margin-block-end: clamp(2rem, 4vw, 3rem);
}

.jump-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jump-links a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--accent-strong);
    background: var(--surface);
    font-weight: 650;
    text-decoration: none;
}

.jump-links a:hover {
    border-color: var(--accent);
    background: var(--tint);
}

/* On a phone the pills would wrap into a tall block that pushes every topic below the first
   screen, so they become one row that scrolls sideways. They wrap again from 40rem up. */
@media (max-width: 39.99rem) {
    .jump-links ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding-block: 0.15rem 0.5rem;
        scrollbar-width: thin;
    }

    .jump-links li {
        flex: none;
    }

    .jump-links a {
        white-space: nowrap;
    }
}

.topic {
    margin-block-end: clamp(3rem, 7vw, 5rem);
}

.topic-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    max-width: 50rem;
    margin-block-end: 1.5rem;
}

.topic-head h2,
.faq-topic h2 {
    margin-block-end: 0.5rem;
    font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.1rem);
    letter-spacing: -0.01em;
}

.topic-head .lede {
    margin: 0;
}

.topic-more {
    margin-block: 1.25rem 0;
    font-weight: 650;
}

.shot-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-block: 0 2rem;
}

.shot-row .device {
    width: min(15rem, 70vw);
}

.press-shot {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    margin: 0;
    max-width: 18rem;
    text-align: center;
}

.press-shot figcaption {
    color: var(--muted);
}

.press-shot figcaption a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
}

.topic-sell {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.topic-sell h2 {
    margin-block-end: 0.5rem;
}

.topic-sell .button-row {
    margin-block-start: 1.25rem;
}

.page-cta {
    text-align: center;
}

.page-cta .store-badges {
    justify-content: center;
    margin-block-start: 1rem;
}

.step-list {
    display: grid;
    gap: 1.25rem;
}

.step-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    scroll-margin-block-start: 6rem;
}

.step-card h3 {
    margin-block-end: 0.5rem;
    font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
}

.step-card p {
    color: var(--muted);
}

.step-card .check-list {
    margin-block-start: 0.75rem;
}

/* Keep step text at a readable line length on wide screens, like the other prose blocks. */
.step-card > div {
    max-width: 50rem;
}

.explain-heading {
    margin-block: 2rem 0.35rem;
    font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
}

.tile h4 {
    margin-block: 0.15rem 0.35rem;
    font-size: 1.1rem;
}

.tile .eyebrow {
    margin-block-end: 0;
    color: var(--accent-strong);
}

.two-up {
    margin-block-end: 1.25rem;
}

.faq-topic .faq-list {
    margin-inline: 0;
}

.faq-list details {
    scroll-margin-block-start: 6rem;
}

.faq-links {
    margin-block: 0 1rem;
}

.faq-links li a {
    min-height: 2.75rem;
}

.faq-topic .contact-grid {
    max-width: 50rem;
    margin-block-start: 1.5rem;
}

.faq-topic .notice {
    max-width: 50rem;
}

.fact-list {
    display: grid;
    gap: 0.85rem;
    margin: 0 0 1rem;
}

.fact-list dt {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fact-list dd {
    margin: 0.15rem 0 0;
}

.press-assets {
    display: grid;
    gap: 1.25rem;
    align-items: center;
    margin-block: 1.25rem 2rem;
}

.press-icon {
    width: 7rem;
    height: auto;
    border-radius: 22.5%;
    box-shadow: var(--shadow);
}

.download-list {
    display: grid;
    gap: 0.5rem;
}

.download-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.75rem;
}

.download-list a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.download-list .tile-icon {
    width: 2rem;
    height: 2rem;
    margin: 0;
    padding: 0.35rem;
    border-radius: 0.5rem;
}

.swatch-list {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    margin-block-start: 0.75rem;
}

.swatch-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.swatch {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    forced-color-adjust: none;
}

.swatch-slate {
    background: #233941;
}

.swatch-green {
    background: #4cea70;
}

.swatch-teal {
    background: #004e61;
}

.swatch-white {
    background: #f7f8f8;
}

@media (min-width: 40rem) {
    .press-assets {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .topic-sell {
        grid-template-columns: auto minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

@media (forced-colors: active) {
    .featured-plan,
    .audience-card-premium {
        border-color: CanvasText;
    }

    .device,
    .store-badge,
    .hero-chip,
    .info-total,
    .site-nav .nav-cta,
    .button-link {
        border: 1px solid CanvasText;
    }
}

@media print {
    .site-header,
    .site-menu,
    .skip-link,
    .store-badges,
    .hero-visual,
    .qr-card {
        display: none;
    }

    .band,
    .site-footer {
        color: #000;
        background: none;
    }
}
