/* ================================================================
   Ice Study — marketing site styles
   Design system: editorial-meets-iOS. Instrument Serif italic accents
   over Geist sans. Frosted glass on icy gradient washes.
   ================================================================ */

:root {
    /* ---- Color tokens ---- */
    --ink: #0B1827;
    --ink-soft: #1E3047;
    --ink-muted: #5B6E89;
    --ink-faint: #94A4BD;

    --ice-50: #F4F9FF;
    --ice-100: #E8F2FF;
    --ice-200: #D5E7FF;
    --ice-300: #B6D4FB;
    --ice-400: #7FB1F4;
    --ice-500: #4F90E9;
    --ice-600: #357AD3;
    --ice-700: #2461B6;
    --ice-900: #0F2A57;

    --bg: #FBFDFF;
    --bg-tint: #EEF5FE;
    --paper: #FFFFFF;

    --glass: rgba(255, 255, 255, 0.62);
    --glass-stroke: rgba(255, 255, 255, 0.85);
    --glass-shadow: 0 30px 80px -30px rgba(15, 42, 87, 0.22),
                    0 8px 24px -12px rgba(15, 42, 87, 0.14);

    --gradient-blue: linear-gradient(180deg, #6BA8F5 0%, #4F90E9 100%);
    --gradient-sky: linear-gradient(180deg, #E5F0FF 0%, #FFFFFF 60%, #EAF2FF 100%);
    --gradient-mesh: radial-gradient(60% 50% at 20% 10%, rgba(127, 177, 244, 0.22), transparent 60%),
                     radial-gradient(50% 40% at 80% 30%, rgba(106, 168, 245, 0.18), transparent 60%),
                     radial-gradient(40% 30% at 50% 90%, rgba(213, 231, 255, 0.6), transparent 70%);

    /* ---- Type ---- */
    --font-display: "Instrument Serif", "Times New Roman", serif;
    --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "Geist Mono", ui-monospace, monospace;

    /* ---- Geometry ---- */
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shell: 1200px;
    --shell-narrow: 920px;
}

/* ================================================================
   Reset
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-feature-settings: "ss01", "cv11";
    color: var(--ink);
    background: var(--bg);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--ice-300); color: var(--ice-900); }

/* ================================================================
   Layout primitives
   ================================================================ */
.shell {
    width: min(100% - 40px, var(--shell));
    margin-inline: auto;
}

.shell-narrow {
    width: min(100% - 40px, var(--shell-narrow));
    margin-inline: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ice-600);
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ice-500);
    box-shadow: 0 0 0 3px rgba(79, 144, 233, 0.18);
}

/* ================================================================
   Typography
   ================================================================ */
.display {
    font-family: var(--font-sans);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
    color: var(--ink);
}

.display em,
.italic-accent {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--ice-600);
}

h2.display { font-size: clamp(36px, 5vw, 64px); }
h3.section-title {
    font-family: var(--font-sans);
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.lede {
    font-size: clamp(17px, 1.4vw, 19px);
    color: var(--ink-muted);
    max-width: 56ch;
    line-height: 1.55;
}

.tiny { font-size: 12px; color: var(--ink-faint); letter-spacing: 0.04em; }

/* ================================================================
   Nav
   ================================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    background: rgba(251, 253, 255, 0.7);
    border-bottom: 1px solid rgba(15, 42, 87, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-size: 17px;
    color: var(--ink);
}

.brand img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color .2s;
}
.nav-links a:hover { color: var(--ice-600); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    transition: transform .2s, box-shadow .2s, background .2s;
}

.btn-primary {
    background: var(--gradient-blue);
    color: #fff;
    box-shadow: 0 12px 28px -10px rgba(53, 122, 211, 0.55),
                0 2px 0 rgba(255,255,255,0.4) inset;
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px -10px rgba(53, 122, 211, 0.65),
                0 2px 0 rgba(255,255,255,0.4) inset;
}

.btn-ghost {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 42, 87, 0.08);
}
.btn-ghost:hover { background: #fff; }

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border-radius: 14px;
    background: #0B1827;
    color: #fff;
    font-weight: 600;
    transition: transform .2s, background .2s;
}
.app-store-btn:hover { transform: translateY(-1px); background: #000; }

.app-store-btn svg { width: 26px; height: 26px; }
.app-store-btn .label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.app-store-btn .label small { font-size: 10px; font-weight: 500; opacity: 0.85; letter-spacing: 0.04em; }
.app-store-btn .label span { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-top: 2px; }

/* ================================================================
   Hero
   ================================================================ */
.hero {
    position: relative;
    padding: 80px 0 120px;
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    z-index: -2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(60% 50% at 50% 0%, rgba(213, 231, 255, 0.85), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-copy { position: relative; z-index: 2; }

.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 12px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 42, 87, 0.06);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 13.5px;
    color: var(--ink-soft);
    box-shadow: 0 6px 18px -8px rgba(15, 42, 87, 0.16);
}

.hero-rating .avatars { display: flex; }
.hero-rating .avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--gradient-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: grid;
    place-items: center;
    box-shadow: 0 1px 4px rgba(15,42,87,0.18);
}
.hero-rating .avatar + .avatar { margin-left: -10px; }
.hero-rating .avatar:nth-child(2) { background: linear-gradient(180deg, #9CC4F8, #5598F0); }
.hero-rating .avatar:nth-child(3) { background: linear-gradient(180deg, #B6D4FB, #4F90E9); }

.hero-rating strong { color: var(--ink); font-weight: 700; }
.hero-rating .stars { color: #F5B83C; letter-spacing: -1px; }

h1.hero-title {
    font-family: var(--font-sans);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.0;
    font-size: clamp(48px, 6.4vw, 88px);
    margin-top: 24px;
    color: var(--ink);
}

h1.hero-title .accent {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--ice-600);
    letter-spacing: -0.02em;
    display: inline-block;
    transform: translateY(2px);
}

h1.hero-title .accent::after {
    content: ".";
    color: var(--ice-500);
}

.hero-lede {
    margin-top: 24px;
    font-size: clamp(17px, 1.45vw, 19px);
    line-height: 1.55;
    color: var(--ink-muted);
    max-width: 50ch;
}

.hero-cta {
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-meta {
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--ink-faint);
    font-size: 13px;
}
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }

/* ---- Hero mockup ---- */
.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1600px;
}

.phone {
    position: relative;
    width: min(340px, 100%);
    aspect-ratio: 9/19.5;
    border-radius: 50px;
    padding: 12px;
    background: linear-gradient(160deg, #1A2A40 0%, #0B1827 50%, #1A2A40 100%);
    box-shadow:
      0 60px 120px -40px rgba(15, 42, 87, 0.5),
      0 30px 60px -30px rgba(15, 42, 87, 0.4),
      inset 0 0 0 1px rgba(255,255,255,0.12);
    transform: rotate(-3deg) translateY(-6px);
    transition: transform .8s cubic-bezier(.2,.8,.2,1);
}

.phone::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 28px;
    border-radius: 14px;
    background: #0B1827;
    z-index: 3;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
    background: #F4F9FF;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.hero-mockup:hover .phone { transform: rotate(-1.5deg) translateY(-12px); }

/* Floating ice decorations */
.ice-float {
    position: absolute;
    pointer-events: none;
    filter: drop-shadow(0 20px 30px rgba(53, 122, 211, 0.2));
    animation: floatSlow 9s ease-in-out infinite;
}

.ice-float-a {
    width: 90px;
    top: -10px;
    left: -30px;
    transform: rotate(-12deg);
    animation-duration: 11s;
}

.ice-float-b {
    width: 60px;
    bottom: -10px;
    right: -10px;
    transform: rotate(20deg);
    animation-duration: 8s;
    animation-delay: -3s;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}

.ice-float-a { --rot: -12deg; }
.ice-float-b { --rot: 20deg; }

/* Sparkles */
.sparkle {
    position: absolute;
    width: 12px;
    height: 12px;
    background:
      radial-gradient(circle, #fff 1px, transparent 2px),
      linear-gradient(transparent 5px, #B6D4FB 5px, #B6D4FB 7px, transparent 7px),
      linear-gradient(90deg, transparent 5px, #B6D4FB 5px, #B6D4FB 7px, transparent 7px);
    background-blend-mode: normal;
    opacity: 0.7;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* ================================================================
   Section: marquee / social proof
   ================================================================ */
.marquee-strip {
    border-top: 1px solid rgba(15, 42, 87, 0.06);
    border-bottom: 1px solid rgba(15, 42, 87, 0.06);
    padding: 28px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F6FAFF 100%);
    overflow: hidden;
}

.marquee-row {
    display: flex;
    align-items: center;
    gap: 56px;
    color: var(--ink-faint);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
}

.marquee-row span {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.marquee-row .sep { color: var(--ice-300); }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ================================================================
   Section: stats band
   ================================================================ */
.stats-band {
    padding: 80px 0 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    padding: 28px;
    background: var(--glass);
    border: 1px solid var(--glass-stroke);
    border-radius: var(--radius-md);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--glass-shadow);
}

.stat-value {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(36px, 4vw, 52px);
    letter-spacing: -0.03em;
    color: var(--ice-600);
    line-height: 1;
}

.stat-label {
    margin-top: 8px;
    font-size: 13px;
    color: var(--ink-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ================================================================
   Section: features (alternating)
   ================================================================ */
.section { padding: 120px 0; }

.section-head {
    text-align: center;
    margin-bottom: 80px;
}

.section-head h2 { margin-top: 14px; }
.section-head .lede { margin: 18px auto 0; text-align: center; }

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 60px 0;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-copy h3 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-top: 18px;
}

.feature-copy h3 em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--ice-600);
}

.feature-copy p {
    margin-top: 18px;
    color: var(--ink-muted);
    font-size: 17px;
    line-height: 1.6;
    max-width: 46ch;
}

.feature-checks { margin-top: 26px; display: grid; gap: 12px; }
.feature-checks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--ink-soft);
}
.feature-checks .check {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--ice-500);
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(53,122,211,0.35);
}

.feature-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-sm {
    width: min(300px, 100%);
    aspect-ratio: 9/19.5;
    border-radius: 44px;
    padding: 10px;
    background: linear-gradient(160deg, #1A2A40 0%, #0B1827 50%, #1A2A40 100%);
    box-shadow:
      0 50px 100px -40px rgba(15, 42, 87, 0.4),
      0 20px 40px -20px rgba(15, 42, 87, 0.3);
    position: relative;
}

.phone-sm::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 86px;
    height: 24px;
    border-radius: 12px;
    background: #0B1827;
    z-index: 3;
}

.phone-sm .phone-screen { border-radius: 34px; }

.feature-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(127, 177, 244, 0.35), transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

/* ================================================================
   Section: pillars (3-card grid)
   ================================================================ */
.pillars {
    background: linear-gradient(180deg, #FFFFFF 0%, #EFF6FF 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.pillars::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 177, 244, 0.18), transparent 70%);
    top: 5%;
    right: -10%;
    pointer-events: none;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.pillar {
    padding: 36px 30px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(15, 42, 87, 0.06);
    box-shadow: 0 30px 60px -40px rgba(15, 42, 87, 0.2);
    transition: transform .3s, box-shadow .3s;
}

.pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 80px -40px rgba(15, 42, 87, 0.3);
}

.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--gradient-blue);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 24px -8px rgba(53,122,211,0.45);
}

.pillar-icon svg { width: 28px; height: 28px; }

.pillar h4 {
    margin-top: 20px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pillar p {
    margin-top: 10px;
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.55;
}

/* ================================================================
   Section: stats showcase (dark)
   ================================================================ */
.stats-showcase {
    background: linear-gradient(160deg, #0B1827 0%, #1F3E6E 100%);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    margin: 60px 20px;
}

.stats-showcase::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 177, 244, 0.25), transparent 70%);
    top: -20%;
    left: -10%;
    pointer-events: none;
}

.stats-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(255,255,255,0.025) 39px, rgba(255,255,255,0.025) 40px),
      repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(255,255,255,0.025) 39px, rgba(255,255,255,0.025) 40px);
    pointer-events: none;
    z-index: 0;
}

.stats-showcase .shell { position: relative; z-index: 1; }

.showcase-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.showcase-copy .eyebrow { color: var(--ice-300); }
.showcase-copy .eyebrow::before { background: var(--ice-400); box-shadow: 0 0 0 3px rgba(127,177,244,0.25); }

.showcase-copy h2 {
    font-family: var(--font-sans);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-top: 18px;
}
.showcase-copy h2 em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--ice-300);
}

.showcase-copy p {
    margin-top: 20px;
    color: rgba(255,255,255,0.72);
    font-size: 17px;
    line-height: 1.6;
    max-width: 48ch;
}

.showcase-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.mini-stat {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
}

.mini-stat .v {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ice-300);
}

.mini-stat .l {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

.showcase-phone .phone-sm {
    background: linear-gradient(160deg, #2A3D5C 0%, #11203A 100%);
    box-shadow:
      0 60px 100px -30px rgba(0,0,0,0.55),
      0 20px 50px -10px rgba(0,0,0,0.4);
}

/* ================================================================
   Section: testimonials
   ================================================================ */
.testimonials {
    padding: 120px 0;
    background: linear-gradient(180deg, #F6FAFF 0%, #FFFFFF 100%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.t-card {
    padding: 28px;
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(15, 42, 87, 0.05);
    box-shadow: 0 30px 60px -45px rgba(15, 42, 87, 0.22);
    position: relative;
    transition: transform .3s;
}

.t-card:hover { transform: translateY(-3px); }

.t-card .quote-mark {
    font-family: var(--font-display);
    font-size: 64px;
    line-height: 0.5;
    color: var(--ice-300);
    margin-bottom: 4px;
}

.t-stars {
    display: flex;
    gap: 2px;
    color: #F5B83C;
    font-size: 13px;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.t-card p {
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.t-author {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.t-author .meta { font-size: 13px; }
.t-author .meta strong { color: var(--ink); font-weight: 600; display: block; }
.t-author .meta small { color: var(--ink-faint); font-size: 12px; }

/* Make some cards span differently for visual interest */
.t-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #F4F9FF 0%, #E8F2FF 100%);
    border-color: rgba(127, 177, 244, 0.3);
}
.t-card.featured p { font-size: 19px; line-height: 1.5; color: var(--ink); }

/* ================================================================
   Section: final CTA
   ================================================================ */
.cta-final {
    padding: 140px 0 120px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta-final::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(50% 60% at 50% 30%, rgba(127, 177, 244, 0.35), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.cta-final .stars {
    color: #F5B83C;
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.cta-final h2 {
    font-family: var(--font-sans);
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px;
}
.cta-final h2 em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--ice-600);
}

.cta-final p {
    font-size: 18px;
    color: var(--ink-muted);
    max-width: 50ch;
    margin: 0 auto 36px;
    line-height: 1.55;
}

.ratings-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-soft);
}
.rating-pill .num { font-size: 18px; font-weight: 700; color: var(--ink); }
.rating-pill .sep { color: var(--ice-300); }

.laurel {
    color: var(--ice-500);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 17px;
}

/* ================================================================
   Footer
   ================================================================ */
footer {
    padding: 60px 0 40px;
    background: #0B1827;
    color: #FFF;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img { width: 36px; height: 36px; border-radius: 10px; }
.footer-brand p { color: rgba(255,255,255,0.6); margin-top: 16px; max-width: 32ch; font-size: 14px; line-height: 1.55; }
.footer-brand .app-store-btn { margin-top: 22px; background: #fff; color: #0B1827; }

footer h5 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 18px;
}

footer ul li { margin-bottom: 12px; }
footer ul a {
    font-size: 14px;
    color: rgba(255,255,255,0.78);
    transition: color .2s;
}
footer ul a:hover { color: #fff; }

.footer-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }
.social-row { display: flex; gap: 14px; }
.social-row a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: grid;
    place-items: center;
    transition: background .2s;
}
.social-row a:hover { background: rgba(255,255,255,0.14); }
.social-row svg { width: 16px; height: 16px; fill: #fff; }

/* ================================================================
   Legal pages (terms + privacy)
   ================================================================ */
.legal {
    padding: 60px 0 100px;
    background: var(--bg);
}

.legal-shell { max-width: 760px; margin-inline: auto; padding: 0 24px; }

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ice-600);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
}

.legal h1 {
    font-family: var(--font-sans);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.legal h1 em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--ice-600);
}

.legal .updated {
    color: var(--ink-muted);
    font-size: 14px;
    margin-top: 12px;
}

.legal h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 44px;
    margin-bottom: 12px;
    color: var(--ink);
}

.legal h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 8px;
    color: var(--ink);
}

.legal p, .legal li {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
}

.legal p { margin-top: 14px; }
.legal ul, .legal ol { margin-top: 14px; padding-left: 22px; }
.legal ul li, .legal ol li { margin-top: 6px; list-style: disc; }
.legal ol li { list-style: decimal; }
.legal a { color: var(--ice-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.legal-divider {
    height: 1px;
    background: rgba(15, 42, 87, 0.08);
    margin: 32px 0;
}

/* ================================================================
   Support page
   ================================================================ */
.support-hero {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.support-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(50% 60% at 50% 30%, rgba(127, 177, 244, 0.28), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.support-hero h1 {
    font-family: var(--font-sans);
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.support-hero h1 em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--ice-600);
}

.support-hero p {
    margin: 18px auto 0;
    max-width: 52ch;
    color: var(--ink-muted);
    font-size: 17px;
    line-height: 1.55;
}

.contact-cards {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: left;
}

.contact-card {
    padding: 26px;
    background: var(--glass);
    border: 1px solid var(--glass-stroke);
    border-radius: 22px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--glass-shadow);
    transition: transform .25s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-card:hover { transform: translateY(-3px); }

.contact-card .ic {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--gradient-blue);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 20px -8px rgba(53,122,211,0.45);
}

.contact-card .ic svg { width: 22px; height: 22px; }

.contact-card h4 {
    margin-top: 18px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.contact-card p {
    margin-top: 6px;
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.5;
}

.contact-card .v {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ice-600);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* FAQ accordion */
.faq-section {
    padding: 80px 0 120px;
    background: var(--bg);
}

.faq-shell { max-width: 780px; margin-inline: auto; padding: 0 24px; }

.faq-group { margin-top: 56px; }
.faq-group:first-of-type { margin-top: 0; }

.faq-group-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ice-600);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-group-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(15, 42, 87, 0.08);
}

.faq {
    background: #fff;
    border: 1px solid rgba(15, 42, 87, 0.06);
    border-radius: 16px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow .25s, border-color .25s;
}

.faq[open] {
    border-color: rgba(79, 144, 233, 0.25);
    box-shadow: 0 20px 40px -28px rgba(15, 42, 87, 0.18);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
    transition: color .2s;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ice-600); }

.faq summary .plus {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ice-100);
    color: var(--ice-600);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: transform .25s, background .25s;
}

.faq[open] summary .plus {
    transform: rotate(45deg);
    background: var(--ice-500);
    color: #fff;
}

.faq-body {
    padding: 0 24px 22px;
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.6;
}

.faq-body p { margin-top: 0; }
.faq-body p + p { margin-top: 12px; }
.faq-body ul { padding-left: 22px; margin-top: 10px; }
.faq-body li { list-style: disc; margin-top: 4px; font-size: 15.5px; }
.faq-body a { color: var(--ice-600); text-decoration: underline; text-underline-offset: 3px; }

/* Final help block */
.help-final {
    margin-top: 80px;
    padding: 48px;
    border-radius: 28px;
    background: linear-gradient(160deg, #0B1827 0%, #1F3E6E 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.help-final::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 177, 244, 0.3), transparent 70%);
    top: -30%;
    right: -10%;
    pointer-events: none;
}

.help-final h3 {
    font-family: var(--font-sans);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    position: relative;
}

.help-final h3 em {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--ice-300);
}

.help-final p {
    margin-top: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    position: relative;
}

.help-final .btn-primary {
    margin-top: 24px;
    background: #fff;
    color: var(--ice-700);
    box-shadow: 0 12px 28px -10px rgba(0,0,0,0.4);
    position: relative;
}

@media (max-width: 720px) {
    .contact-cards { grid-template-columns: 1fr; }
    .help-final { padding: 36px 24px; }
}

/* ================================================================
   Reveal animations (intersection observer)
   ================================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s cubic-bezier(.2,.8,.2,1),
                transform .9s cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 980px) {
    .hero { padding: 60px 0 80px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-mockup { order: -1; }
    .phone { transform: rotate(0); width: 280px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-row { grid-template-columns: 1fr; gap: 40px; padding: 30px 0; }
    .feature-row.reverse { direction: ltr; }
    .pillars-grid { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr; gap: 60px; }
    .showcase-stats { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: 1fr; }
    .t-card.featured { grid-column: span 1; }

    .footer-grid { grid-template-columns: 1fr 1fr; }

    .nav-links { display: none; }
}

@media (max-width: 560px) {
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }
    .pillars { padding: 80px 0; }
    .testimonials { padding: 80px 0; }
    .stats-showcase { padding: 80px 30px; margin: 30px 12px; }
    .cta-final { padding: 100px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
