:root {
  color-scheme: light;
  --bg: #faf9f7;
  --bg-soft: #f0eee9;
  --text: #1a1918;
  --muted: #5e5c5a;
  --muted-2: #8a8885;
  --line: rgba(0,0,0,0.08);
  --glass: rgba(255,255,255,0.75);
  --glass-strong: rgba(255,255,255,0.9);
  --accent: #2d7cff;
  --accent-light: rgba(45, 124, 255, 0.1);
  --shadow: 0 30px 60px rgba(0,0,0,0.06);
  --shadow-sm: 0 10px 30px rgba(0,0,0,0.04);
  --radius: 32px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Segoe UI, sans-serif;
  letter-spacing: -0.02em;
  overflow-x: hidden;
}

/* Subtle background mesh */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 80% -10%, rgba(45, 124, 255, 0.05), transparent 40rem),
    radial-gradient(circle at 10% 50%, rgba(45, 124, 255, 0.03), transparent 40rem);
  z-index: -2;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: min(780px, calc(100% - 28px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 40px rgba(0,0,0,.04), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 12px 50px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,1);
}

.brand, .site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.brand img, .site-footer img { border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.08); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(0,0,0,.05); }
.nav-links .nav-store-badge {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 8px;
  line-height: 0;
}
.nav-links .nav-store-badge:hover { background: transparent; }
.nav-store-badge img { width: auto; height: 34px; }

/* Hero Section */
.hero {
  min-height: 94vh;
  display: grid;
  place-items: center;
  justify-items: center;
  text-align: center;
  padding: 126px 0 90px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-icon {
  width: clamp(104px, 15vw, 164px);
  height: clamp(104px, 15vw, 164px);
  border-radius: 36px;
  margin: 28px 0 34px;
  box-shadow: 0 25px 70px rgba(0,0,0,.08), inset 0 0 0 1px rgba(0,0,0,.05);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 980px;
  margin-bottom: 22px;
  padding-bottom: .07em;
  font-size: clamp(54px, 10vw, 120px);
  line-height: 1.05;
  letter-spacing: -0.052em;
  font-weight: 700;
  color: var(--text);
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.3;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.store-badge img { height: 52px; width: auto; }

/* Features */
.feature-row {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 108px);
  padding: 88px 0;
}
.feature-row--reverse { grid-template-columns: minmax(320px, 1fr) minmax(280px, .85fr); }
.feature-row--reverse .phone-card { order: 2; }
.feature-row--reverse .feature-copy { order: 1; }

.phone-card {
  position: relative;
  border-radius: var(--radius);
  isolation: isolate;
  filter: drop-shadow(0 38px 90px rgba(0,0,0,.1));
}
.phone-card img {
  width: min(100%, 470px);
  max-height: 760px;
  object-fit: contain;
  margin-inline: auto;
  border-radius: 28px;
}
.phone-card--wide img { width: min(100%, 520px); }

.feature-copy h2, .post-header h1, .blog-header h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.feature-copy p:not(.eyebrow), .post p, .post li, .blog-card p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  font-weight: 500;
}
.feature-copy { max-width: 640px; }

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 44px 0 60px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer nav { display: flex; gap: 20px; font-weight: 600; }
.site-footer a:hover { color: var(--text); }

/* Blog Section - Normalised */
.blog-page, .post-page { padding-top: 108px; }
.blog-header, .post-header { padding: 28px 0 24px; text-align: center; }
.blog-header .pill, .post-header .pill {
  width: fit-content;
  margin-inline: auto;
  justify-content: center;
  padding: 8px 14px;
}
.blog-header .eyebrow, .post-header .eyebrow {
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: .15em;
}
.blog-header h1, .post-header h1 {
  width: min(860px, 100%);
  max-width: 860px;
  margin-bottom: 14px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(40px, 5.5vw, 66px);
  text-align: center;
  text-wrap: balance;
  line-height: 1.1;
  letter-spacing: -0.04em;
  padding-bottom: .08em;
}
.blog-header p, .post-header p {
  max-width: 700px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  font-weight: 500;
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin-inline: auto;
  padding-bottom: 92px;
}
.blog-card {
  display: block;
  padding: 32px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.blog-card:hover {
  border-color: rgba(0,0,0,.15);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.blog-card h2 { 
  margin-bottom: 12px; 
  font-size: clamp(24px, 2.8vw, 34px); 
  line-height: 1.15; 
  letter-spacing: -0.035em; 
}
.blog-card p { 
  margin-bottom: 16px; 
  font-size: 17px; 
  line-height: 1.5; 
  font-weight: 400; 
}
.blog-card .read-more { 
  color: var(--accent); 
  font-size: 15px; 
  font-weight: 700; 
}

.post {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
  padding: 0 0 120px;
}
.post h2 { margin: 46px 0 14px; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; letter-spacing: -0.038em; }
.post p, .post li { color: var(--text); font-size: 19px; line-height: 1.7; font-weight: 400; }
.post ul, .post ol { padding-left: 1.25rem; }
.post li { margin: 10px 0; }
.post a { color: var(--accent); border-bottom: 1px solid var(--accent-light); }
.post-meta { color: var(--muted-2); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Privacy policy */
.policy-page { padding-top: 142px; }
.policy {
  width: min(820px, calc(100% - 40px));
  padding: 58px 0 120px;
}
.policy h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1.1;
}
.policy-date {
  margin-bottom: 42px;
  color: var(--muted-2);
  font-size: 15px;
  font-weight: 700;
}
.policy h2 {
  margin: 46px 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.045em;
}
.policy p, .policy li {
  color: var(--text);
  font-size: 19px;
  line-height: 1.7;
  font-weight: 400;
}
.policy ul {
  padding-left: 1.25rem;
  margin: 0 0 24px;
}
.policy li { margin: 10px 0; }
.policy a { color: var(--accent); border-bottom: 1px solid var(--accent-light); }

@media (max-width: 840px) {
  .site-header { top: 10px; width: calc(100% - 20px); }
  .brand span { display: none; }
  .nav-links { gap: 2px; font-size: 13px; }
  .nav-links a { padding: 9px 11px; }
  .nav-links .nav-store-badge { padding: 0; }
  .hero { padding-top: 112px; min-height: 88vh; }
  .feature-row, .feature-row--reverse {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 70px 0;
  }
  .feature-row--reverse .phone-card, .feature-row--reverse .feature-copy { order: initial; }
  .feature-copy { text-align: center; margin-inline: auto; }
  .phone-card img { max-height: 680px; }
  .blog-list { padding-bottom: 80px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .section-shell { width: min(var(--max), calc(100% - 24px)); }
  h1 { font-size: clamp(48px, 15vw, 76px); }
  .hero-copy { font-size: 19px; }
  .store-badge img { height: 46px; }
  .nav-store-badge img { height: 32px; }
  .phone-card img { border-radius: 22px; }
  .feature-copy h2 { font-size: clamp(34px, 11vw, 52px); }
  .blog-page, .post-page { padding-top: 90px; }
  .blog-header, .post-header { padding-top: 24px; }
  .blog-header h1, .post-header h1 { font-size: clamp(34px, 10.4vw, 46px); }
  .blog-header p, .post-header p { font-size: 17px; }
  .blog-card { padding: 24px; border-radius: 20px; }
  .blog-card h2 { font-size: clamp(21px, 6vw, 26px); }
  .blog-card p { font-size: 15px; }
  .post p, .post li { font-size: 17px; }
  .policy p, .policy li { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.theme-toggle:hover {
  color: var(--text);
  background: rgba(0,0,0,.05);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255,255,255,.1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0e0d;
  --bg-soft: #1a1918;
  --text: #f0eee9;
  --muted: #a3a19d;
  --muted-2: #757370;
  --line: rgba(255,255,255,0.1);
  --glass: rgba(20, 20, 20, 0.75);
  --glass-strong: rgba(20, 20, 20, 0.9);
  --accent: #4a8dff;
  --accent-light: rgba(74, 141, 255, 0.15);
  --shadow: 0 30px 60px rgba(0,0,0,0.4);
  --shadow-sm: 0 10px 30px rgba(0,0,0,0.2);
}

[data-theme="dark"] .site-header {
  background: rgba(20, 20, 20, 0.6);
  border-color: rgba(255,255,255,0.05);
  box-shadow: 0 12px 40px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.1);
}
[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(20, 20, 20, 0.85);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 12px 50px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.15);
}

[data-theme="dark"] .blog-card {
  background: var(--bg-soft);
}
[data-theme="dark"] .pill {
  background: rgba(30, 30, 30, 0.8);
}
[data-theme="dark"] .nav-links a:hover {
  background: rgba(255,255,255,.1);
}
