:root {
  --accent: #0a84ff;
  --n900: #171717;
  --n800: #262626;
  --n700: #404040;
  --n600: #525252;
  --n500: #737373;
  --n400: #a3a3a3;
  --n300: #d4d4d4;
  --n200: #e5e5e5;
  --n100: #f5f5f5;
  --n50: #fafafa;
  --wrap: 1152px;   /* max-w-6xl */
  --wrap-narrow: 768px; /* max-w-3xl */
}

* { box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--n900);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 24px; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 16px; height: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(229,229,229,0.7);
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark img { width: 28px; height: 28px; display: block; }
.wordmark span { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--n900); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; color: var(--n500); transition: color .15s; }
.nav-links a:hover { color: var(--n900); }
.nav-toggle, .nav-toggle-label { display: none; }
.mobile-menu { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 980px;
  font-size: 15px; font-weight: 500; padding: 12px 24px; transition: transform .15s, border-color .15s, background .15s; }
.btn-dark { background: var(--n900); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--n700); border: 1px solid var(--n200); }
.btn-light:hover { border-color: var(--n300); }
.btn-white { background: #fff; color: var(--n900); }
.btn-white:hover { transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  pointer-events: none; position: absolute; left: 0; right: 0; top: 0; height: 520px; opacity: 0.07;
  background: radial-gradient(60% 80% at 50% 0%, #FF7A00 0%, #FFCC00 40%, transparent 75%);
}
.hero-grid {
  position: relative; display: grid; gap: 48px; align-items: center;
  max-width: var(--wrap); margin: 0 auto; padding: 64px 24px 32px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  border: 1px solid var(--n200); background: rgba(255,255,255,0.7);
  border-radius: 980px; padding: 6px 14px; font-size: 13px; color: var(--n600);
}
.badge svg { width: 16px; height: 16px; }
.appstore { display: inline-block; margin-bottom: 24px; transition: opacity .15s; }
.appstore:hover { opacity: 0.85; text-decoration: none; }
.appstore img { height: 46px; width: auto; display: block; }
.hero h1 {
  margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05;
  font-size: clamp(2.5rem, 6vw, 4rem); color: var(--n900);
}
.hero h1 .blue { color: var(--accent); }
.hero p.sub { margin: 24px 0 0; max-width: 28rem; font-size: 18px; line-height: 1.7; color: var(--n500); }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-phone { display: flex; justify-content: center; }

/* ---------- Phone mockup ---------- */
.phone {
  position: relative; border-radius: 2.75rem; border: 1px solid var(--n200);
  background: #000; padding: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.35);
}
.phone > .screen { overflow: hidden; border-radius: 2.25rem; background: #fff; }
.phone img { display: block; width: 100%; height: auto; }
.rot { transform: rotate(2deg); }

/* ---------- Section scaffolding ---------- */
.band { border-top: 1px solid rgba(229,229,229,0.7); border-bottom: 1px solid rgba(229,229,229,0.7); background: var(--n50); }
.section { padding: 96px 0; }
h2.title { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
  font-size: clamp(1.75rem, 4vw, 2.5rem); color: var(--n900); }
.section .lead { margin: 16px 0 0; max-width: 40rem; font-size: 18px; color: var(--n500); }

/* ---------- Idea band ---------- */
.idea { max-width: var(--wrap-narrow); margin: 0 auto; padding: 80px 24px; text-align: center; }
.idea p { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3;
  font-size: clamp(1.5rem, 3.5vw, 2rem); color: var(--n900); }
.idea .dim { color: var(--n400); }

/* ---------- Features ---------- */
.features-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(10,132,255,0.1); color: var(--accent);
}
.feature h3 { margin: 20px 0 0; font-size: 17px; font-weight: 600; color: var(--n900); }
.feature p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--n500); }

/* ---------- Split sections (how it works / pick currency) ---------- */
.split { display: grid; gap: 64px; align-items: center; }
.split.two { grid-template-columns: 1fr 1fr; }
.steps { margin-top: 40px; display: flex; flex-direction: column; gap: 32px; }
.step { display: flex; gap: 20px; }
.step .n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--n900);
  color: #fff; font-size: 14px; font-weight: 600; display: grid; place-items: center; }
.step h3 { margin: 0; font-size: 17px; font-weight: 600; color: var(--n900); }
.step p { margin: 4px 0 0; max-width: 28rem; font-size: 15px; line-height: 1.6; color: var(--n500); }
.phones { display: flex; justify-content: center; gap: 20px; }
.phones .phone { width: 220px; }
.hero-phone .phone { width: 290px; }
.shift-down { transform: translateY(16px); }
.shift-up { transform: translateY(-16px); }

/* Apple Watch screenshot (or placeholder box until real images arrive) */
.watch-shot {
  width: 210px;
  aspect-ratio: 41 / 50;
  border-radius: 46px;
  background: #000;
  border: 1px solid var(--n200);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.45);
  object-fit: cover;                    /* when it's an <img> */
  display: grid;                        /* when it's the placeholder box */
  place-items: center;
  text-align: center;
  color: var(--n400);
  font-size: 14px;
  line-height: 1.4;
  padding: 24px;
}

img.watch-shot { display: block; padding: 0; }
.watch-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; margin-top: 44px; }

/* Footer external-link icon */
.footer-links a .ext { width: 12px; height: 12px; margin-left: 4px; vertical-align: -1px; }

/* Cheeky calculator aside */
.aside { text-align: center; }
.aside h2 { margin: 0; font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.5rem, 3.5vw, 2.25rem); color: var(--n900); }
.aside .wink { margin: 12px 0 0; font-size: 18px; color: var(--n500); }
.aside .note { margin: 20px auto 0; max-width: 34rem; font-size: 16px; line-height: 1.7; color: var(--n600); }

/* Realistic-rates guide page */
.intro-lead { font-size: 19px; line-height: 1.65; color: var(--n700); }
.tier { display: flex; align-items: center; gap: 12px; margin: 40px 0 10px; }
.tier .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.tier h2 { margin: 0; font-size: 20px; font-weight: 600; color: var(--n900); }
.tier .pct { margin-left: auto; color: var(--n500); font-weight: 600; font-variant-numeric: tabular-nums; }
.tier-body { color: var(--n600); font-size: 16px; line-height: 1.7; }
.tier-body strong { color: var(--n900); font-weight: 600; }
.rate-table-wrap { overflow-x: auto; margin: 20px 0; }
.rate-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rate-table th, .rate-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--n200); color: var(--n700); }
.rate-table th { color: var(--n900); font-weight: 600; }
.rate-table td:last-child, .rate-table th:last-child { text-align: right; white-space: nowrap; font-weight: 600; color: var(--n900); }
.split .body { max-width: 28rem; font-size: 18px; line-height: 1.7; color: var(--n500); }
.split .body.small { font-size: 15px; margin-top: 16px; }

/* ---------- Dark CTA ---------- */
.cta-dark { border-top: 1px solid rgba(229,229,229,0.7); background: var(--n900); }
.cta-dark .inner { max-width: var(--wrap-narrow); margin: 0 auto; padding: 96px 24px; text-align: center; }
.cta-dark h2 { margin: 0; font-weight: 700; letter-spacing: -0.02em; color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.5rem); }
.cta-dark p { margin: 16px auto 0; max-width: 36rem; font-size: 17px; line-height: 1.7; color: var(--n400); }
.cta-dark a.inline { color: var(--n200); text-decoration: underline; text-underline-offset: 4px; }
.cta-dark a.inline:hover { color: #fff; }
.cta-dark .btn-white { margin-top: 32px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid rgba(229,229,229,0.7); background: var(--n50); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 48px 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 24px; height: 24px; display: block; }
.footer-brand span { font-size: 14px; color: var(--n500); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 14px; }
.footer-links a { color: var(--n500); transition: color .15s; }
.footer-links a:hover { color: var(--n900); }

/* ---------- Content pages ---------- */
.page { max-width: var(--wrap-narrow); margin: 0 auto; padding: 80px 24px; }
.page h1 { margin: 0; font-weight: 700; letter-spacing: -0.02em; color: var(--n900);
  font-size: clamp(2rem, 5vw, 3rem); }
.page .subtle { margin: 12px 0 0; font-size: 18px; color: var(--n500); }
.page .date { margin: 12px 0 0; font-size: 15px; color: var(--n400); }
.contact-card {
  margin-top: 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  border: 1px solid var(--n200); background: var(--n50); border-radius: 16px; padding: 24px;
}
.contact-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--n600); }
.callout {
  margin-top: 32px; border: 1px solid rgba(10,132,255,0.2); background: rgba(10,132,255,0.05);
  border-radius: 16px; padding: 24px;
}
.callout p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--n700); }
.callout strong { color: var(--n900); font-weight: 600; }
.faq-h2, .policy-sections h2 { margin: 0; font-weight: 600; letter-spacing: -0.01em; color: var(--n900); }
.faq-h2 { margin-top: 64px; font-size: 22px; }
.policy-sections { margin-top: 48px; display: flex; flex-direction: column; gap: 40px; }
.policy-sections h2 { font-size: 18px; }
.policy-sections p { margin: 8px 0 0; font-size: 16px; line-height: 1.7; color: var(--n600); }
.policy-sections a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* details/summary accordion */
.faq { margin-top: 16px; }
.faq details { border-bottom: 1px solid var(--n200); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-size: 16px; font-weight: 500;
  color: var(--n900); display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform .2s; color: var(--n400); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details > p { margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--n500); max-width: 42rem; }

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; padding-top: 96px; }
}
@media (max-width: 1023px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .split.two { grid-template-columns: 1fr; }
}
/* On desktop the "pick currency" section puts the phones on the left; on mobile
   the DOM order (text first) is what shows. */
@media (min-width: 1024px) {
  .split.reverse .text { order: 2; }
  .split.reverse .phones { order: 1; }
}
@media (max-width: 767px) {
  .footer-inner { flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
  .nav-links { display: none; }
  .nav-toggle-label { display: inline-flex; position: absolute; top: 14px; right: 24px;
    width: 36px; height: 36px; align-items: center;
    justify-content: center; border-radius: 8px; color: var(--n700); cursor: pointer; }
  .nav-toggle-label .close-ico { display: none; }
  .nav-toggle:checked ~ .nav-toggle-label .open-ico { display: none; }
  .nav-toggle:checked ~ .nav-toggle-label .close-ico { display: inline-flex; }
  .mobile-menu { display: none; border-top: 1px solid rgba(229,229,229,0.7); background: #fff; }
  .nav-toggle:checked ~ .mobile-menu { display: block; }
  .mobile-menu a { display: block; padding: 12px 0; font-size: 15px; color: var(--n600); }
  .features-grid { grid-template-columns: 1fr; }
  .phones .phone:nth-child(2) { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
}
