/* =========================================================
   First Friend Korea
   Brand: logo palette (green #18a058 / ink #111 / gray #6b6b6b / white),
   Poppins ExtraBold wordmark, smiley location pin + rounded frame.
   Motion language inspired by foxstudiolot.com.
   ========================================================= */

:root {
  --green: #18a058;
  --green-deep: #11804a;     /* text-safe green on white */
  --green-light: #3cc27a;    /* green on ink */
  --mint: #eef7f1;
  --mint-2: #c1e6d2;
  --ink: #111111;
  --ink-2: #1b1b1b;
  --gray: #6b6b6b;
  --white: #ffffff;
  --line-dark: rgba(17, 17, 17, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --muted-dark: #6b6b6b;
  --muted-light: rgba(255, 255, 255, 0.62);

  --f-display: "Poppins", "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Malgun Gothic", "Hiragino Sans", "Microsoft JhengHei", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.165, .84, .44, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-expo: cubic-bezier(.19, 1, .22, 1);

  --r: 22px;
  --pad: clamp(20px, 3.2vw, 48px);
  --sec: clamp(96px, 13vw, 190px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green); color: var(--white); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* labels: echo the spaced "K O R E A" in the logo */
.mono {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
}
.accent { color: var(--green); }
[data-theme="dark"] .accent { color: var(--green-light); }
.wrap { padding: 0 var(--pad); max-width: 1680px; margin: 0 auto; }
.label { display: inline-block; margin-bottom: 26px; color: var(--green-deep); }
[data-theme="dark"] .label { color: var(--green-light); }
[data-theme="green"] .label { color: var(--ink); }

.h-xl {
  font-size: clamp(40px, 6.4vw, 112px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

[data-theme="dark"] { background: var(--ink); color: var(--white); }
[data-theme="green"] { background: var(--green); color: var(--ink); }

/* ---------- brand pin + frame ---------- */
svg.pin, .logo__pin, .frame__pin, .loader__pin, .ph__pin, .footer__pin { color: var(--green); overflow: visible; }
.frame {
  --frame-bg: var(--white);
  position: relative;
  border: 3px solid var(--green);
  border-radius: var(--r);
}
.frame__pin {
  position: absolute; left: 50%; top: 0;
  width: 52px; height: 60px;
  transform: translate(-50%, -62%);
  z-index: 3;
}
.frame__pin .gap { fill: var(--gap, var(--white)); stroke: var(--gap, var(--white)); stroke-width: 16; stroke-linejoin: round; }

/* ---------- pills / buttons ---------- */
.pill {
  --bg: var(--ink); --fg: var(--white);
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 26px;
  border-radius: 100px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), transform .5s var(--ease);
  white-space: nowrap;
}
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--hover, var(--white));
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.pill:hover::before { transform: translateY(0); }
.pill:hover { color: var(--hover-fg, var(--ink)); }
.pill svg { width: 18px; height: 18px; fill: currentColor; }
.pill--ink { --bg: var(--ink); --fg: var(--white); --hover: var(--white); --hover-fg: var(--ink); }
.pill--brand { --bg: var(--green); --fg: var(--white); --hover: var(--white); --hover-fg: var(--ink); }
.pill--dark { --bg: var(--ink); --fg: var(--white); --hover: var(--green); --hover-fg: var(--white); }
.pill--light { --bg: var(--ink); --fg: var(--white); --hover: var(--white); --hover-fg: var(--ink); height: 42px; padding: 0 20px; font-size: 14px; }
.pill--ghost { --bg: transparent; --fg: currentColor; --hover: var(--ink); --hover-fg: var(--white); box-shadow: inset 0 0 0 2px currentColor; }

.link { position: relative; }
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: currentColor; transform-origin: right; transition: transform .6s var(--ease);
}
.link:hover::after { transform: scaleX(0); }

.round {
  width: 54px; height: 54px; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--line-light);
  font-size: 18px;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s;
}
.round:hover { background: var(--green); box-shadow: none; color: var(--white); }

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--green); color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--pad);
  transition: transform 1.05s var(--ease-io);
  will-change: transform;
}
/* lifts with a transform (runs on the GPU even while the page is still busy) */
.loader.is-done { transform: translateY(-100%); }
/* already seen this visit (e.g. switching language): no loader */
html.seen .loader { display: none; }
html.seen body.is-loading { overflow: auto; }
.loader__pin {
  position: absolute; left: 50%; top: 42%;
  width: 96px; height: 112px; margin: -56px 0 0 -48px;
  color: var(--white); --pin-face: var(--green);
  animation: pinDrop 1.1s var(--ease-expo) both, pinBob 1.6s ease-in-out 1.1s infinite;
}
@keyframes pinDrop { from { transform: translateY(-60vh); } to { transform: none; } }
@keyframes pinBob { 50% { transform: translateY(-10px); } }
.loader__inner { display: flex; justify-content: space-between; align-items: flex-end; }
.loader__count { font-size: clamp(64px, 13vw, 190px); font-weight: 800; line-height: .8; letter-spacing: -0.04em; }
.loader__bar { height: 2px; background: rgba(255, 255, 255, .3); margin-top: 20px; }
.loader__bar span { display: block; height: 100%; background: var(--white); width: 0; transition: width .2s linear; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad);
  color: var(--ink);
  --pin-c: var(--ink);
  transition: transform .7s var(--ease), background .5s var(--ease), color .5s var(--ease), height .5s var(--ease);
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-solid { background: rgba(255, 255, 255, 0.97); --pin-c: var(--green); height: 68px; box-shadow: 0 1px 0 var(--line-dark); }
.header.is-solid.on-dark { background: rgba(17, 17, 17, 0.97); color: var(--white); box-shadow: none; }
.header.is-solid.on-green { background: rgba(24, 160, 88, 0.98); --pin-c: var(--ink); box-shadow: none; }

.logo { display: flex; align-items: center; gap: 12px; justify-self: start; }
.logo__pin { width: 30px; height: 35px; color: var(--pin-c); transition: color .5s, transform .6s var(--ease); }
.logo:hover .logo__pin { transform: translateY(-3px) rotate(-6deg); }
.logo__mark { display: flex; flex-direction: column; font-weight: 800; font-size: 16px; line-height: 1; letter-spacing: -0.01em; }
.logo__mark small { font-size: 9px; font-weight: 700; letter-spacing: .58em; color: var(--gray); margin-top: 4px; }
.on-dark .logo__mark small { color: var(--muted-light); }
.on-green .logo__mark small, .header:not(.is-solid) .logo__mark small { color: rgba(17, 17, 17, .6); }
.logo__tag { opacity: .65; font-size: 9.5px; max-width: 140px; padding-left: 12px; margin-left: 2px; border-left: 2px solid currentColor; letter-spacing: .08em; }

.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__right { display: flex; align-items: center; gap: 18px; justify-self: end; }
.lang { display: flex; gap: 2px; font-size: 10.5px; letter-spacing: .04em; }
.lang a { padding: 6px 9px; border-radius: 100px; opacity: .55; transition: opacity .3s; white-space: nowrap; }
.lang a:hover { opacity: 1; }
.lang a.is-active { opacity: 1; box-shadow: inset 0 0 0 2px currentColor; }
.menu__langs { display: flex; gap: 14px; flex-wrap: wrap; }
.menu__langs a { opacity: .6; }
.menu__langs a.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.header.on-dark .pill--light { --bg: var(--green); --hover: var(--white); }

.menu-btn { display: none; align-items: center; gap: 10px; height: 40px; }
.menu-btn i { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-btn i + i { margin-left: -30px; transform: translateY(4px); }
.menu-btn i:first-of-type { transform: translateY(-3px); }

/* =========================================================
   MENU OVERLAY
   ========================================================= */
.menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--green); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s var(--ease-io);
  pointer-events: none;
}
.menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu__top, .menu__bottom { display: flex; justify-content: space-between; align-items: center; }
.menu__top { height: 44px; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(36px, 9.5vw, 88px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(17, 17, 17, .15);
  transform: translateY(40px); opacity: 0;
  transition: transform .8s var(--ease), opacity .8s var(--ease), color .3s;
}
.menu__links a .mono { color: var(--white); }
.menu__links a:hover { color: var(--white); }
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .3s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .35s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .4s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .45s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: .5s; }

/* =========================================================
   HERO (green, like the Instagram profile)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 28px) var(--pad) 36px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .06; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 70vw; height: 70vw; right: -22vw; top: -28vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent 70%);
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(4%, -4%); }
  60% { transform: translate(-3%, 5%); } 80% { transform: translate(5%, 2%); } 100% { transform: translate(0, 0); }
}
.hero > * { position: relative; z-index: 1; }

.hero__eyebrow { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--ink); }
.hero__clock { color: rgba(17, 17, 17, .7); display: inline-flex; align-items: center; gap: 8px; }
.hero__clock b { color: var(--ink); font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(17, 17, 17, .35); display: inline-block; }
.dot.is-on { background: var(--white); box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

.hero__title {
  margin: auto 0 0;
  padding-top: 4vh;
  font-size: clamp(50px, min(11.2vw, 13.2vh), 210px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; transform: translateY(108%); transition: transform 1.3s var(--ease-expo); }
.is-ready .hero__title .line > span { transform: none; }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.is-ready .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.greet { font-style: normal; color: var(--white); display: inline-block; }
.greet.is-swap { animation: swap .9s var(--ease) both; }
@keyframes swap { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-40%); opacity: 0; } 55% { transform: translateY(40%); opacity: 0; } 100% { transform: none; opacity: 1; } }

.hero__bottom {
  margin-top: 28px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px; align-items: end;
  border-top: 2px solid rgba(17, 17, 17, .18); padding-top: 26px;
}
.hero__lede { font-size: clamp(16px, 1.3vw, 20px); font-weight: 500; line-height: 1.45; max-width: 30ch; color: var(--ink); }
.hero__ctas { display: flex; flex-direction: column; align-items: stretch; gap: 8px; max-width: 300px; }
.hero__ctas .pill { height: 48px; }
.hero__ctas .pill svg { width: 20px; height: 20px; }
.hero__ctas .pill--ghost { --hover: var(--ink); --hover-fg: var(--white); }
/* LINE icon letters are cut out in the button's own colour */
.pill--ink { --ic-cut: var(--ink); }
.pill--ink:hover { --ic-cut: var(--white); }
[data-theme="green"] .pill--ghost { --ic-cut: var(--green); }
[data-theme="green"] .pill--ghost:hover { --ic-cut: var(--ink); }

.reveal-fade { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready .reveal-fade { opacity: 1; transform: none; transition-delay: .5s; }

/* arrivals board = white card in the logo frame */
.board { background: var(--white); color: var(--ink); border-color: var(--white); padding: 26px 18px 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .12); --gap: var(--green); margin-top: 30px; }
.board .frame__pin { color: var(--ink); }
.board__head { display: flex; justify-content: space-between; color: var(--green-deep); padding-bottom: 10px; }
.board__row {
  display: grid; grid-template-columns: 1.2fr .6fr 1.4fr; gap: 12px;
  padding: 7px 0; border-top: 1px solid var(--line-dark);
  font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em;
  font-size: 12.5px;
}
.board__row--labels { color: var(--gray); font-size: 10px; }
.board__row span { white-space: nowrap; overflow: hidden; }
.board__row .accent { color: var(--green-deep); font-weight: 600; }

/* =========================================================
   GENERIC REVEALS
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-split] .line > span { transition-duration: 1.2s; }
[data-split].is-in .line > span { transform: none; }
[data-split] .line:nth-child(2) > span { transition-delay: .07s; }
[data-split] .line:nth-child(3) > span { transition-delay: .14s; }

[data-clip] { clip-path: inset(18% 18% 18% 18% round var(--r)); transition: clip-path 1.6s var(--ease-expo); }
[data-clip] > img, [data-clip] > .ph { transform: scale(1.25); transition: transform 1.8s var(--ease-expo); }
[data-clip].is-in { clip-path: inset(0 round calc(var(--r) - 8px)); }
[data-clip].is-in > img, [data-clip].is-in > .ph { transform: none; }

/* =========================================================
   SECTIONS
   ========================================================= */
section { position: relative; }
.sec-head { margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.sec-head__note { max-width: 38ch; color: var(--muted-dark); font-size: 15px; }

/* ---------- intro ---------- */
.intro { padding: var(--sec) 0; }
.intro__text {
  font-size: clamp(28px, 3.9vw, 64px);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.03em;
  max-width: 22ch;
}
.intro__text .w { opacity: .13; transition: opacity .3s linear, color .3s; }
.intro__text .w.is-lit { opacity: 1; }
.intro__meta {
  margin-top: clamp(64px, 9vw, 130px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.intro__meta > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.intro__meta .mono { color: var(--green-deep); display: block; margin-bottom: 12px; }
.intro__meta p { max-width: 32ch; }

/* ---------- how ---------- */
.how { padding: var(--sec) 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { display: flex; flex-direction: column; }
.step__num { color: var(--green-light); }
.step__line { position: relative; height: 2px; background: var(--line-light); margin: 16px 0 30px; border-radius: 2px; }
.step__line i { position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; border-radius: 2px; }
.step.is-in .step__line i { transform: scaleX(1); }
.step:nth-child(2) .step__line i { transition-delay: .5s; }
.step:nth-child(3) .step__line i { transition-delay: .7s; }
.step:nth-child(2) { transition-delay: .1s; }
.step:nth-child(3) { transition-delay: .2s; }
.step h3 { font-size: clamp(26px, 2.3vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; text-transform: uppercase; margin-bottom: 16px; }
.step p { color: var(--muted-light); max-width: 34ch; }
.step__tag { margin-top: 26px; align-self: flex-start; padding: 7px 14px; border-radius: 100px; background: var(--green); color: var(--white); }

/* ---------- plans ---------- */
.plans { padding: var(--sec) 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.card {
  display: flex; flex-direction: column;
  padding: 22px; border-radius: var(--r);
  background: var(--white); box-shadow: inset 0 0 0 2px var(--line-dark);
  transition: transform .8s var(--ease), opacity 1.1s var(--ease), box-shadow .4s;
}
.card:hover { box-shadow: inset 0 0 0 2px var(--green); }
.card:nth-child(2) { transition-delay: .08s; }
.card:nth-child(3) { transition-delay: .16s; }
.card--dark { background: var(--ink); color: var(--white); box-shadow: none; }
.card--dark:hover { box-shadow: none; }
.card--sand { background: var(--mint); box-shadow: none; }
.card--sand:hover { box-shadow: inset 0 0 0 2px var(--green); }
.card__top { display: flex; justify-content: space-between; color: var(--gray); }
.card--dark .card__top { color: var(--green-light); }

.card__visual {
  margin: 18px 0 26px; height: 210px; border-radius: calc(var(--r) - 8px); overflow: hidden; position: relative;
  transition: transform 1s var(--ease);
}
.card:hover .card__visual { transform: scale(.98); }
.card__visual--ticket {
  background: var(--green); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between; padding: 18px 20px;
  background-image: radial-gradient(circle at 0 50%, var(--ink) 14px, transparent 15px), radial-gradient(circle at 100% 50%, var(--ink) 14px, transparent 15px);
}
.card__visual--ticket strong { font-size: 84px; font-weight: 800; letter-spacing: -0.05em; line-height: .85; }
.card__visual--chat {
  background: var(--mint); display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px;
}
.bubble { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 13.5px; line-height: 1.35; font-weight: 500; }
.bubble--in { background: var(--white); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble--out { background: var(--green); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.card:hover .bubble--out { animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(.9); } 60% { transform: scale(1.04); } 100% { transform: none; } }
.card__visual--days {
  background: var(--ink); color: var(--white);
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; padding: 18px;
}
.card__visual--days div { display: flex; flex-direction: column; gap: 6px; border-left: 2px solid var(--line-light); padding-left: 10px; }
.card__visual--days b { font-size: 48px; font-weight: 800; letter-spacing: -0.04em; line-height: .9; }
.card__visual--days .is-gold { color: var(--green-light); }
.card__visual--days .mono { opacity: .6; }

.card__title { font-size: clamp(30px, 2.6vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; text-transform: uppercase; }
.card__desc { margin: 10px 0 24px; color: var(--gray); max-width: 34ch; }
.card--dark .card__desc { color: var(--muted-light); }
.options { display: flex; flex-direction: column; }
.option {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--line-dark);
}
.card--dark .option { border-color: var(--line-light); }
.option h4 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.option p { opacity: .65; font-size: 10px; letter-spacing: .08em; }
.price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; }
.price b { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.price small { opacity: .6; font-size: 10px; }
.option--big .price b { font-size: 32px; }
.card__fine { margin-top: auto; padding-top: 16px; opacity: .65; font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.55; }
.card__cta { margin-top: 18px; justify-content: center; }

.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 100px; background: var(--mint); margin-bottom: 8px; }
.tabs button { flex: 1; height: 40px; border-radius: 100px; font-size: 14px; font-weight: 600; transition: background .4s var(--ease), color .4s var(--ease); }
.tabs button[aria-selected="true"] { background: var(--green); color: var(--white); }
[data-plan-krw], [data-plan-usd], [data-plan-days], [data-plan-n] { display: inline-block; transition: opacity .25s, transform .25s var(--ease); }
.is-switching [data-plan-krw], .is-switching [data-plan-usd], .is-switching [data-plan-days], .is-switching [data-plan-n] { opacity: 0; transform: translateY(6px); }

.ticks { display: flex; flex-direction: column; gap: 8px; padding: 14px 0 0; border-top: 1px solid var(--line-dark); font-size: 14.5px; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 5px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }

/* ---------- day 1 track ---------- */
.day1 { padding: var(--sec) 0; overflow: hidden; }
.day1__controls { display: flex; align-items: center; gap: 10px; }
.day1__controls .mono { color: var(--muted-light); margin-right: 10px; }
.track { cursor: grab; padding-left: var(--pad); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.track.is-drag { cursor: grabbing; }
.track__inner { display: flex; gap: 14px; width: max-content; will-change: transform; }
.tile {
  width: clamp(270px, 25vw, 350px); min-height: 390px;
  padding: 24px; border-radius: var(--r);
  background: var(--ink-2); box-shadow: inset 0 0 0 2px var(--line-light);
  display: flex; flex-direction: column;
  transition: background .5s var(--ease), box-shadow .5s;
}
.tile:hover { box-shadow: inset 0 0 0 2px var(--green); }
.tile .mono { color: var(--green-light); }
.ico { width: 60px; height: 60px; margin: auto 0 26px; fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s, transform .6s var(--ease); }
.tile:hover .ico { stroke: var(--green-light); transform: translateY(-4px); }
.tile h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; text-transform: uppercase; margin-bottom: 12px; }
.tile p { color: var(--muted-light); font-size: 14.5px; }
.tile p b { color: var(--white); font-weight: 700; }
.tile--brand { background: var(--green); box-shadow: none; }
.tile--brand:hover { box-shadow: none; background: #1bad60; }
.tile--brand .mono, .tile--brand p, .tile--brand p b { color: var(--white); }
.tile--brand .ico, .tile--brand:hover .ico { stroke: var(--white); }
.tile--leave { background: var(--white); color: var(--ink); box-shadow: none; justify-content: space-between; width: clamp(300px, 30vw, 430px); }
.tile--leave:hover { box-shadow: inset 0 0 0 3px var(--green); }
.tile--leave .mono { color: var(--green-deep); }
.tile--leave h3 { font-size: clamp(28px, 2.5vw, 40px); }
.tile--leave em { font-style: normal; color: var(--green); }

.track__progress { height: 2px; background: var(--line-light); margin: 40px 0 64px; position: relative; overflow: hidden; border-radius: 2px; }
.track__progress span { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(0); }

.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 13px; color: var(--muted-light); }
.rules li { border-top: 2px solid var(--line-light); padding-top: 14px; line-height: 1.6; }
.rules span { display: block; color: var(--green-light); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: 11px; margin-bottom: 8px; }

/* ---------- help ---------- */
.help { padding: 0 0 var(--sec); background: var(--mint); }
.marquee { overflow: hidden; padding: 26px 0; margin-bottom: var(--sec); background: var(--green); color: var(--white); }
.marquee__inner {
  display: flex; gap: 36px; width: max-content; align-items: center;
  font-size: clamp(38px, 5.4vw, 88px); font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; line-height: 1.1;
  animation: marquee 38s linear infinite; will-change: transform;
}
.marquee .star { font-size: .6em; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

.list { border-bottom: 2px solid var(--ink); }
.list li {
  position: relative;
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 24px;
  padding: 24px 0; border-top: 2px solid var(--ink);
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), padding .6s var(--ease), opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.list li::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green);
  clip-path: inset(50% 0 50% 0); transition: clip-path .6s var(--ease);
}
.list li:hover { color: var(--white); padding-left: 22px; padding-right: 22px; }
.list li:hover::before { clip-path: inset(0 0 0 0); }
.list li > .mono:first-child { color: var(--green-deep); transition: color .4s; }
.list li:hover > .mono:first-child { color: var(--white); }
.list h3 { font-size: clamp(20px, 2.3vw, 38px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.list__tag { padding: 7px 14px; border-radius: 100px; box-shadow: inset 0 0 0 2px currentColor; }

/* ---------- about ---------- */
.about { padding: var(--sec) 0; }
.about__grid { display: grid; grid-template-columns: 7fr 5fr; column-gap: clamp(32px, 5vw, 96px); row-gap: clamp(40px, 5vw, 72px); align-items: end; }
.about__head .h-xl { margin-bottom: 28px; }
.about__text { grid-column: 1 / -1; }
.about__cols { columns: 2; column-gap: clamp(24px, 4vw, 72px); }
.about__cols p { break-inside: avoid; margin-bottom: 16px !important; }
.about__frame { padding: 10px; --gap: var(--ink); margin-top: 34px; }
.about__frame .frame__pin { width: 64px; height: 74px; }
.about__photo { margin: 0; position: relative; aspect-ratio: 3 / 2; border-radius: calc(var(--r) - 8px); overflow: hidden; background: var(--ink-2); }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: 18px; color: var(--muted-light);
  background:
    radial-gradient(circle at 50% 45%, rgba(24, 160, 88, .35), transparent 50%),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, .03) 14px 15px),
    var(--ink-2);
}
.ph__pin { align-self: center; width: clamp(90px, 12vw, 160px); height: clamp(105px, 14vw, 186px); animation: pinBob 2.4s ease-in-out infinite; }
.about__photo figcaption { position: absolute; z-index: 3; right: 16px; bottom: 16px; color: var(--white); }
.about__lead { font-size: clamp(22px, 2vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin: 0; color: var(--green-light); }
.about__text p { color: var(--muted-light); max-width: 60ch; margin: 0; font-size: 16.5px; }
.about__sign { margin-top: 40px; padding-top: 18px; border-top: 2px solid var(--line-light); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.about__sign .mono { color: var(--green-light); }

/* ---------- reviews ---------- */
.reviews { padding: var(--sec) 0; }
.reviews .sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.reviews { overflow: hidden; }
.reviews__wall { position: relative; margin: 0 calc(-1 * var(--pad)); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews__track { display: flex; align-items: flex-start; gap: 20px; width: max-content; padding: 8px 0 14px;
  animation: reviewsMove var(--rv-dur, 70s) linear infinite; will-change: transform; }
.reviews__wall:hover .reviews__track, .reviews__wall:active .reviews__track, .reviews__wall.is-paused .reviews__track { animation-play-state: paused; }
@keyframes reviewsMove { to { transform: translate3d(calc(-50% - 10px), 0, 0); } }
.review { flex: 0 0 clamp(240px, 22vw, 320px); margin: 0; background: #fff; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.review:hover { transform: translateY(-4px); box-shadow: 0 6px 0 var(--green); }
.review img { display: block; width: 100%; height: auto; border-bottom: 2px solid var(--ink); }
.review figcaption { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; font-size: 14px; line-height: 1.4; }
.review figcaption .mono { color: var(--green-deep); }
.reviews__note { margin-top: 18px; font-size: 12px; line-height: 1.6; color: var(--gray); }
@media (max-width: 760px) { .reviews__track { gap: 14px; } .review { flex-basis: 70vw; } @keyframes reviewsMove { to { transform: translate3d(calc(-50% - 7px), 0, 0); } } }
@media (prefers-reduced-motion: reduce) { .reviews__wall { overflow-x: auto; } .reviews__track { animation: none; } }

/* ---------- faq ---------- */
.faq { padding: var(--sec) 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.faq__head { position: sticky; top: 110px; }
.acc { border-bottom: 2px solid var(--ink); }
.acc details { border-top: 2px solid var(--ink); }
.acc summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 56px 1fr 34px; align-items: center; gap: 12px;
  padding: 22px 0;
  font-size: clamp(18px, 1.5vw, 23px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3;
  transition: color .3s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .mono { color: var(--green-deep); }
.acc summary:hover { color: var(--green-deep); }
.acc summary i { position: relative; width: 34px; height: 34px; justify-self: end; border-radius: 50%; background: var(--mint); transition: background .4s, color .4s; }
.acc summary:hover i, .acc details[open] summary i { background: var(--green); color: var(--white); }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease); }
.acc summary i::after { transform: rotate(90deg); }
.acc details[open] summary i::after { transform: rotate(0); }
.acc__body { overflow: hidden; }
.acc__body > * { padding: 0 0 26px 68px; color: var(--gray); max-width: 70ch; }
.acc__body ul { display: flex; flex-direction: column; gap: 6px; list-style: disc; padding-left: 86px; }

/* ---------- cta (green) ---------- */
.cta { padding: var(--sec) 0 calc(var(--sec) * .8); overflow: hidden; }
.cta__title {
  font-size: clamp(56px, 12.5vw, 230px);
  font-weight: 800; letter-spacing: -0.045em; line-height: .95; text-transform: uppercase;
}
.cta__title .line:nth-child(2) > span { color: var(--white); }
.cta__row { margin-top: 56px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; border-top: 2px solid rgba(17, 17, 17, .2); padding-top: 24px; }
.cta__row p { max-width: 36ch; font-size: 18px; font-weight: 500; }
.cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { padding: 72px 0 24px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 32px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__label { color: var(--green-light); margin-bottom: 8px; display: block; }
.footer__grid a { font-size: 15px; color: var(--muted-light); transition: color .3s; }
.footer__grid a:hover { color: var(--white); }
.footer__biz p { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted-light); line-height: 1.8; font-size: 12px; }
.footer__word {
  margin: 72px 0 24px; overflow: hidden; padding-top: .06em;
  font-size: calc((min(100vw, 1680px) - 2 * var(--pad)) / 7); font-weight: 800; letter-spacing: -0.05em; line-height: .9; white-space: nowrap;
  color: var(--white);
}
.footer__word span { display: flex; align-items: center; gap: .08em; transform: translateY(var(--fw, 0)); will-change: transform; }
.footer__pin { width: .62em; height: .72em; flex: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-light); border-top: 2px solid var(--line-light); padding-top: 18px; padding-right: 130px; }

/* ---------- fab ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  height: 54px; padding: 0 20px 0 16px; border-radius: 100px;
  background: var(--green); color: var(--white);
  box-shadow: 0 10px 30px rgba(17, 17, 17, .25);
  transform: translateY(120px); transition: transform .7s var(--ease), background .3s;
}
.fab.is-visible { transform: none; }
.fab:hover { background: var(--ink); }
.fab svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- custom cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--white);
  transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(0);
  transition: transform .45s var(--ease) 0s;
}
.cursor.is-on { transform: translate3d(var(--x), var(--y), 0) scale(1); }
.cursor.is-down { transform: translate3d(var(--x), var(--y), 0) scale(.8); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header { grid-template-columns: 1fr auto; }
  .hero__bottom { grid-template-columns: 1fr 1fr; }
  .board { grid-column: 1 / -1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:first-child { grid-column: 1 / -1; }
  .rules { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 68px; --r: 18px; }
  body { font-size: 15.5px; }
  .logo__tag, .lang, .chat-pick { display: none; }
  .hero__title { font-size: clamp(40px, 11.6vw, 80px); }
  .hero__bottom { grid-template-columns: 1fr; gap: 24px; }
  .hero__ctas .pill { width: 100%; justify-content: center; }
  .hero__ctas { width: 100%; max-width: none; }
  .hero__eyebrow { flex-direction: column; }
  .intro__meta, .steps, .cards, .rules, .faq__grid, .about__grid { grid-template-columns: 1fr; }
  .about__cols { columns: 1; }
  .faq__head { position: static; }
  .list li { grid-template-columns: 40px 1fr; padding: 20px 0; }
  .list__tag { display: none; }
  .acc summary { grid-template-columns: 40px 1fr 30px; }
  .acc summary i { width: 30px; height: 30px; }
  .acc summary i::before, .acc summary i::after { left: 9px; right: 9px; }
  .acc__body > * { padding-left: 52px; }
  .acc__body ul { padding-left: 70px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__biz { grid-column: 1 / -1; }
  .footer__bottom { padding-right: 0; padding-bottom: 70px; }
  .day1__controls .mono { display: none; }
  .tile { min-height: 350px; }
  .fab span { display: none; }
  .fab { padding: 0; width: 56px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .intro__text .w { opacity: 1; }
}

/* =========================================================
   LEGAL PAGES (terms.html, refund.html, privacy.html)
   ========================================================= */
.legal-page { background: var(--white); }
.lhead {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px var(--pad); background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
  --pin-c: var(--green);
}
.lhead nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.lhead nav a[aria-current="page"] { color: var(--green-deep); box-shadow: 0 2px 0 var(--green); }
.legal { max-width: 780px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--pad) 80px; }
.legal h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; text-transform: uppercase; margin: 14px 0 18px; }
.legal .meta { color: var(--gray); font-size: 14px; }
.legal .summary { margin: 36px 0 8px; padding: 22px 24px; border: 3px solid var(--green); border-radius: var(--r); background: var(--mint); }
.legal .summary h2 { margin: 0 0 10px; padding: 0; border: 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); }
.legal .summary ul { margin: 0; }
.legal h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; margin: 52px 0 14px; padding-top: 18px; border-top: 2px solid var(--ink); }
.legal h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; color: #2a2a2a; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); }
.legal .tbl { overflow-x: auto; margin: 8px 0 18px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line-dark); line-height: 1.6; }
.legal th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); border-bottom: 2px solid var(--ink); }
.legal .big td:last-child { font-weight: 700; white-space: nowrap; }
.legal .note { font-size: 14px; color: var(--gray); }
.legal .biz { padding: 18px 20px; background: #f6f6f6; border-radius: 14px; font-size: 14.5px; line-height: 1.8; }
.lfoot { border-top: 1px solid var(--line-dark); padding: 24px var(--pad); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--gray); }
.lfoot a:hover { color: var(--ink); }
@media (max-width: 600px) {
  .lhead { padding-block: 12px; }
  .lhead nav { gap: 14px; font-size: 13px; flex-wrap: nowrap; }
  .lhead nav a:last-child { display: none; }
  .lhead .logo__mark { font-size: 14px; white-space: nowrap; }
}
html[lang="ko"] body { font-family: "Poppins", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif; word-break: keep-all; }
html[lang="ko"] .legal h1 { letter-spacing: -0.02em; }
@media (max-width: 760px) { .lhead nav a[lang] { display: none; } .lhead nav a { white-space: nowrap; } html[lang="ko"] .lhead nav { gap: 10px; font-size: 12.5px; } }

/* offscreen animations pause */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

/* ---------- CJK pages (한국어 · 繁中 · 日本語) ---------- */
/* system CJK fonts only: a CJK web font blocked the page for seconds on phones */
html[lang="ko"] { --f-cjk: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR"; }
html[lang="zh-Hant"] { --f-cjk: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC"; }
html[lang="ja"] { --f-cjk: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP"; }
html[lang="ko"] body, html[lang="zh-Hant"] body, html[lang="ja"] body { font-family: "Poppins", var(--f-cjk), sans-serif; }
html[lang="ko"] body { word-break: keep-all; }
html[lang="zh-Hant"] body, html[lang="ja"] body { line-break: strict; }
html:is([lang="ko"], [lang="zh-Hant"], [lang="ja"]) :is(.hero__title, .h-xl, .cta__title, .intro__text, .card__title, .tile h3, .list h3) { letter-spacing: -0.02em; }
html:is([lang="ko"], [lang="zh-Hant"], [lang="ja"]) :is(.hero__title, .h-xl, .cta__title) { line-height: 1.08; }
html:is([lang="ko"], [lang="zh-Hant"], [lang="ja"]) .line { padding-bottom: .1em; margin-bottom: -.06em; }
html:is([lang="zh-Hant"], [lang="ja"]) .hero__title { font-size: min(10.4vw, 12.4vh); }

/* ---------- header: pick a chat app ---------- */
.chat-pick { position: relative; }
.chat-pick__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 200px; z-index: 60;
  display: flex; flex-direction: column; padding: 8px; border-radius: 18px;
  background: var(--white); color: var(--ink); box-shadow: 0 18px 40px rgba(17, 17, 17, .18), inset 0 0 0 2px var(--ink);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none;
  transition: opacity .25s var(--ease), transform .3s var(--ease);
}
.chat-pick.is-open .chat-pick__menu { opacity: 1; transform: none; pointer-events: auto; }
.chat-pick__menu a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: 15px; transition: background .2s; }
.chat-pick__menu a:hover, .chat-pick__menu a:focus-visible { background: var(--mint); }
.chat-pick__menu svg { width: 20px; height: 20px; flex: none; color: var(--green-deep); --ic-cut: var(--white); }

/* floating chat button opens the same picker (all screen sizes) */
.chat-pick__menu--fab { position: fixed; top: auto; right: 20px; bottom: 86px; transform-origin: bottom right; transform: translateY(8px) scale(.98); }
.fab-pick.is-open .chat-pick__menu { opacity: 1; transform: none; pointer-events: auto; }
.fab-pick.is-open .fab { background: var(--green-deep); }
.menu__apps { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .menu__bottom { flex-direction: column; align-items: flex-start; gap: 14px; } }

/* plan cards: "Ask about…" opens the same picker, upward */
.card-pick { position: relative; margin-top: 18px; }
.card-pick .card__cta { margin-top: 0; width: 100%; }
.chat-pick__menu--card { top: auto; bottom: calc(100% + 10px); left: 0; right: 0; min-width: 0; transform-origin: bottom center; transform: translateY(8px) scale(.98); }
.card-pick.is-open .chat-pick__menu { opacity: 1; transform: none; pointer-events: auto; }

/* footer: centred */
.footer__grid { grid-template-columns: repeat(4, 1fr); text-align: center; }
.footer__grid > div { align-items: center; }
.footer__word span { justify-content: center; }
.footer__bottom { justify-content: center; column-gap: 40px; padding-left: 130px; text-align: center; }
@media (max-width: 760px) { .footer__bottom { padding-left: 0; flex-direction: column; align-items: center; gap: 10px; } }
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer__grid > div:nth-child(3), .footer__biz { grid-column: 1 / -1; }
}

/* render sections only when they come near the screen.
   Without this the browser laid out the whole page before the first paint (2-3x slower on phones). */
main > section:not(.hero), .footer { content-visibility: auto; contain-intrinsic-size: auto 1000px; }
