/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* *::before and *::after target pseudo-elements — the extra generated content slots every element has */
/* box-sizing: border-box means padding and border are included in the element's width/height calculation */

:root {
    /* CSS custom properties (variables) — referenced throughout as var(--name) */
    --deep:     #020d18;
    --abyss:    #050f1f;
    --navy:     #0a1f35;
    --mid:      #0d3352;
    --teal:     #0e9b8a;
    --teal-lt:  #14c4af;
    --aqua:     #5dd9cc;
    --foam:     #b8f0ea;
    --white:    #f0f8f7;
    --muted:    rgba(176, 220, 215, 0.55); /* Shorthand! rgba = red, green, blue, alpha(opacity 0-1) */
    --glass:    rgba(10, 31, 53, 0.55);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--deep);
    color: var(--white);
    overflow-x: hidden; /* Prevents horizontal scrollbar from appearing */
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--abyss); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* ── NAV ── */
nav {
    position: fixed;          /* Stays at top of screen while page scrolls */
    top: 0; left: 0; right: 0; /* Shorthand! Same as: top:0; left:0; right:0; individually */
    z-index: 100;             /* Layers nav above everything else on the page */
    display: flex;
    align-items: center;      /* Vertically centers children */
    justify-content: space-between; /* Pushes logo left, links right */
    padding: 1.4rem 4rem;     /* Shorthand! top/bottom 1.4rem, left/right 4rem */
    background: linear-gradient(to bottom, rgba(2,13,24,0.9) 0%, transparent 100%);
    transition: background 0.4s; /* Animates background change over 0.4 seconds */
}
nav.scrolled {
    /* This class is added by JS when user scrolls down */
    background: rgba(2, 13, 24, 0.96);
    backdrop-filter: blur(12px); /* Blurs content behind the nav (frosted glass effect) */
    border-bottom: 1px solid rgba(14, 155, 138, 0.15);
}
.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.02em; /* Slight spacing between characters — em is relative to font size */
    color: var(--white);
    text-decoration: none;   /* Removes default underline from anchor tags */
}
.nav-logo span { color: var(--teal-lt); } /* The "Cove" part in teal */
.nav-links {
    display: flex;
    gap: 2.5rem;              /* Shorthand! Spacing between flex children — applies to both row and column */
    align-items: center;
}
.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
    /* !important forces this style to override any conflicting rules */
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    color: var(--teal-lt) !important;
    border: 1px solid rgba(20, 196, 175, 0.4); /* Shorthand! width style color in one line */
    padding: 0.5rem 1.3rem;   /* Shorthand! top/bottom 0.5rem, left/right 1.3rem */
    border-radius: 2px;
    transition: all 0.2s !important; /* "all" means animate every animatable property */
}
.nav-cta:hover {
    background: rgba(20, 196, 175, 0.1) !important;
    border-color: var(--teal-lt) !important;
    color: var(--white) !important;
}

/* ── HERO ── */
.hero {
    position: relative; /* Makes this the positioning parent for absolute children */
    height: 100vh;      /* Shorthand! vh = viewport height — 100vh = full screen height */
    min-height: 700px;  /* Prevents hero from getting too small on short screens */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;   /* Clips the video so it doesn't spill outside the section */
}
.hero-video {
    position: absolute;
    inset: 0; /* Shorthand! Same as: top:0; right:0; bottom:0; left:0; — fills the parent */
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Scales video to fill container without stretching (may crop) */
    opacity: 0.45;      /* 0 = invisible, 1 = fully visible */
    filter: saturate(0.7) hue-rotate(10deg); /* Shorthand! Multiple filters chained — desaturates slightly and shifts color */
}
.hero-overlay {
    position: absolute;
    inset: 0; /* Shorthand! top/right/bottom/left all 0 */
    background:
        /* Two backgrounds layered — browser renders bottom to top */
        radial-gradient(ellipse at 50% 60%, rgba(14,155,138,0.08) 0%, transparent 65%),
        linear-gradient(to bottom, rgba(2,13,24,0.3) 0%, rgba(2,13,24,0.5) 60%, rgba(2,13,24,0.95) 100%);
}
.particles {
    position: absolute;
    inset: 0; /* Shorthand! Fills parent */
    pointer-events: none; /* Lets clicks pass through to elements underneath */
}
.particle {
    position: absolute;
    border-radius: 50%; /* Makes square divs into circles */
    background: var(--teal-lt);
    opacity: 0;
    /* CSS custom properties used as animation variables — set per-particle in JS */
    animation: drift var(--d, 8s) var(--delay, 0s) infinite ease-in-out;
    /* Shorthand! animation: name duration delay iteration-count timing-function */
}
@keyframes drift {
    /* Defines the animation — 0% is start, 100% is end */
    0%   { opacity: 0; transform: translateY(0) scale(1); }
    20%  { opacity: var(--op, 0.4); } /* var(--op, 0.4) = use --op variable, fall back to 0.4 if not set */
    80%  { opacity: var(--op, 0.4); }
    100% { opacity: 0; transform: translateY(-120px) scale(0.5); }
}
.hero-content {
    position: relative;
    z-index: 2;          /* Sits above video (z-index 0) and overlay (z-index 1) */
    text-align: center;
    max-width: 820px;
    padding: 0 2rem;     /* Shorthand! top/bottom 0, left/right 2rem */
}
.hero-eyebrow {
    display: inline-block; /* Allows padding on an inline element */
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal-lt);
    margin-bottom: 1.6rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
    /* Shorthand! animation: name duration delay fill-mode */
    /* "forwards" means element keeps the end state after animation finishes */
}
.hero-eyebrow::before, .hero-eyebrow::after {
    /* Pseudo-elements that insert the — dashes before and after the text */
    content: '—';
    margin: 0 0.8em; /* Shorthand! top/bottom 0, left/right 0.8em */
    opacity: 0.5;
}
.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.2rem, 7vw, 6rem);
    /* Shorthand! clamp(min, preferred, max) — fluid size that scales with viewport */
    /* 3.2rem minimum, 7vw preferred (7% of viewport width), 6rem maximum */
    font-weight: 300;
    line-height: 1.05; /* Unitless — multiplied by font size — tighter than normal (1.5) */
    letter-spacing: -0.01em;
    margin-bottom: 1.8rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.5s forwards; /* Shorthand! name duration delay fill-mode */
}
.hero-title em { font-style: italic; color: var(--aqua); }
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem); /* Shorthand! Fluid font size — see clamp above */
    font-weight: 300;
    line-height: 1.7;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 2.8rem; /* Shorthand! top 0, left/right auto (centers block), bottom 2.8rem */
    opacity: 0;
    animation: fadeUp 0.9s 0.7s forwards; /* Shorthand! name duration delay fill-mode */
}
.hero-actions {
    display: flex;
    gap: 1.2rem; /* Shorthand! Space between flex children */
    justify-content: center;
    flex-wrap: wrap; /* Allows buttons to wrap to next line on small screens */
    opacity: 0;
    animation: fadeUp 0.9s 0.9s forwards; /* Shorthand! name duration delay fill-mode */
}
.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.4rem; /* Shorthand! top/bottom 0.9rem, left/right 2.4rem */
    background: var(--teal);
    color: var(--deep);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.25s; /* Shorthand! Animate all properties over 0.25s */
    border: 1px solid var(--teal); /* Shorthand! width style color */
}
.btn-primary:hover {
    background: var(--teal-lt);
    border-color: var(--teal-lt);
    transform: translateY(-2px); /* Moves element 2px upward on hover */
    box-shadow: 0 8px 30px rgba(14,155,138,0.35);
    /* Shorthand! box-shadow: x-offset y-offset blur-radius color */
}
.btn-ghost {
    display: inline-block;
    padding: 0.9rem 2.4rem; /* Shorthand! top/bottom, left/right */
    background: transparent;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(240,248,247,0.25); /* Shorthand! width style color */
    border-radius: 2px;
    transition: all 0.25s; /* Shorthand! Animate everything */
}
.btn-ghost:hover {
    border-color: rgba(240,248,247,0.6);
    background: rgba(240,248,247,0.05);
    transform: translateY(-2px); /* Lifts element up 2px */
}
.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%); /* Pulls element back by 50% of its own width — centers it */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem; /* Shorthand! Space between children */
    opacity: 0;
    animation: fadeUp 1s 1.4s forwards; /* Shorthand! name duration delay fill-mode */
}
.scroll-hint span {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}
/* Three lines side by side — outer two shorter than the middle */
.scroll-lines {
    display: flex;          /* Lines sit side by side */
    align-items: flex-end;  /* All lines align to the bottom edge */
    gap: 1px;               /* Small gap between each line */
}
.scroll-line {
    width: 1px;
    background: linear-gradient(to bottom, var(--teal-lt), transparent);
    animation: scrollPulse 2s infinite; /* All three pulse together — same animation, no delay */
}
.scroll-line.tall  { height: 48px; } /* Middle line — tallest */
.scroll-line.short.left  { height: 28px; transform-origin: bottom center; transform: rotate(-25deg); }
.scroll-line.short.right { height: 28px; transform-origin: bottom center; transform: rotate(25deg); }
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; } /* Start and end at same value — creates smooth loop */
    50% { opacity: 1; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); } /* from = 0% */
    to   { opacity: 1; transform: translateY(0); }    /* to = 100% */
}

/* ── STATS BAR ── */
.stats-bar {
    background: var(--navy);
    border-top: 1px solid rgba(14,155,138,0.2);    /* Shorthand! width style color */
    border-bottom: 1px solid rgba(14,155,138,0.2); /* Shorthand! width style color */
    padding: 2rem 4rem; /* Shorthand! top/bottom, left/right */
    display: flex;
    justify-content: center;
    gap: 5rem;          /* Shorthand! Space between stat items */
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--teal-lt);
    line-height: 1; /* Tight — no extra space above/below the number */
    margin-bottom: 0.3rem;
}
.stat-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ── SHARED SECTION STYLES ── */
section { padding: 7rem 4rem; } /* Shorthand! top/bottom 7rem, left/right 4rem */
.section-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal-lt);
    margin-bottom: 1rem;
}
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem); /* Shorthand! Fluid size — see clamp explanation above */
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 1.4rem;
}
.section-title em { font-style: italic; color: var(--aqua); }
.section-body {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--muted);
    max-width: 520px;
}

/* ── FEATURES ── */
.features { background: var(--abyss); position: relative; overflow: hidden; }
.features::before {
    /* Decorative glow blob in the top-right corner — purely visual */
    content: ''; /* Required for pseudo-elements to render — even if empty */
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%; /* Circle */
    background: radial-gradient(circle, rgba(14,155,138,0.06) 0%, transparent 70%);
    pointer-events: none; /* Clicks pass through */
}
.features-inner {
    max-width: 1600px;
    margin: 0 auto; /* Shorthand! Centers block element — top/bottom 0, left/right auto */
    display: grid;
    grid-template-columns: 1fr 1fr; /* Shorthand! Two equal columns — fr = fractional unit */
    gap: 5rem; /* Shorthand! Space between grid cells — applies to both rows and columns */
    align-items: center;
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Shorthand! Two equal columns */
    gap: 1.5rem; /* Shorthand! Gap between all grid cells */
}

.feature-card {
    background: var(--glass);
    border: 1px solid rgba(14,155,138,0.15); /* Shorthand! width style color */
    border-radius: 4px;
    padding: 1.8rem 1.6rem; /* Shorthand! top/bottom, left/right */
    transition: all 0.3s;   /* Shorthand! Animate all properties */
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    /* The teal underline that slides in on hover */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--teal), transparent);
    transform: scaleX(0);        /* Hidden by default — scaled to 0 width */
    transform-origin: left;      /* Grows from the left side */
    transition: transform 0.3s;
}
.feature-card:hover {
    border-color: rgba(14,155,138,0.4);
    background: rgba(10,31,53,0.8);
    transform: translateY(-3px); /* Lifts card up 3px */
}
.feature-card:hover::after { transform: scaleX(1); } /* Reveals the underline */
.feature-icon-container {
    width: 32px;
    height: 32px;
}
.feature-icon-container img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.feature-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.feature-card p {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--muted);
}

/* ── HOW IT WORKS ── */
.how { background: var(--deep); position: relative; }
.how::before {
    /* Decorative glow at the bottom center */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); /* Centers the glow blob horizontally */
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(14,155,138,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.how-inner { max-width: 1600px; margin: 0 auto; } /* Shorthand! Centered with auto side margins */
.how-header { text-align: center; margin-bottom: 5rem; }
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Shorthand! Same as: 1fr 1fr 1fr */
    gap: 2rem; /* Shorthand! Gap between all grid cells */
    position: relative;
}
.steps::before {
    /* The horizontal connecting line between step circles */
    content: '';
    position: absolute;
    top: 2.2rem; /* Aligns with center of the step number circles */
    left: calc(16.66% + 1rem);  /* calc() does math — positions line past the first circle */
    right: calc(16.66% + 1rem); /* Shorthand! Stops before the last circle */
    height: 1px;
    background: linear-gradient(to right, transparent, var(--teal), var(--teal), transparent);
    opacity: 0.3;
}
.step { text-align: center; padding: 2rem 1.5rem; } /* Shorthand! top/bottom, left/right */
.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%; /* Circle */
    border: 1px solid rgba(14,155,138,0.5); /* Shorthand! width style color */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem; /* Shorthand! top 0, left/right auto (centers), bottom 1.5rem */
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--teal-lt);
    background: rgba(14,155,138,0.08);
    position: relative;
    z-index: 1; /* Sits above the connecting line pseudo-element */
}
.step h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}
.step p { font-size: 0.9rem; font-weight: 300; line-height: 1.7; color: var(--muted); }

/* ── FOR ORGS ── */
.for-orgs {
    background: var(--navy);
    border-top: 1px solid rgba(14,155,138,0.12);    /* Shorthand! width style color */
    border-bottom: 1px solid rgba(14,155,138,0.12); /* Shorthand! width style color */
}
.for-orgs-inner {
    max-width: 1600px;
    margin: 0 auto; /* Shorthand! Centers the block */
    display: grid;
    grid-template-columns: 1fr 1fr; /* Shorthand! Two equal columns */
    gap: 6rem; /* Shorthand! Gap between columns */
    align-items: center;
}
.role-list {
    list-style: none; /* Removes default bullet points */
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem; /* Shorthand! Space between list items */
}
.role-list li {
    display: flex;
    align-items: center;
    gap: 1rem; /* Shorthand! Space between dot and text */
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--muted);
}
.role-list li::before {
    /* Custom bullet dot — replaces the default list-style */
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%; /* Circle */
    background: var(--teal);
    flex-shrink: 0; /* Prevents dot from squishing when text is long */
}
.role-list li strong { color: var(--white); font-weight: 500; }

/* ── PHONE MOCKUP ── */
.phone-mockup { position: relative; display: flex; justify-content: center; }
.phone-frame {
    width: 220px;
    height: 440px;
    border: 2px solid rgba(14,155,138,0.35); /* Shorthand! width style color */
    border-radius: 28px;
    background: var(--abyss);
    position: relative;
    overflow: hidden;
    box-shadow:
        /* Shorthand! Multiple shadows layered — each is: x y blur spread color */
        0 0 0 8px rgba(10,31,53,0.8),           /* Thick dark border ring */
        0 0 60px rgba(14,155,138,0.15),          /* Teal glow */
        0 40px 80px rgba(0,0,0,0.5);             /* Drop shadow */
}
.phone-screen {
    position: absolute;
    inset: 8px; /* Shorthand! 8px inset from all sides — creates the screen bezel gap */
    border-radius: 22px;
    background: linear-gradient(160deg, var(--navy) 0%, var(--abyss) 100%);
    display: flex;
    flex-direction: column;
    padding: 1rem 0.8rem; /* Shorthand! top/bottom, left/right */
    gap: 0.6rem; /* Shorthand! Space between screen elements */
    overflow: hidden;
}
/* Phone skeleton UI elements — represent loading bars and cards */
.phone-bar { height: 8px; border-radius: 4px; background: rgba(14,155,138,0.25); }
.phone-bar.w60 { width: 60%; } /* Width modifier classes */
.phone-bar.w80 { width: 80%; }
.phone-bar.w45 { width: 45%; }
.phone-card {
    background: rgba(14,155,138,0.1);
    border: 1px solid rgba(14,155,138,0.2); /* Shorthand! width style color */
    border-radius: 8px;
    padding: 0.7rem; /* Shorthand! All sides 0.7rem */
    display: flex;
    gap: 0.5rem; /* Shorthand! Space between dot and lines */
    align-items: center;
}
.phone-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%; /* Circle */
    background: linear-gradient(135deg, var(--teal), var(--aqua)); /* 135deg = diagonal */
    flex-shrink: 0; /* Won't shrink when lines need space */
}
.phone-lines { flex: 1; display: flex; flex-direction: column; gap: 4px; }
/* flex: 1 is shorthand for flex-grow:1; flex-shrink:1; flex-basis:0 — fills remaining space */
.phone-line { height: 5px; border-radius: 3px; background: rgba(176,220,215,0.2); }
.phone-line.w70 { width: 70%; }
.phone-line.w50 { width: 50%; }
.phone-glow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%); /* Centers glow below the phone */
    width: 200px;
    height: 120px;
    background: radial-gradient(ellipse, rgba(14,155,138,0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* ── VERIFICATION ── */
.verification { background: var(--abyss); position: relative; overflow: hidden; }
.verification-inner {
    max-width: 1600px;
    margin: 0 auto; /* Shorthand! Centers block */
    display: grid;
    grid-template-columns: 1fr 1fr; /* Shorthand! Two equal columns */
    gap: 5rem; /* Shorthand! Column gap */
    align-items: center;
}
.verify-steps { display: flex; flex-direction: column; gap: 1.5rem; } /* Shorthand! gap between steps */
.verify-step { display: flex; gap: 1.4rem; align-items: flex-start; } /* Shorthand! gap between icon and text */
.verify-icon-container{
    width: 42px;
    height: 42px;
    border-radius: 50%; /* Circle */
    background: rgba(14,155,138,0.12);
    border: 1px solid rgba(14,155,138,0.3); /* Shorthand! width style color */
    display: flex;
    align-items: center;
    justify-content: center;
}

.verify-icon-container img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.verify-text h4 { font-size: 0.95rem; font-weight: 500; margin-bottom: 0.3rem; color: var(--white); }
.verify-text p { font-size: 0.85rem; font-weight: 300; line-height: 1.6; color: var(--muted); }

/* ── CTA ── */
.cta-section { background: var(--deep); text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
    /* Large radial glow centered behind the CTA text */
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Shorthand! Centers element over its own dimensions on both axes */
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(14,155,138,0.08) 0%, transparent 65%);
    pointer-events: none;
}
.cta-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--teal), transparent);
    margin: 0 auto 2rem; /* Shorthand! top 0, left/right auto (centers), bottom 2rem */
}

/* ── FOOTER ── */
footer {
    background: var(--abyss);
    border-top: 1px solid rgba(14,155,138,0.12);
    padding: 3rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Three equal columns across full width */
    align-items: center;
}
.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    justify-self: start; /* Pins logo to the left of its column */
}
.footer-logo span { color: var(--teal-lt); }
.footer-links {
    display: flex;
    gap: 2rem;
    justify-self: center; /* Centers links in the middle column */
    justify-content: center;
}
.footer-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
    font-size: 0.78rem;
    color: rgba(176,220,215,0.3);
    justify-self: end; /* Pins copyright to the right of its column */
    text-align: right;
}

/* ── SCROLL REVEAL ── */
/* Elements start invisible and shifted down — JS adds .visible when they scroll into view */
.reveal {
    opacity: 0;
    transform: translateY(32px); /* Shifted 32px down from final position */
    transition: opacity 0.7s ease, transform 0.7s ease; /* Shorthand! Animate both properties */
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0); /* Back to natural position */
}
/* Delay classes stagger the animation so children don't all appear at once */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
/* @media applies these rules only when screen width is 900px or less */
@media (max-width: 900px) {
    nav { padding: 1.2rem 2rem; } /* Shorthand! Tighter padding on mobile */
    .nav-links { display: none; } /* Hides desktop nav links on mobile */
    section { padding: 5rem 2rem; } /* Shorthand! Less padding on mobile */
    /* Switch two-column grids to single column on mobile */
    .features-inner, .for-orgs-inner, .verification-inner { grid-template-columns: 1fr; gap: 3rem; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .steps::before { display: none; } /* Hides connecting line — doesn't make sense vertically */
    .stats-bar { padding: 2rem; gap: 2.5rem; } /* Shorthand! Less padding and gap on mobile */
    footer { flex-direction: column; text-align: center; padding: 2rem; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}
