/* English Job Interview Simulator — public website.
   "Showcase" design (2026-11-11): matches the app — white, navy brand #04255a,
   cyan accent #04cbe4, blue #2f7ff0 — with soft glows, glass header, an
   illustrated interview screen and bento tiles.
   System fonts only, so the site makes no font requests to third parties. */
:root {
  --brand: #04255a;
  --brand-2: #06306f;
  --brand-hover: #043d82;
  --accent: #04cbe4;
  --blue: #2f7ff0;
  --link: #087ac1;
  --text: #0f1b2d;
  --muted: #4f5f76;
  --line: #e3e9f2;
  --soft: #f5f8fc;
  --white: #ffffff;
  --error: #b42318;
  --ok: #067647;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 14px rgba(4, 37, 90, .06);
  --shadow-md: 0 18px 40px rgba(4, 37, 90, .12);
  --shadow-lg: 0 50px 100px rgba(4, 37, 90, .18), 0 10px 30px rgba(4, 37, 90, .08);
  --grad: linear-gradient(90deg, var(--blue), var(--accent));
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, iframe { max-width: 100%; }
a { color: var(--link); }
a:hover { color: var(--brand-hover); }
h1, h2, h3 { color: var(--brand); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); font-weight: 720; letter-spacing: -.03em; }
h3 { font-size: 1.18rem; font-weight: 650; }
p { margin: 0 0 1em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 50; }

/* Header (glass) */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(227, 233, 242, .8); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 54px; height: 40px; object-fit: contain; flex-shrink: 0; }
.brand span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .22em; color: var(--brand); line-height: 1.3; font-weight: 600; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav a.navlink { color: var(--brand); text-decoration: none; font-size: 15px; font-weight: 550; white-space: nowrap; }
.nav a.navlink:hover { color: var(--blue); }
.nav a.nav-cta { background: var(--brand); color: var(--white); text-decoration: none; font-size: 15px; font-weight: 650; padding: 9px 18px; border-radius: 12px; white-space: nowrap; box-shadow: 0 6px 16px rgba(4, 37, 90, .2); transition: background .15s, transform .15s; }
.nav a.nav-cta:hover { background: var(--brand-hover); color: var(--white); transform: translateY(-1px); }
section[id] { scroll-margin-top: 78px; }
@media (max-width: 1180px) { .nav a.navlink { display: none; } }
@media (max-width: 600px) {
  .brand span { font-size: 9px; letter-spacing: .14em; }
  .brand img { width: 44px; height: 32px; }
  .nav { gap: 8px; }
  .nav a.nav-cta { padding: 8px 12px; font-size: 14px; }
  .lang select { max-width: 124px; }
}
@media (max-width: 380px) { .brand span { display: none; } }

.lang { position: relative; }
.lang select { appearance: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 30px 7px 12px; font: inherit; font-size: 14px; color: var(--brand); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2304255a' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; cursor: pointer; text-overflow: ellipsis; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; padding: 14px 24px; font: inherit; font-size: 16px; font-weight: 650; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, color .15s, transform .2s, box-shadow .2s; }
.btn-primary { background: var(--brand); color: var(--white); box-shadow: 0 12px 30px rgba(4, 37, 90, .25); }
.btn-primary:hover { background: var(--brand-hover); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: var(--white); color: var(--brand); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--brand); border-color: #c9d6e8; transform: translateY(-2px); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 28px; background:
  radial-gradient(50% 60% at 85% 20%, rgba(4, 203, 228, .22), transparent 70%),
  radial-gradient(45% 60% at 5% 0%, rgba(47, 127, 240, .16), transparent 70%),
  linear-gradient(180deg, #f3f8fe, #fff 85%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(4, 37, 90, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(4, 37, 90, .045) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 60% at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 70% 30%, #000, transparent 75%); }
.hero .wrap { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero { padding: 72px 0 32px; } .hero .wrap { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 5px; font-size: 13.5px; color: var(--brand); box-shadow: var(--shadow-sm); }
.chip b { background: var(--brand); color: var(--white); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 650; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.chip-launch b { background: var(--grad); }
.hero h1 { margin: 20px 0 18px; font-size: clamp(2rem, 3.5vw, 2.85rem); line-height: 1.1; }
.hero .lead { font-size: 1.06rem; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 6px; }

/* Hero image carousel */
.stage { position: relative; padding: 8px 0 36px; isolation: isolate; width: 100%; max-width: 500px; justify-self: center; }
/* Soft cyan glow behind the card and a ground shadow under it that tightens as the card rises. */
.stage::before { content: ""; position: absolute; inset: 6% -6% 14%; background: radial-gradient(closest-side, rgba(4, 203, 228, .28), rgba(47, 127, 240, .12) 60%, transparent); filter: blur(10px); z-index: -1; }
.stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 14px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(4, 37, 90, .32), transparent); filter: blur(6px); z-index: -1; animation: ground 7s ease-in-out infinite; }
.carousel { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 2px 4px rgba(4, 37, 90, .06), 0 18px 36px -10px rgba(4, 37, 90, .28), 0 48px 90px -24px rgba(4, 37, 90, .42);
  animation: lift 7s ease-in-out infinite; will-change: transform; transition: box-shadow .4s ease; }
.carousel:hover { box-shadow: 0 2px 4px rgba(4, 37, 90, .06), 0 24px 44px -10px rgba(4, 37, 90, .32), 0 60px 110px -24px rgba(4, 37, 90, .48); }
@keyframes lift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes ground { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.86); opacity: .65; } }
.carousel .slides { position: relative; aspect-ratio: 1 / 1; }
.carousel .slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.carousel .slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.carousel .slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.carousel .slide.is-shot { background: #fff; }
.carousel .slide.is-shot img { object-fit: contain; object-position: center 18%; padding: 18px 18px 52px; }
.carousel .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--brand); font-size: 28px; line-height: 1; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px rgba(4, 37, 90, .18); padding: 0 0 3px; }
.carousel .nav-btn:hover { background: #fff; }
.carousel .nav-btn:focus-visible, .carousel .dots button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.carousel .prev { left: 12px; } .carousel .next { right: 12px; }
.carousel .dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 2px; padding: 2px 8px; border-radius: 999px; background: rgba(4, 37, 90, .45); backdrop-filter: blur(6px); }
.carousel .dots button { width: 24px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel .dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: width .3s, background .3s; }
.carousel .dots button[aria-current=true]::before { width: 22px; border-radius: 6px; background: #fff; }
@media (max-width: 640px) { .carousel .nav-btn { width: 38px; height: 38px; font-size: 24px; } .carousel .slide.is-shot img { padding: 10px 10px 46px; } }
.wave { flex: 1; display: flex; gap: 3px; align-items: center; height: 34px; min-width: 0; overflow: hidden; }
.wave i { flex: 1; max-width: 4px; min-width: 2px; height: 6px; border-radius: 3px; background: linear-gradient(var(--accent), var(--blue)); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; } .wave i:nth-child(5n) { animation-delay: -.9s; }
@keyframes wave { 0%, 100% { height: 6px; } 50% { height: 30px; } }

/* Sections */
section.block { padding: 88px 0; }
.hero + section.block { padding-top: 24px; }
section.block.alt { background: var(--soft); }
.section-intro { max-width: 42em; color: var(--muted); font-size: 1.08rem; margin-bottom: 40px; }
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid.cols-2 { grid-template-columns: repeat(2, 1fr); } .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.card p:last-child { margin-bottom: 0; }

/* Bento (How it works) */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, 1fr); } .t-video { grid-column: span 4; } .t-steps { grid-column: span 2; } .t-langs { grid-column: span 6; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 36px; } }
/* How it works: one list of steps; script.js moves the highlight from step to step. */
.t-steps { padding: 16px; display: flex; align-items: center; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: relative; width: 100%; }
.flow::before { content: ""; position: absolute; left: 28px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.flow li { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 14px; color: var(--muted); font-size: 15px; line-height: 1.45; transition: background .5s, color .5s, box-shadow .5s, transform .5s; }
.flow .n { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--brand); background: var(--white); border: 1px solid var(--line); transition: background .5s, color .5s, box-shadow .5s; }
.flow .t { padding-top: 6px; }
.flow li.is-current { background: var(--white); color: var(--brand); box-shadow: 0 12px 26px rgba(4, 37, 90, .12); transform: translateX(4px); }
.flow li.is-current .n { background: var(--grad); color: var(--white); border-color: transparent; box-shadow: 0 0 0 5px rgba(4, 203, 228, .18); }
.flow li.is-current .t { font-weight: 600; }
.tile { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: linear-gradient(180deg, #fff, #f7faff); transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tile h3 { margin: 0 0 8px; }
.tile p { margin: 0; color: var(--muted); }
.tile .num { font-size: 3rem; font-weight: 750; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-video { background: radial-gradient(70% 90% at 100% 0%, rgba(4, 203, 228, .28), transparent 60%), linear-gradient(135deg, var(--brand), var(--brand-2)); border: 0; color: var(--white); }
.t-video:hover { transform: none; }
.t-video { padding: 18px; display: flex; align-items: center; }
.t-video .video { margin-top: 0; }
.t-video h3 { color: var(--white); }
.t-video p { color: #c8d6ea; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #021a42; margin-top: 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.langs button { font: inherit; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--brand); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.langs button:hover { border-color: var(--blue); }
.langs button[aria-pressed=true] { background: var(--brand); color: var(--white); border-color: var(--brand); }
.langs button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* Language box: text and buttons on the left, the app screen in a browser frame on the right. */
.t-langs { display: grid; gap: 24px; align-items: center; }
.t-langs h3 { font-size: 1.35rem; margin-bottom: 12px; }
.t-langs p { line-height: 1.65; }
.t-langs .langs { margin-top: 20px; }
.langs-shot { border-radius: 14px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(4, 37, 90, .05), 0 20px 44px -12px rgba(4, 37, 90, .25); }
.browser-bar { display: flex; gap: 6px; padding: 9px 12px; background: #eef3fa; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9d5e6; }
.shots { position: relative; aspect-ratio: 1100 / 600; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s ease; }
.shots img.is-active { opacity: 1; }

/* Modes */
.mode-card { position: relative; overflow: hidden; }
.mode-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: #e6f9fc; border-radius: 6px; padding: 3px 8px; margin-bottom: 12px; }
.mode-visual { height: 64px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; border-bottom: 1px dashed var(--line); padding-bottom: 14px; }
.mode-visual .mic { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; box-shadow: 0 0 0 6px #e6f9fc; flex-shrink: 0; }
.mode-visual .mic::after { content: ""; width: 12px; height: 18px; border-radius: 6px; border: 2.5px solid #fff; }
.mode-visual .pill { font-size: 13px; font-weight: 600; color: var(--brand); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; background: var(--white); }
.mode-visual .pill.on { background: var(--brand); color: var(--white); border-color: var(--brand); }
.mode-visual .wave { height: 46px; }

/* Who it's for */
#who .card h2 { font-size: clamp(1.45rem, 2.6vw, 1.8rem); }
ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%2304255a' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat center; }

/* Beta band + form */
section.beta-band { padding: 0 0 96px; }
.beta-panel { position: relative; overflow: hidden; border-radius: 28px; padding: 40px 20px; color: var(--white);
  background: radial-gradient(60% 80% at 15% 0%, rgba(4, 203, 228, .35), transparent 70%), radial-gradient(50% 70% at 100% 100%, rgba(47, 127, 240, .35), transparent 70%), linear-gradient(135deg, var(--brand), var(--brand-2)); }
@media (min-width: 720px) { .beta-panel { padding: 56px 48px; } }
.beta { display: grid; gap: 32px; }
@media (min-width: 920px) { .beta { grid-template-columns: 1fr 1.05fr; align-items: center; } }
.beta-panel h2 { color: var(--white); }
.beta-panel .eyebrow { color: #bff6fd; }
.beta-panel p { color: #d3def0; }
.beta-panel ul.ticks li { color: #eaf1fb; }
.beta-panel > .beta > div:first-child a { color: #9eeefa; }
form.signup, .form-success { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: 26px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
@media (max-width: 400px) { form.signup { padding: 20px 16px; } }
form.signup .btn-primary { width: 100%; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--brand); margin-bottom: 6px; font-size: 15px; }
.field input[type=text], .field input[type=email] { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c9d3e0; border-radius: 12px; color: var(--text); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .consent input:focus, .btn:focus-visible, .lang select:focus, .nav a:focus-visible { outline: 3px solid rgba(4, 203, 228, .45); outline-offset: 1px; border-color: var(--blue); }
.hint { font-size: 14px; color: var(--muted); margin-top: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 6px 0 20px; color: var(--text); }
.consent a { color: var(--link); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--brand); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 14px; font-size: 15px; display: none; }
.form-msg.show { display: block; }
.form-msg.error { color: var(--error); }
.form-success { display: none; text-align: center; padding: 32px 22px; }
.form-success.show { display: block; }
.form-success h3 { font-size: 1.4rem; }
.form-success p { color: var(--muted); margin: 0; }

/* Footer */
footer.site-footer { border-top: 1px solid var(--line); padding: 30px 0 38px; color: var(--muted); font-size: 14.5px; background: var(--soft); }
footer.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
footer.site-footer .foot-brand { display: flex; align-items: center; gap: 10px; }
footer.site-footer .foot-brand img { width: 36px; height: 26px; }
footer.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer.site-footer a { color: var(--brand); text-decoration: none; }
footer.site-footer a:hover { text-decoration: underline; }
footer.site-footer a[aria-current=page] { font-weight: 700; }

/* Simple text pages (Privacy Policy, beta tester guide) */
.page { position: relative; padding: 56px 0 72px; background: radial-gradient(40% 320px at 90% 0%, rgba(4, 203, 228, .14), transparent 70%), radial-gradient(40% 300px at 0% 0%, rgba(47, 127, 240, .1), transparent 70%), linear-gradient(180deg, #f3f8fe, #fff 340px); }
.page .wrap { max-width: 800px; }
.page h1 { font-size: clamp(2rem, 4.6vw, 2.8rem); }
.policy h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.policy h2 { font-size: 1.2rem; margin-top: 1.8em; letter-spacing: -.01em; }
.policy ul { padding-left: 1.3em; margin: 0 0 1em; }
.policy li { margin-bottom: .35em; }
.policy p, .policy li { overflow-wrap: anywhere; }
.notice { background: #fff8e6; border: 1px solid #f5d98b; border-radius: 12px; padding: 14px 16px; font-size: 15px; margin-bottom: 24px; }
ol.steps { padding-left: 0; list-style: none; counter-reset: s; margin: 8px 0 28px; }
ol.steps > li { counter-increment: s; position: relative; padding: 18px 20px 18px 70px; margin-bottom: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
ol.steps > li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; }
ol.steps > li p:last-child { margin-bottom: 0; }
ol.steps h3 { margin-bottom: 4px; }
@media (max-width: 480px) { ol.steps > li { padding: 62px 16px 16px; } ol.steps > li::before { top: 16px; left: 16px; } }
.lang-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.lang-tabs button { font: inherit; font-size: 14px; border: 1px solid var(--line); background: var(--white); color: var(--brand); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.lang-tabs button[aria-pressed=true] { background: var(--brand); color: var(--white); border-color: var(--brand); }
[data-lang-panel][hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* "Who we are" page */
.about-hero { padding-bottom: 40px; }
.about-hero .wrap { grid-template-columns: 1fr !important; max-width: 920px; }
.about-hero .lead { font-size: 1.12rem; max-width: none; }
.about-hero .chip b { background: var(--white); border: 1px solid var(--line); padding: 0 6px; }
section.about-body { padding-top: 24px; }
@media (min-width: 900px) { .about-tiles { grid-template-columns: repeat(3, 1fr); } }
.about-tile .icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--blue)); margin-bottom: 16px; box-shadow: 0 10px 22px rgba(4, 37, 90, .2); }
.about-tile .icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.about-grid { display: grid; gap: 24px; margin-top: 48px; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.35fr 1fr; gap: 40px; } }
.mission { position: relative; padding: 32px; border-radius: var(--radius-lg); color: var(--white); overflow: hidden;
  background: radial-gradient(60% 90% at 100% 0%, rgba(4, 203, 228, .3), transparent 65%), linear-gradient(135deg, var(--brand), var(--brand-2)); }
.mission .eyebrow { color: #bff6fd; }
.mission p { margin: 0; font-size: 1.12rem; line-height: 1.7; color: #e3ecf8; }
.contact-card h2 { font-size: 1.5rem; }
.contact-card address { font-style: normal; color: var(--text); margin-bottom: 18px; line-height: 1.55; }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-top: 12px; }
.contact-card dd { margin: 2px 0 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-card dd a { color: var(--brand); font-weight: 600; text-decoration: none; }
.contact-card dd a:hover { text-decoration: underline; }
.nav a.navlink[aria-current=page] { color: var(--blue); }

/* "Who it's for": photo carousel beside the text */
.who { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .who { grid-template-columns: minmax(0, 460px) 1fr; gap: 64px; } }
.who-media { position: relative; isolation: isolate; padding: 8px 0 36px; }
.who-media::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 6px; height: 24px; border-radius: 50%; background: radial-gradient(closest-side, rgba(4, 37, 90, .3), transparent); filter: blur(6px); z-index: -1; animation: ground 7s ease-in-out infinite; }
.who-media .carousel { animation-delay: -3.5s; }
.who-media::after { animation-delay: -3.5s; }
.who-text h2 { margin-top: 0; }
.who-text p { font-size: 1.08rem; line-height: 1.75; color: var(--muted); margin: 0; }
.who-block { padding-bottom: 24px; }
.who-block + section.block { padding-top: 40px; }
@media (max-width: 899px) { .who-text { order: -1; } }
/* Practice modes: photo across the top of each card, then the icons */
.mode-photo { display: block; width: calc(100% + 56px); max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin: -28px -28px 22px; }
.mode-visual .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.mode-visual .ic svg { width: 22px; height: 22px; }
.mode-visual .ic-mic { background: var(--brand); color: var(--white); box-shadow: 0 0 0 6px #e6f9fc; }
.mode-visual .ic-pause { background: var(--white); color: var(--brand); border: 1.5px solid var(--line); }
.mode-card p strong { color: var(--brand); }
/* Native language: one choice only (radio buttons drawn as checkboxes) */
fieldset.choices { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
fieldset.choices legend { padding: 0; font-weight: 600; color: var(--brand); margin-bottom: 8px; font-size: 15px; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field label.choice { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 500; font-size: 15px; color: var(--text); border: 1px solid #c9d3e0; border-radius: 12px; padding: 10px 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.field label.choice:hover { border-color: var(--blue); }
.choice input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; flex-shrink: 0; border: 1.5px solid #9fb0c6; border-radius: 5px; background: var(--white) center / 14px no-repeat; cursor: pointer; }
.choice input:checked { background-color: var(--brand); border-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.choice input:focus-visible { outline: 3px solid rgba(4, 203, 228, .45); outline-offset: 2px; }
.field label.choice:has(input:checked) { border-color: var(--brand); background: #eef6ff; }
@media (max-width: 360px) { .choice-row { grid-template-columns: 1fr; } }
/* Your Privacy Matters: text and two points beside the privacy scan video */
.privacy { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .privacy { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.privacy .section-intro { margin-bottom: 26px; }
.pv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pv-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.pv-list h3 { margin: 0 0 6px; font-size: 1.05rem; }
.pv-list p { margin: 0; color: var(--muted); line-height: 1.6; }
.pv-ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, var(--brand), var(--blue)); box-shadow: 0 8px 18px rgba(4, 37, 90, .2); }
.pv-ic svg { width: 22px; height: 22px; }
.privacy-media { position: relative; isolation: isolate; }
.pv-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); background: #021a42; border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(4, 37, 90, .06), 0 24px 50px -14px rgba(4, 37, 90, .35); }
/* "How it works" dropdown in the top menu */
.dd { position: relative; }
.dd-btn { font: inherit; font-size: 15px; font-weight: 550; color: var(--brand); background: none; border: 0; padding: 6px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.dd-btn:hover, .dd.open .dd-btn { color: var(--blue); }
.dd-btn:focus-visible, .dd-menu a:focus-visible { outline: 3px solid rgba(4, 203, 228, .45); outline-offset: 2px; border-radius: 6px; }
.dd-chev { width: 15px; height: 15px; transition: transform .2s; }
.dd.open .dd-chev { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 230px; margin: 0; padding: 8px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(4, 37, 90, .16); display: none; z-index: 30; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd.open .dd-menu { display: block; }
@media (hover: hover) { .dd:hover .dd-menu { display: block; } .dd:hover .dd-chev { transform: rotate(180deg); } }
.dd-menu a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--brand); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.dd-menu a:hover { background: #eef6ff; color: var(--blue); }
@media (max-width: 1180px) { .nav .dd { display: none; } }
.tile[id] { scroll-margin-top: 96px; }
.dd.picked .dd-menu { display: none; }
.dd.picked .dd-chev { transform: none; }
/* Keep the logo text on its two lines; tighten the menu on mid-size screens */
@media (min-width: 1181px) { .brand { flex-shrink: 0; } .brand span { white-space: nowrap; } }
@media (max-width: 1400px) { .nav { gap: 14px; } .lang select { max-width: 150px; } }
/* "Who we are": Need more information? band above the mission and contact card */
.info-band { display: flex; gap: 20px; align-items: flex-start; background: linear-gradient(180deg, #fff, #f4f8fe); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; box-shadow: var(--shadow-sm); }
.info-band .icon { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--blue)); box-shadow: 0 10px 22px rgba(4, 37, 90, .2); }
.info-band .icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-band h2 { margin: 2px 0 8px; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.info-band p { margin: 0; color: var(--muted); font-size: 1.06rem; line-height: 1.7; max-width: 52em; }
.info-band + .about-grid { margin-top: 28px; }
@media (max-width: 560px) { .info-band { flex-direction: column; padding: 22px 20px; } }
/* Self-hosted promo video: thumbnail with a large play button until it starts */
.video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #021a42; object-fit: cover; }
.video .play-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(4, 37, 90, .78); box-shadow: 0 0 0 8px rgba(255, 255, 255, .22), 0 14px 34px rgba(0, 0, 0, .35); transition: transform .2s, background .2s; }
.video .play-big:hover { background: var(--brand); transform: translate(-50%, -50%) scale(1.06); }
.video .play-big:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.video .play-big svg { width: 34px; height: 34px; fill: #fff; margin-left: 5px; }
.video.is-playing .play-big { display: none; }
@media (max-width: 560px) { .video .play-big { width: 64px; height: 64px; } .video .play-big svg { width: 26px; height: 26px; } }
/* Beta tester page: video tutorial card. The preview image is stored on our site
   and links out to YouTube; nothing from YouTube loads until the tester clicks. */
.tutorial { display: grid; gap: 22px; align-items: center; margin: 8px 0 28px; padding: 24px; border-radius: var(--radius-lg); color: var(--white); background: radial-gradient(70% 90% at 100% 0%, rgba(4, 203, 228, .28), transparent 60%), linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 20px 44px -14px rgba(4, 37, 90, .45); }
@media (min-width: 820px) { .tutorial { grid-template-columns: 1fr 1.05fr; gap: 30px; padding: 28px; } .tutorial .tut-thumb { order: 2; } }
.tutorial h2 { color: var(--white); margin: 2px 0 8px; font-size: 1.35rem; }
.tutorial p { color: #dbe6f5; margin: 0 0 12px; }
.tutorial p:last-child { margin-bottom: 0; }
.tutorial .btn-primary { background: var(--white); color: var(--brand); }
.tutorial .btn-primary:hover { background: #e6f9fc; color: var(--brand); }
.tutorial .tut-note { font-size: 14px; color: #b9cbe4; }
.tutorial .tut-note strong { color: var(--white); }
.tut-thumb { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); outline-offset: 3px; }
.tut-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tut-thumb:hover img { transform: scale(1.03); }
.tut-thumb:focus-visible { outline: 3px solid var(--accent); }
.tut-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(4, 37, 90, .8); box-shadow: 0 0 0 8px rgba(255, 255, 255, .22), 0 12px 30px rgba(0, 0, 0, .35); transition: background .2s; }
.tut-thumb:hover .tut-play { background: var(--brand); }
.tut-play svg { width: 30px; height: 30px; fill: #fff; margin-left: 5px; }
.tut-len { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
@media (max-width: 560px) { .tutorial { padding: 18px; } .tut-play { width: 60px; height: 60px; } .tut-play svg { width: 24px; height: 24px; } }
/* "Watch again" button shown over the promo video when it ends */
.video.is-ended .play-big { display: none; }
.video .replay-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 16px; font-weight: 650; color: #fff; background: rgba(4, 37, 90, .85); box-shadow: 0 0 0 6px rgba(255, 255, 255, .2), 0 14px 34px rgba(0, 0, 0, .35); transition: background .2s, transform .2s; }
.video .replay-btn[hidden] { display: none; }
.video .replay-btn:hover { background: var(--brand); transform: translate(-50%, -50%) scale(1.04); }
.video .replay-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.video .replay-btn svg { width: 22px; height: 22px; }
.video.is-ended video { filter: brightness(.6); }
