/*
 * GuardAIn — public landing page (step 30).
 *
 * Standalone: does not load Bootstrap or the signed-in theme. Plain CSS,
 * no build step. Fonts are served from this server (OFL, see fonts/).
 */

@font-face { font-family: "Jakarta"; font-weight: 400; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 500; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

:root {
    --ink: #0d1b3e;
    --ink-2: #33415c;
    --muted: #64748b;
    --line: #e6ebf2;
    --bg: #ffffff;
    --tint: #f6f9fc;
    --green: #0f7a5c;
    --green-2: #0b5e47;
    --teal: #14b88a;
    --teal-soft: #e6f7f0;
    --blue: #2563eb;
    --blue-soft: #e8f0fe;
    --violet: #6d4ae6;
    --violet-soft: #efeafe;
    --red: #e5484d;
    --red-soft: #fdecec;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(13, 27, 62, .04), 0 12px 32px -12px rgba(13, 27, 62, .16);
    --shadow-lg: 0 2px 6px rgba(13, 27, 62, .05), 0 24px 48px -18px rgba(13, 27, 62, .24);
    --grad-text: linear-gradient(95deg, #0f9f78 0%, #14b88a 45%, #2bb3c9 100%);
    --grad-btn: linear-gradient(135deg, #0f7a5c 0%, #0b5e47 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body.lp {
    margin: 0;
    font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(20, 184, 138, .5); outline-offset: 3px; border-radius: 8px; }

.lp-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------------------ buttons */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    height: 44px; padding: 0 1.3rem; border-radius: 10px;
    font-weight: 600; font-size: .95rem; white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.lp-btn--lg { height: 54px; padding: 0 1.6rem; font-size: 1rem; }
.lp-btn--solid { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 22px -10px rgba(15, 122, 92, .7); }
.lp-btn--solid:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -10px rgba(15, 122, 92, .8); }
.lp-btn--ghost { border: 1.5px solid #bfe3d6; color: var(--green); background: #fff; }
.lp-btn--ghost:hover, .lp-btn--outline:hover { background: var(--teal-soft); }
.lp-btn--outline { border: 1.5px solid #bfe3d6; color: var(--green-2); background: #fff; }
.lp-btn--outline svg { color: var(--green); }

/* ------------------------------------------------------------ nav */
.lp-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.lp-nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(13, 27, 62, .35); }
.lp-nav__row { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.lp-brand { flex: none; margin-right: 28px; }
.lp-brand img { width: 164px; height: auto; display: block; }

.lp-menu > summary { list-style: none; }
.lp-menu > summary::-webkit-details-marker, .lp-drop > summary::-webkit-details-marker { display: none; }
.lp-menu__toggle { display: none; }
.lp-menu__panel { display: flex; align-items: center; gap: 1.35rem; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.lp-menu__panel > a, .lp-drop > summary { position: relative; padding: .5rem 0; cursor: pointer; white-space: nowrap; }
.lp-menu__panel > a:hover, .lp-drop > summary:hover { color: var(--green); }
.lp-menu__panel > a.is-current { color: var(--green); }
.lp-menu__panel > a.is-current::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--green);
}
.lp-menu__cta { display: flex; gap: .75rem; margin-left: .75rem; }

/* Desktop: landing.js keeps the menu <details> open, so the links sit in the
   bar and the toggle is hidden. Without JavaScript the toggle stays visible,
   so the menu can still be opened by hand. */
@media (min-width: 1301px) {
    html.js .lp-menu > summary { display: none; }
    html:not(.js) .lp-menu > summary.lp-menu__toggle { display: grid; gap: 5px; place-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
    html:not(.js) .lp-menu__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); }
}

.lp-drop { position: relative; }
.lp-drop > summary { list-style: none; display: inline-flex; align-items: center; gap: .35rem; }
.lp-drop > summary::after {
    content: ""; width: 7px; height: 7px; margin-top: -3px;
    border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg);
    transition: transform .15s ease;
}
.lp-drop[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
.lp-drop__panel {
    position: absolute; top: calc(100% + 12px); left: -14px; min-width: 220px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
    padding: .5rem; display: grid;
}
.lp-drop__panel a { padding: .55rem .8rem; border-radius: 9px; font-size: .92rem; }
.lp-drop__panel a:hover { background: var(--teal-soft); color: var(--green); }

/* ------------------------------------------------------------ hero */
.lp-hero { position: relative; padding: 36px 0 40px; overflow: hidden;
    background: linear-gradient(180deg, #fbfdff 0%, #f6f8fd 100%); }
.lp-glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.lp-glow--a { width: 620px; height: 620px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(167, 139, 250, .28), transparent 65%); }
.lp-glow--b { width: 520px; height: 520px; right: 280px; top: 120px; background: radial-gradient(circle, rgba(45, 212, 164, .20), transparent 65%); }

.lp-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 32px; align-items: center; }

.lp-pill {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .45rem .9rem; border-radius: 10px; font-size: .84rem; font-weight: 500; color: var(--ink-2);
    background: #fff; border: 1px solid #dfe5f1; box-shadow: 0 2px 8px -4px rgba(13, 27, 62, .12);
}
.lp-pill svg { color: var(--violet); }

.lp-hero h1 {
    position: relative; margin: 28px 0 22px;
    font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.04; font-weight: 800; letter-spacing: -.028em;
}
.lp-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-twinkle { display: inline-block; vertical-align: top; margin: -.1em 0 0 .15em; color: #16c29a; animation: lp-twinkle 3.2s ease-in-out infinite; }
.lp-twinkle svg { width: .55em; height: .55em; fill: currentColor; stroke: none; }
.lp-lead { max-width: 34rem; font-size: 1.08rem; color: var(--ink-2); }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

.lp-trust { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-trust li { display: flex; align-items: flex-start; gap: .55rem; font-size: .76rem; line-height: 1.35; color: var(--muted); }
.lp-trust span {
    flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: #eef6f3; color: var(--green);
}

/* the visual */
.lp-hero__visual { position: relative; min-height: 560px; }
.lp-shield { position: absolute; left: 50%; top: 0; width: 470px; transform: translateX(-50%); filter: drop-shadow(0 30px 40px rgba(37, 99, 235, .12)); }
.lp-links { position: absolute; inset: 20px 0 0 0; width: 100%; height: 520px; fill: none; stroke: #9fd9c6; stroke-width: 1.4; stroke-dasharray: 5 6; }
.lp-hero__photo { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 540px; width: auto; object-fit: contain; }

.lp-phone {
    position: absolute; left: 50%; top: 58px; transform: translateX(-50%) rotate(-2deg);
    width: 250px; height: 480px; padding: 10px; border-radius: 38px;
    background: #0d1b3e; box-shadow: 0 40px 70px -24px rgba(13, 27, 62, .55);
    animation: lp-bob 7s ease-in-out infinite;
}
.lp-phone__notch { position: absolute; left: 50%; top: 14px; width: 74px; height: 18px; transform: translateX(-50%); background: #0d1b3e; border-radius: 12px; z-index: 2; }
.lp-phone__screen { height: 100%; border-radius: 29px; background: linear-gradient(180deg, #fbfcff, #f2f6fb); padding: 40px 14px 14px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.lp-phone__hi strong { display: block; font-size: 1rem; }
.lp-phone__hi small { font-size: .62rem; color: var(--muted); }
.lp-phone__journey {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 12px; border-radius: 14px; color: #fff;
    background: linear-gradient(135deg, #0d2a3f 0%, #0f5f4b 100%);
}
.lp-phone__journey small { font-size: .56rem; opacity: .8; }
.lp-phone__journey strong { display: block; font-size: .74rem; line-height: 1.25; }
.lp-phone__label { font-size: .64rem; font-weight: 700; color: var(--ink-2); }
.lp-phone__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.lp-phone__grid span {
    display: grid; justify-items: center; gap: 4px; padding: 9px 2px; border-radius: 11px;
    background: #fff; border: 1px solid #edf1f7; font-size: .52rem; font-weight: 600; color: var(--ink-2); text-align: center;
}
.lp-phone__grid span svg { color: var(--blue); }
.lp-phone__grid span:nth-child(3n+2) svg { color: var(--violet); }
.lp-phone__grid span:nth-child(3n) svg { color: var(--green); }
.lp-phone__match {
    margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px;
    padding: 11px; border-radius: 13px; background: var(--teal-soft); color: var(--green-2);
}
.lp-phone__match small { display: block; font-size: .54rem; color: var(--ink-2); }
.lp-phone__match strong { font-size: .7rem; }

/* floating cards */
.lp-float {
    position: absolute; z-index: 3; background: #fff; border-radius: 16px; padding: 14px 16px;
    box-shadow: var(--shadow-lg); border: 1px solid rgba(230, 235, 242, .8);
    font-size: .8rem; animation: lp-float 8s ease-in-out infinite;
}
.lp-float small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.35; }
.lp-float strong { display: block; font-size: .9rem; }
.lp-float em { font-style: normal; font-weight: 600; font-size: .74rem; }
.lp-float__row { display: flex; align-items: center; gap: 10px; }
.lp-big { font-size: 2rem !important; line-height: 1.1; font-weight: 800; margin: 4px 0 2px; }
.lp-violet { color: var(--violet); }
.lp-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.lp-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.lp-tag { display: inline-block; margin-top: 10px; padding: .3rem .6rem; border-radius: 8px; background: var(--teal-soft); color: var(--green); font-size: .7rem; font-weight: 600; }
.lp-tag--blue { background: var(--blue-soft); color: var(--blue); }
.lp-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--green); font-weight: 700; font-size: .76rem; }

.lp-float--progress { left: 4%; top: 8px; width: 150px; text-align: center; }
.lp-float--progress .lp-ring { margin: 6px auto 4px; display: block; }
.lp-float--career { left: 0; top: 200px; width: 176px; animation-delay: -2s; }
.lp-float--card { left: 2%; bottom: 36px; width: 200px; animation-delay: -4s; }
.lp-float--ai { right: 0; top: 0; width: 250px; animation-delay: -1s; }
.lp-float--ai small { margin-top: 3px; }
.lp-float--unis { right: 2%; top: 190px; width: 190px; animation-delay: -3s; }
.lp-float--subjects { right: 3%; bottom: 36px; width: 205px; animation-delay: -5s; }
.lp-caption { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); font-size: .68rem; color: #94a3b8; white-space: nowrap; }

.lp-ico {
    flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    background: var(--teal-soft); color: var(--green);
}
.lp-ico--red { background: var(--red-soft); color: var(--red); }
.lp-ico--blue { background: var(--blue-soft); color: var(--blue); }
.lp-ico--violet { background: var(--violet-soft); color: var(--violet); }
.lp-ico--green { background: var(--teal-soft); color: var(--green); }
.lp-ico--robot { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #e8f3ff, #eef0ff); color: #3b5bdb; }

.lp-ring__track { fill: none; stroke: #e6f4ee; stroke-width: 9; }
.lp-ring__bar { fill: none; stroke: var(--teal); stroke-width: 9; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.lp-ring text { font: 800 22px "Jakarta", system-ui, sans-serif; fill: var(--ink); }
.lp-ring--light .lp-ring__track { stroke: rgba(255, 255, 255, .18); }
.lp-ring--light .lp-ring__bar { stroke: #34e0a8; }
.lp-ring--light text { fill: #fff; font-size: 24px; }

/* all-in-one strip */
.lp-strip {
    position: relative; z-index: 4; margin-top: 28px; padding: 26px 24px 24px;
    background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.lp-strip h2 { text-align: center; font-size: 1.15rem; font-weight: 700; margin-bottom: 20px; }
.lp-strip__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.lp-strip__item {
    display: flex; flex-direction: column; gap: 12px; padding: 16px 14px; border-radius: 14px; border: 1px solid #eef2f7;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.lp-strip__item:hover { transform: translateY(-2px); border-color: #d6ebe3; box-shadow: var(--shadow); }
.lp-strip__item strong { display: block; font-size: .86rem; margin-bottom: 4px; }
.lp-strip__item small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.45; }

/* ------------------------------------------------------------ sections */
.lp-section { padding: 96px 0; }
.lp-section--tint { background: var(--tint); }
.lp-section--dark { background: linear-gradient(135deg, #0a2b20 0%, #0f3d2e 50%, #0d4a3a 100%); color: #e8f3ef; }
.lp-head { max-width: 46rem; margin: 0 auto 48px; text-align: center; }
.lp-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.15; }
.lp-head p { margin-top: 14px; color: var(--muted); font-size: 1.04rem; }
.lp-kicker { display: inline-block; margin-bottom: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.lp-kicker--light { color: #5ee6b8; }

.lp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lp-card {
    padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.lp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lp-card h3 { margin: 18px 0 8px; font-size: 1.15rem; }
.lp-card p { color: var(--muted); font-size: .95rem; }

.lp-aud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.lp-aud__card { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lp-aud__card h3 { margin: 18px 0 12px; font-size: 1.15rem; }
.lp-aud__card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lp-aud__card li { position: relative; padding-left: 22px; font-size: .9rem; color: var(--ink-2); }
.lp-aud__card li::before {
    content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%;
    background: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft);
}

.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: none; }
.lp-steps li { position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.lp-steps__n {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
    background: var(--grad-btn); color: #fff; font-weight: 800; margin-bottom: 18px;
}
.lp-steps h3 { font-size: 1.1rem; margin-bottom: 8px; }
.lp-steps p { color: var(--muted); font-size: .95rem; }

.lp-privacy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.lp-privacy h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.15; color: #fff; }
.lp-privacy p { margin-top: 16px; color: #b9d6cb; }
.lp-privacy__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-privacy__list li {
    display: flex; gap: 12px; padding: 18px; border-radius: 14px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; color: #cfe4dc;
}
.lp-privacy__list svg { flex: none; color: #5ee6b8; margin-top: 2px; }
.lp-privacy__list strong { color: #fff; }

.lp-next { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.lp-next span {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px;
    background: #fff; border: 1px dashed #c9d6e6; font-weight: 600; font-size: .92rem; color: var(--ink-2);
}
.lp-next svg { color: var(--violet); }

.lp-join { display: flex; justify-content: center; }
.lp-join__card {
    width: 100%; max-width: 820px; padding: 48px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    text-align: center;
}
.lp-join__card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; }
.lp-join__card > p { margin: 14px auto 0; max-width: 36rem; color: var(--muted); }
.lp-join__card ul { list-style: none; padding: 0; margin: 26px auto 0; display: grid; gap: 10px; max-width: 30rem; text-align: left; }
.lp-join__card li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.lp-join__card li svg { flex: none; color: var(--teal); margin-top: 2px; }
.lp-join__card .lp-hero__actions { justify-content: center; }
.lp-small { margin-top: 22px !important; font-size: .82rem; color: var(--muted); }

.lp-faq { max-width: 820px; }
.lp-faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.lp-faq summary {
    list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.02rem;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
    content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    font-size: 1.5rem; font-weight: 400; color: var(--green); transition: transform .2s ease;
}
.lp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lp-faq details p { padding: 0 0 18px; color: var(--muted); }

/* ------------------------------------------------------------ footer */
.lp-foot { padding: 56px 0 28px; background: #0b1730; color: #aab6cc; font-size: .92rem; }
.lp-foot__row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.lp-foot__logo { width: 170px; height: auto; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 14px; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 14px 28px; align-content: flex-start; }
.lp-foot nav a:hover { color: #fff; }
.lp-foot__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; color: #7f8ba3; }

/* ------------------------------------------------------------ motion */
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lp-bob { 0%, 100% { transform: translateX(-50%) rotate(-2deg) translateY(0); } 50% { transform: translateX(-50%) rotate(-2deg) translateY(-10px); } }
@keyframes lp-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.8) rotate(20deg); opacity: .7; } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lp-float, .lp-phone, .lp-twinkle { animation: none !important; }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1300px) {
    .lp-menu { position: relative; }
    .lp-menu__toggle {
        display: grid; gap: 5px; place-content: center; width: 46px; height: 46px; border-radius: 12px;
        border: 1px solid var(--line); background: #fff; cursor: pointer; list-style: none;
    }
    .lp-menu__toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); }
    .lp-menu__panel {
        position: absolute; right: 0; top: calc(100% + 10px); width: min(88vw, 340px);
        flex-direction: column; align-items: stretch; gap: 0; padding: 12px;
        background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
    }
    .lp-menu__panel > a, .lp-drop > summary { padding: .8rem .9rem; border-radius: 10px; }
    .lp-menu__panel > a.is-current::after { display: none; }
    .lp-menu__panel > a:hover { background: var(--tint); }
    .lp-drop__panel { position: static; box-shadow: none; border: 0; padding: 0 0 0 .8rem; min-width: 0; }
    .lp-menu__cta { margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
    .lp-menu__cta .lp-btn { flex: 1; }

    .lp-hero__grid { grid-template-columns: 1fr; }
    .lp-hero__copy { text-align: center; }
    .lp-lead { margin: 0 auto; }
    .lp-hero__actions { justify-content: center; }
    .lp-trust { text-align: left; }
    .lp-hero__visual { max-width: 720px; width: 100%; margin: 0 auto; }
    .lp-strip__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-aud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .lp-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-cards, .lp-steps { grid-template-columns: 1fr; }
    .lp-privacy { grid-template-columns: 1fr; gap: 32px; }
    .lp-section { padding: 72px 0; }
}

/* Phones: the floating cards leave their orbit and line up under the phone. */
@media (max-width: 680px) {
    .lp-wrap { padding: 0 16px; }
    .lp-nav__row { height: 70px; }
    .lp-brand img { width: 140px; }
    .lp-hero { padding-top: 22px; }
    .lp-hero h1 { margin-top: 20px; }
    .lp-btn--lg { width: 100%; }
    .lp-hero__visual {
        min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 500px;
    }
    .lp-shield { width: 330px; top: 0; }
    .lp-links { display: none; }
    .lp-phone { top: 24px; width: 230px; height: 450px; }
    .lp-hero__photo { top: 0; bottom: auto; height: 480px; }
    .lp-float {
        position: static; width: auto !important; animation: none; text-align: left !important;
    }
    .lp-float--progress .lp-ring { margin: 6px 0 4px; }
    .lp-float--ai, .lp-float--card, .lp-float--subjects { grid-column: 1 / -1; }
    .lp-caption { position: static; transform: none; grid-column: 1 / -1; text-align: center; }
    .lp-strip { padding: 22px 14px; }
    .lp-strip__grid, .lp-aud, .lp-privacy__list { grid-template-columns: 1fr; }
    .lp-strip__item { flex-direction: row; }
    .lp-join__card { padding: 32px 20px; }
    .lp-trust { grid-template-columns: 1fr; }
}

/* ---- Step 43: school adverts ("Sponsored") ---- */
.gd-ads__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; font-weight: 700; }
.gd-ads__head small { font-weight: 500; color: #6b7c75; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.gd-ads__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .75rem; }
.gd-ad { display: flex; gap: .75rem; background: #fff; border: 1px solid #e3ece7; border-radius: 14px; padding: .65rem; text-decoration: none; color: inherit; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.gd-ad:hover { border-color: #b7d8c8; box-shadow: 0 4px 14px rgba(15,61,46,.12); }
.gd-ad img { width: 110px; height: 82px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.gd-ad__body { display: flex; flex-direction: column; gap: .15rem; font-size: .88rem; min-width: 0; }
.gd-ad__body strong { color: #0f3d2e; }
.gd-ad__body small { color: #6b7c75; }
