/* FlyVibe landing page. Brand tokens mirror lib/core/ui/app_colors.dart. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Polish and Turkish letters (ą ć ę ł ń ś ź ż, ğ ş İ ı) live in the latin-ext subset. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-LatinExt-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-SemiBoldItalic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("fonts/SpaceMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #fff8f1;
  --cream-deep: #fdeedd;
  --ink: #26181a;
  --ink-soft: #6b5557;
  --red: #ae2f34;
  --coral: #ff6b6b;
  --coral-soft: #ffdad8;
  --yellow: #fdd73b;
  --sky: #cfeaff;
  --line: #f0dcc8;
  --radius: 24px;
  --shadow: 0 24px 60px -24px rgba(110, 30, 34, 0.35);
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Playfair Display", Georgia, serif;
  --font-mono: "Space Mono", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--red); }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  color: var(--red);
}
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.wrap--narrow { width: min(760px, calc(100% - 40px)); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  max-width: 24ch;
}
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  background: var(--yellow); color: var(--ink);
  font-weight: 800; text-decoration: none;
  box-shadow: 0 8px 20px -10px rgba(112, 93, 0, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(112, 93, 0, 0.8); }
.btn--sm { padding: 10px 20px; font-size: 0.95rem; }
.btn--light { background: #fff; color: var(--red); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 241, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240, 220, 200, 0.7);
}
.nav__row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red); text-decoration: none;
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
}
.brand img { height: 54px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav__links a:hover { color: var(--red); }
.nav .btn { margin-left: 0; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(36px, 7vw, 84px) 0 clamp(56px, 8vw, 110px);
  background:
    radial-gradient(900px 480px at 85% 8%, var(--sky), transparent 70%),
    radial-gradient(700px 420px at 0% 100%, var(--coral-soft), transparent 70%),
    var(--cream);
}
.hero__path {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: none; stroke: var(--red); stroke-width: 2.5; stroke-dasharray: 3 12;
  stroke-linecap: round; opacity: 0.28; pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid; gap: 44px; align-items: center;
  grid-template-columns: 1fr;
}
.lead { margin-top: 22px; font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 22px 8px 16px;
  background: var(--ink); color: #fff; border-radius: 16px;
  text-decoration: none; font-weight: 800; font-size: 1.1rem; line-height: 1.15;
  opacity: 0.92; cursor: default;
}
.store svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.store small { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; opacity: 0.8; }
a.store { cursor: pointer; opacity: 1; }
.hero__note { margin-top: 20px; font-size: 0.95rem; color: var(--ink-soft); }

.hero__phone { display: grid; justify-items: center; gap: 18px; }
.phone {
  position: relative;
  width: min(300px, 72vw);
  aspect-ratio: 9 / 16;
  border: 10px solid #14100f;
  border-radius: 42px;
  background: #14100f;
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 2px #3a2f2d;
  transform: rotate(2.5deg);
}
.phone__video { width: 100%; height: 100%; object-fit: cover; background: #14100f; }
.phone__sound {
  position: absolute; right: 12px; bottom: 12px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(20, 16, 15, 0.7); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.phone__sound svg { width: 22px; height: 22px; fill: currentColor; }
.phone__sound .i-on { display: none; }
.phone__sound[aria-pressed="true"] .i-on { display: block; }
.phone__sound[aria-pressed="true"] .i-off { display: none; }
.phone__caption { font-size: 0.9rem; color: var(--ink-soft); }
.phone__caption span {
  font-family: var(--font-mono); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-right: 8px;
}

.hero__phone { position: relative; }
.float {
  display: none; position: absolute; margin: 0; width: 150px; aspect-ratio: 1;
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 5px solid #fff;
}
.float img { width: 100%; height: 100%; object-fit: cover; }
.float figcaption {
  position: absolute; left: 8px; bottom: 8px;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: #fff; color: var(--ink); padding: 3px 9px; border-radius: 999px;
}
.float--a { left: -26px; top: 18%; transform: rotate(-7deg); }
.float--b { right: -30px; bottom: 16%; transform: rotate(6deg); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--cream-deep); }

/* Steps */
.steps { display: grid; gap: 20px; margin-top: 44px; counter-reset: step; }
.step {
  position: relative; padding: 28px 26px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; gap: 10px; align-content: start;
}
.step__tag {
  justify-self: start;
  font-family: var(--font-accent); font-style: italic; font-weight: 600;
  font-size: 1.9rem; line-height: 1; color: var(--red);
}
.step p { color: var(--ink-soft); }

/* Gallery */
.gallery { margin-top: 56px; }
.gallery__track {
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px max(20px, calc((100vw - 1120px) / 2)) 28px;
  scroll-padding-inline: max(20px, calc((100vw - 1120px) / 2));
  scrollbar-width: thin; scrollbar-color: var(--coral) transparent;
}
.shot {
  flex: 0 0 min(260px, 66vw); margin: 0; scroll-snap-align: start;
  border-radius: 28px; overflow: hidden; background: var(--sky);
  box-shadow: var(--shadow);
}
.shot img { width: 100%; height: auto; }
.gallery__ctrl { display: none; justify-content: center; gap: 12px; }
.round {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 1.25rem; line-height: 1;
}
.round:hover { background: var(--ink); color: #fff; }

/* Features */
.features { display: grid; gap: 18px; margin-top: 44px; }
.feat {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start;
}
.feat p { color: var(--ink-soft); }
.feat__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--red); display: grid; place-items: center; margin-bottom: 4px;
}
.feat__icon svg { width: 24px; height: 24px; fill: #fff; }

/* Section helpers */
.section__lead { margin-top: 18px; color: var(--ink-soft); max-width: 40em; font-size: 1.1rem; }
.section__lead strong { color: var(--ink); }
.section__note { margin-top: 26px; font-weight: 700; text-align: center; }
.credits { margin-top: 14px; font-size: 0.78rem; line-height: 1.5; color: var(--ink-soft); text-align: center; max-width: 60em; margin-inline: auto; }

/* Garage */
.garage { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: repeat(2, 1fr); }
.ride {
  position: relative; border-radius: 22px; padding: 14px 14px 18px;
  display: grid; gap: 4px; justify-items: center; text-align: center;
  border: 1px solid rgba(38, 24, 26, 0.06); overflow: hidden;
}
.ride img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(38, 24, 26, 0.28)); }
.ride h3 { font-size: 1rem; }
.ride--sky { background: linear-gradient(160deg, #d8efff, #b9e0fa); }
.ride--sun { background: linear-gradient(160deg, #fff0bf, #ffd98a); }
.ride--mint { background: linear-gradient(160deg, #d9f7ea, #a8ebcf); }
.ride--rose { background: linear-gradient(160deg, #ffe3e1, #ffbcb8); }
.ride__tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink);
}
.ride__tag--pro { background: var(--red); color: #fff; }

/* Plans */
.plans { display: grid; gap: 20px; margin-top: 44px; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px; display: grid; gap: 14px; align-content: start;
}
.plan__head { display: grid; gap: 6px; }
.plan__sub { color: var(--ink-soft); }
.plan strong { font-weight: 800; }
.plan__price { margin-top: 6px; font-size: 0.9rem; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.3); color: rgba(255, 255, 255, 0.85); }
.plan ul { display: grid; gap: 10px; margin-top: 6px; }
.plan li { position: relative; padding-left: 28px; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 16px; height: 16px; border-radius: 50%; background: var(--coral);
  box-shadow: inset 0 0 0 5px var(--coral-soft);
}
.plan--pro { background: var(--red); color: #fff; border-color: var(--red); }
.plan--pro .plan__sub { color: rgba(255, 255, 255, 0.85); }
.plan--pro li::before { background: var(--yellow); box-shadow: inset 0 0 0 5px #7a1f23; }
.plan__badge {
  position: absolute; top: 22px; right: 22px;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; background: var(--yellow); color: var(--ink);
  padding: 6px 12px; border-radius: 999px;
}

/* Share your reel */
.share { display: grid; gap: 44px; align-items: center; }
.share__copy { display: grid; gap: 4px; justify-items: start; }
.share__copy .btn { margin-top: 22px; }
.share__steps { margin-top: 20px; display: grid; gap: 12px; counter-reset: s; }
.share__steps li { position: relative; padding-left: 44px; counter-increment: s; }
.share__steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--ink);
  font-weight: 800; display: grid; place-items: center;
}
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mosaic li { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); }
.mosaic li:nth-child(2) { transform: translateY(22px); }
.mosaic li:nth-child(3) { transform: translateY(-6px); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic span {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: #fff; color: var(--ink); padding: 5px 11px; border-radius: 999px;
}

/* FAQ */
.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq details {
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 28px 20px 0; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--red);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); }

/* Final CTA */
.cta { padding: clamp(56px, 8vw, 100px) 0; }
.cta__box {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(253, 215, 59, 0.35), transparent 70%),
    var(--red);
  color: #fff; border-radius: 36px;
  padding: clamp(18px, 3vw, 28px);
  display: grid; gap: clamp(22px, 4vw, 44px); align-items: center;
}
.cta__banner { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55); }
.cta__copy { display: grid; justify-items: start; gap: 18px; padding: 8px clamp(8px, 3vw, 28px) 20px; }
.cta__copy h2 { max-width: 16ch; }
.cta__copy em { color: var(--yellow); }
.cta__copy p { color: rgba(255, 255, 255, 0.88); max-width: 30em; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--ink-soft); font-size: 0.95rem; }
.foot__row { display: grid; gap: 16px; }
.foot__brand { display: grid; gap: 10px; justify-items: start; }
.foot__brand img { height: 42px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--red); text-decoration: underline; }

/* Wider screens */
@media (min-width: 720px) {
  .garage { grid-template-columns: repeat(4, 1fr); }
  .share { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .cta__box { grid-template-columns: 1.05fr 0.95fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .gallery__ctrl { display: flex; }
  .foot__row { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 960px) {
  .float { display: block; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .shot { flex-basis: 280px; }
}
@media (max-width: 1079px) {
  .nav__links { display: none; }
  .lang { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn:hover { transition: none; transform: none; }
  .phone { transform: none; }
}

/* Flyback (dark section under the hero) */
:root { --gold: #f4c542; --night: #0a1024; --night-ink: #f3ead6; }
.section--night {
  position: relative; overflow: hidden; color: var(--night-ink);
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(244, 197, 66, 0.17), transparent 70%),
    radial-gradient(760px 520px at 0% 100%, rgba(84, 112, 230, 0.24), transparent 70%),
    var(--night);
}
.section--night h2 { color: #fdf6e3; }
.section--night em { color: var(--gold); }
.section--night .section__lead { color: rgba(243, 234, 214, 0.82); }
.eyebrow--gold { color: var(--gold); display: inline-flex; align-items: center; gap: 10px; }
.pill-new { background: var(--gold); color: var(--night); padding: 3px 10px; border-radius: 999px; letter-spacing: 0.1em; }

.flyback__grid { display: grid; gap: 52px; align-items: center; }
.flyback__phone { display: grid; justify-items: center; gap: 18px; }
.fb-list { display: grid; gap: 20px; margin-top: 30px; }
.fb-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.fb-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(244, 197, 66, 0.13); border: 1px solid rgba(244, 197, 66, 0.4);
}
.fb-icon svg { width: 22px; height: 22px; fill: var(--gold); }
.fb-list h3 { font-size: 1.05rem; color: #fdf6e3; }
.fb-list p { margin-top: 2px; color: rgba(243, 234, 214, 0.74); font-size: 0.98rem; }

.fb-access { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.fb-access__card {
  border: 1px solid rgba(243, 234, 214, 0.2); border-radius: 18px; padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04); display: grid; gap: 8px; align-content: start;
}
.fb-access__card--pro { border-color: rgba(244, 197, 66, 0.6); background: rgba(244, 197, 66, 0.1); }
.fb-access__card p { font-size: 0.95rem; line-height: 1.4; }
.fb-access__tag {
  justify-self: start; font-family: var(--font-mono); font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
  background: rgba(243, 234, 214, 0.16); color: var(--night-ink);
}
.fb-access__card--pro .fb-access__tag { background: var(--gold); color: var(--night); }
.fb-note { margin-top: 14px; font-size: 0.85rem; color: rgba(243, 234, 214, 0.6); }

.phone--night {
  border-color: #05070f;
  box-shadow: 0 34px 70px -22px rgba(0, 0, 0, 0.85), 0 0 0 2px #2a3358, 0 0 100px -24px rgba(244, 197, 66, 0.4);
  transform: rotate(-2.5deg);
}
.phone__caption--night { color: rgba(243, 234, 214, 0.72); }
.phone__caption--night span { color: var(--gold); }

.moments { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 68px; }
.moments li {
  display: grid; border-radius: 22px; overflow: hidden; background: #060a18;
  border: 1px solid rgba(243, 234, 214, 0.15); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.9);
}
.moments img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.moments span { padding: 12px 14px 14px; font-weight: 700; font-size: 0.9rem; line-height: 1.3; color: #fdf6e3; }

@media (min-width: 960px) {
  .flyback__grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; }
  .moments { grid-template-columns: repeat(4, 1fr); }
  .moments li:nth-child(even) { transform: translateY(20px); }
}
@media (prefers-reduced-motion: reduce) { .phone--night { transform: none; } }

/* Language switcher, browser-language hint, footer language list */
.nav__links { margin-left: auto; }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 0.85rem; color: var(--ink);
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; fill: currentColor; }
.lang summary:hover, .lang[open] summary { border-color: var(--red); color: var(--red); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 190px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 8px;
  box-shadow: 0 24px 50px -20px rgba(38, 24, 26, 0.45); max-height: min(80vh, 540px); overflow-y: auto;
}
.lang li a {
  display: block; padding: 9px 12px; border-radius: 12px; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.lang li a:hover { background: var(--cream-deep); }
.lang li a[aria-current="true"] { background: var(--coral-soft); color: var(--red); }

.langbar {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px 16px; background: var(--ink); color: #fff; font-size: 0.92rem; font-weight: 600;
}
.langbar[hidden] { display: none; }
.langbar a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.langbar button {
  border: 0; background: transparent; color: #fff; font-size: 1.4rem; line-height: 1;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; padding: 0;
}
.langbar button:hover { background: rgba(255, 255, 255, 0.16); }

.foot__langs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.foot__langs a { color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.foot__langs a:hover { color: var(--red); text-decoration: underline; }
.foot__langs a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Japanese and Korean: system CJK fonts, no italic accent face, no tight tracking */
html[lang="ja"] body { font-family: "Plus Jakarta Sans", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif; }
html[lang="ko"] body { font-family: "Plus Jakarta Sans", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; }
html[lang="ja"] em, html[lang="ko"] em { font-family: inherit; font-style: normal; font-weight: 800; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3,
html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] h3 { letter-spacing: 0; line-height: 1.3; }
html[lang="ja"] .step__tag, html[lang="ko"] .step__tag { font-style: normal; font-weight: 800; font-size: 1.5rem; font-family: inherit; }
html[lang="ja"] body, html[lang="ko"] body { line-height: 1.75; word-break: keep-all; }
html[lang="ja"] body { word-break: normal; line-break: strict; }
html[lang="ja"] .eyebrow, html[lang="ko"] .eyebrow { letter-spacing: 0.05em; }

/* Long words (German, Dutch, Turkish) must wrap instead of overflowing cards */
h1, h2, h3, .plan li, .feat p, .fb-list p, .faq summary { overflow-wrap: break-word; hyphens: auto; }

/* Balanced headings everywhere; CJK accent words never split across lines */
h1, h2 { text-wrap: balance; }
html[lang="ja"] h1 em, html[lang="ko"] h1 em { white-space: nowrap; }
html[lang="ja"] h1, html[lang="ko"] h1 { font-size: clamp(2.1rem, 5.6vw, 3.8rem); line-height: 1.25; }
html[lang="ja"] h2, html[lang="ko"] h2 { font-size: clamp(1.6rem, 3.8vw, 2.5rem); max-width: 26ch; }
html[lang="ja"] .eyebrow, html[lang="ko"] .eyebrow,
html[lang="ja"] .phone__caption span, html[lang="ko"] .phone__caption span,
html[lang="ja"] .pill-new, html[lang="ko"] .pill-new,
html[lang="ja"] .mosaic span, html[lang="ko"] .mosaic span,
html[lang="ja"] .float figcaption, html[lang="ko"] .float figcaption {
  font-family: inherit; font-weight: 800; letter-spacing: 0.04em;
}
html[lang="ja"] .eyebrow, html[lang="ko"] .eyebrow { font-size: 0.9rem; }

/* Header on phones: one-line button with a short label, steady logo, compact language pill */
.nav__row { position: relative; }
.nav .btn { white-space: nowrap; flex: none; }
.brand { flex: none; }
.cta-short { display: none; }
@media (max-width: 719px) {
  .nav__row { gap: 10px; min-height: 64px; }
  .brand img { height: 38px; width: auto; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .nav .btn { padding: 9px 16px; font-size: 0.9rem; }
  .lang summary { padding: 0 10px; min-height: 38px; }
  .lang { position: static; }
  .lang ul { left: 0; right: 0; min-width: 0; top: calc(100% + 4px); }
}
@media (max-width: 359px) {
  .lang summary span { display: none; }
  .lang summary { padding: 0 9px; }
}
