/* Barlow Condensed Bold: the app's own display face (SIL OFL, see assets/fonts) */
@font-face {
  font-family: "Barlow Condensed";
  src: url("fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ocean: #1B66D9;   /* brandOcean */
  --indigo: #2A3FC7;  /* brandIndigo */
  --land: #3DD68C;    /* brandLand */
  --navy: #08121F;    /* dark brandSurface */
  --mist: #F3F8FF;    /* light brandSurface */
  --ink: #14213A;
  --slate: #4A6A92;   /* onBrandContainer */
  --line: #C8DBF4;    /* brandContainerStroke */

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--land); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 0.95; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: clamp(2.6rem, 5.2vw, 4.25rem); }
h3 { font-size: 1.85rem; line-height: 1.05; }
p { margin: 0; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); max-width: 34ch; }

/* ---------- header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  padding-block: 22px;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { width: 38px; height: 38px; }
.brand span { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; opacity: 0.88; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav .nav-cta {
  opacity: 1; background: #fff; color: var(--ocean); padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.nav .nav-cta:hover { text-decoration: none; background: var(--mist); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(120% 90% at 85% 10%, #2F7BEA 0%, rgba(47,123,234,0) 55%),
    linear-gradient(180deg, var(--ocean) 0%, var(--indigo) 100%);
  padding-top: 120px;
}
/* voxel grid echoing the logo's blocky globe */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.25) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.25) 70%, transparent 100%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px; align-items: end;
}
.hero-copy { padding-bottom: clamp(56px, 9vw, 120px); align-self: start; padding-top: 8px; }
.hero-title { position: relative; z-index: 3; }
.hero h1 {
  font-size: clamp(3.6rem, 9.6vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: -0.01em;
  margin-bottom: clamp(20px, 3vw, 40px);
}
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .line + .line { color: var(--land); }
.hero .lede { color: rgba(255,255,255,0.9); margin-bottom: 32px; }
.hero .fineprint { margin-top: 16px; font-size: 0.95rem; color: rgba(255,255,255,0.75); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 18px; border-radius: 14px;
  background: var(--navy); color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform 0.15s ease, background 0.15s ease;
}
.store:hover { background: #000; transform: translateY(-1px); }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 0.75rem; line-height: 1.1; opacity: 0.8; }
.store strong { display: block; font-size: 1.12rem; line-height: 1.15; font-weight: 600; }
.stores.on-light .store { border-color: transparent; }

.hero-visual { position: relative; height: clamp(440px, 44vw, 600px); margin-top: -40px; }
.hero-globe {
  position: absolute; width: 100%; max-width: none; right: -30%; top: -22%;
  opacity: 0.95; filter: drop-shadow(0 30px 60px rgba(8,18,31,0.35));
}
.phone {
  position: absolute; bottom: 0;
  background: #12151a; border: 1px solid #454c57;
  border-radius: 46px 46px 0 0; border-bottom: 0;
  padding: 10px 10px 0;
  box-shadow: 0 30px 80px rgba(8,18,31,0.45);
}
.phone img { border-radius: 37px 37px 0 0; }
.hero .phone-a { width: 46%; left: 10%; z-index: 2; }
.hero .phone-b { width: 38%; right: 4%; bottom: -2%; z-index: 1; transform: rotate(4deg); transform-origin: bottom right; }

@media (prefers-reduced-motion: no-preference) {
  .hero .phone-a { animation: rise 0.9s cubic-bezier(.2,.7,.2,1) 0.1s both; }
  .hero .phone-b { animation: rise-tilt 0.9s cubic-bezier(.2,.7,.2,1) 0.28s both; }
  .hero-globe { animation: settle 1.4s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { transform: translateY(60px); opacity: 0; } }
  @keyframes rise-tilt { from { transform: translateY(60px) rotate(4deg); opacity: 0; } to { transform: rotate(4deg); } }
  @keyframes settle { from { transform: scale(0.92) rotate(-8deg); opacity: 0; } }
}

.topics-bar { position: relative; background: var(--navy); color: rgba(255,255,255,0.85); }
.topics-bar ul {
  list-style: none; margin: 0; padding: 18px 0;
  display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between;
  font-family: var(--display); font-size: 1.35rem; letter-spacing: 0.01em;
}

/* ---------- three moves ---------- */
.moves { background: var(--mist); padding-block: clamp(80px, 10vw, 128px); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 56px; }
.section-head p { color: var(--slate); max-width: 44ch; justify-self: end; }
.moves ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
}
.move .shot {
  position: relative; height: 440px; overflow: hidden;
  border-radius: 28px; background: linear-gradient(180deg, #DCE8F8 0%, #E9F1FC 100%);
  border: 1px solid var(--line);
  display: flex; justify-content: center; align-items: flex-end;
  margin-bottom: 26px;
}
.move .shot .phone { position: relative; width: 74%; box-shadow: 0 20px 50px rgba(20,33,58,0.22); }
.move .shot .phone img { border-radius: 30px 30px 0 0; }
.move .shot .phone { border-radius: 38px 38px 0 0; padding: 8px 8px 0; }
.move .num {
  font-family: var(--display); font-size: 3.4rem; line-height: 0.8; color: var(--ocean);
  display: block; margin-bottom: 10px;
}
.move h3 { margin-bottom: 8px; }
.move p { color: var(--slate); max-width: 32ch; }

/* ---------- follow ---------- */
.follow { padding-block: clamp(80px, 10vw, 128px); overflow: hidden; }
.follow-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.follow h2 { margin-bottom: 24px; }
.follow .lede { color: var(--slate); max-width: 40ch; margin-bottom: 28px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 8px 16px; border-radius: 999px; font-weight: 500;
  background: #E4EEFB; color: #1d3b66; border: 1px solid var(--line);
}
.chips li.on { background: var(--ocean); border-color: var(--ocean); color: #fff; }
.follow-visual { position: relative; height: 620px; }
.follow-visual::before {
  content: ""; position: absolute; inset: 10% 0 0 6%;
  border-radius: 40px;
  background: linear-gradient(160deg, var(--ocean), var(--indigo));
}
.follow-visual .phone { box-shadow: 0 30px 70px rgba(8,18,31,0.35); }
.follow-visual .phone-a { width: 50%; left: 14%; bottom: 0; z-index: 2; }
.follow-visual .phone-b { width: 42%; right: 2%; bottom: 0; z-index: 1; }

/* ---------- how it's made ---------- */
.made { background: var(--navy); color: #fff; padding-block: clamp(80px, 10vw, 128px); position: relative; overflow: hidden; }
.made .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.made h2 { color: #fff; }
.made .intro { color: rgba(255,255,255,0.72); margin-top: 20px; max-width: 34ch; }
.made ol { list-style: none; margin: 0; padding: 0; }
.made li { padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.14); }
.made li:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.made li strong {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1; margin-bottom: 8px;
}
.made li:nth-child(1) strong { color: #8FB8FF; }
.made li:nth-child(2) strong { color: #fff; }
.made li:nth-child(3) strong { color: var(--land); }
.made li span { color: rgba(255,255,255,0.72); max-width: 52ch; display: block; }

/* ---------- final cta ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(180deg, var(--ocean), var(--indigo));
  padding-block: clamp(80px, 10vw, 120px);
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cta .wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta img.globe { width: 120px; height: 120px; margin-bottom: 24px; filter: drop-shadow(0 18px 30px rgba(8,18,31,0.35)); }
.cta h2 { font-size: clamp(3rem, 7vw, 5.5rem); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,0.88); margin-bottom: 32px; }
.cta .stores { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding-block: 28px; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 104px; }
  .hero h1 { font-size: clamp(2.4rem, 11.6vw, 5.5rem); }
  .hero-visual { margin-top: 24px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-visual { height: clamp(420px, 110vw, 620px); }
  .hero-globe { width: 96%; right: -18%; top: 0; }
  .hero .phone-a { width: 58%; left: 2%; }
  .hero .phone-b { width: 46%; right: 0; }
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .moves ol { grid-template-columns: 1fr; gap: 48px; }
  .move .shot { height: 420px; max-width: 460px; }
  .follow-grid { grid-template-columns: 1fr; }
  .follow-visual { height: clamp(440px, 115vw, 600px); }
  .made .wrap { grid-template-columns: 1fr; }
  .topics-bar ul { justify-content: flex-start; gap: 6px 22px; font-size: 1.2rem; }
}
@media (max-width: 420px) {
  .store { padding: 10px 16px 10px 14px; }
  .store strong { font-size: 1rem; }
}

/* ================= inner pages (privacy, terms, contact) ================= */
.site-header.solid { position: relative; background: var(--ocean); }
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--ocean) 0%, var(--indigo) 100%);
  padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(3.4rem, 8vw, 6.5rem); line-height: 0.9; }
.page-hero p { margin-top: 18px; color: rgba(255,255,255,0.85); max-width: 52ch; }

/* legal documents */
.doc { padding-block: clamp(48px, 7vw, 88px) clamp(72px, 9vw, 120px); }
.doc .wrap { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.toc { position: sticky; top: 24px; font-size: 0.98rem; }
.toc p { font-family: var(--display); font-size: 1.4rem; color: var(--ink); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--slate); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ocean); border-left-color: var(--ocean); }

.prose { max-width: 70ch; }
.prose section { scroll-margin-top: 24px; padding-bottom: 8px; }
.prose section + section { margin-top: 44px; padding-top: 40px; border-top: 1px solid #E3ECF8; }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1; margin-bottom: 18px; display: flex; gap: 14px; align-items: baseline; }
.prose h2 .n { color: var(--ocean); }
.prose h3 { font-family: var(--body); font-weight: 600; font-size: 1.1rem; line-height: 1.4; margin: 24px 0 10px; color: var(--ink); }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 1.2em; }
.prose li { margin-bottom: 6px; padding-left: 4px; }
.prose li::marker { color: var(--ocean); }
.prose a { color: var(--ocean); text-underline-offset: 3px; }
.prose strong { font-weight: 600; }

/* contact */
.contact { padding-block: clamp(48px, 7vw, 88px) clamp(72px, 9vw, 120px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.channels { list-style: none; margin: 0; padding: 0; }
.channels li { padding: 22px 0; border-bottom: 1px solid #E3ECF8; }
.channels li:first-child { padding-top: 0; }
.channels h2 { font-size: 1.6rem; margin-bottom: 6px; }
.channels p { color: var(--slate); }
.channels .big { font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 600; color: var(--ocean); text-decoration: none; overflow-wrap: anywhere; }
.channels .big:hover { text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: #E4EEFB; border: 1px solid var(--line); color: #1d3b66; text-decoration: none; font-weight: 500;
}
.socials a:hover { background: var(--ocean); border-color: var(--ocean); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.map { margin: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }
.map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 16px 20px; color: var(--slate); font-size: 1rem; }
.map figcaption a { color: var(--ocean); font-weight: 600; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .doc .wrap { grid-template-columns: 1fr; }
  .toc { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}
