:root {
  --bg: #f2f1ee;
  --card: #ffffff;
  --text: #1c1b1a;
  --muted: #6e6a66;
  --line: #e6e2dd;
  --crust: #bf4d20;
  --crust-tint: #fbe9e0;
  --rye: #8a5a3b;
  --leaf: #3f9a52;
  --sky: #3478c6;
  --round: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --card: #1d1c1b;
    --text: #f3f0ec;
    --muted: #a39d97;
    --line: #2e2c2a;
    --crust: #ff8a50;
    --crust-tint: #3a2117;
  }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--round);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--crust); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

.topbar {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.links { display: flex; gap: 6px; }
.links a { padding: 7px 14px; border-radius: 999px; color: var(--text); font-size: 15px; font-weight: 600; }
.links a:hover, .links a[aria-current="page"] { background: var(--crust-tint); color: var(--crust); text-decoration: none; }

.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding: 64px 0 40px; }
.hero h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.02em; margin: 18px 0 16px; }
.hero h1 span { color: var(--crust); }
.hero p { font-size: 20px; color: var(--muted); margin: 0 0 26px; max-width: 30em; }
.hero .appicon { width: 84px; height: 84px; border-radius: 19px; box-shadow: 0 8px 24px rgba(120, 50, 20, .18); }
.soon { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 14px; background: var(--text); color: var(--bg); font-weight: 700; font-size: 16px; }
.phones { display: flex; justify-content: center; gap: 16px; }
.phones img { width: 46%; max-width: 240px; height: auto; border-radius: 28px; box-shadow: 0 18px 40px rgba(0, 0, 0, .14); }
.phones img:last-child { margin-top: 48px; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 24px 0 18px; }
.tile { background: var(--card); border-radius: 22px; padding: 26px 26px 22px; }
.tile .glyph { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 14px; }
.tile h2 { font-size: 22px; margin: 0 0 8px; }
.tile p { margin: 0 0 8px; color: var(--muted); }
.tile ul { margin: 0; padding-left: 18px; color: var(--muted); }
.tile ul li { margin: 3px 0; }
.g-formula { background: var(--crust); }
.g-plan { background: var(--sky); }
.g-starter { background: var(--leaf); }
.g-bakes { background: var(--rye); }

.band { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 0 0 56px; }
.band figure { margin: 0; background: var(--card); border-radius: 22px; padding: 22px; display: flex; gap: 20px; align-items: center; }
.band figure img { width: 42%; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.band figcaption strong { display: block; font-size: 19px; margin-bottom: 6px; }
.band figcaption { color: var(--muted); }

.private { background: var(--crust-tint); border-radius: 22px; padding: 28px 30px; margin-bottom: 56px; }
.private h2 { margin: 0 0 6px; font-size: 22px; color: var(--crust); }
.private p { margin: 0; }

.doc { max-width: 760px; padding: 48px 0 64px; }
.doc h1 { font-size: 40px; letter-spacing: -0.01em; margin: 0 0 4px; }
.doc .stamp { color: var(--muted); margin: 0 0 26px; }
.doc section { background: var(--card); border-radius: 18px; padding: 20px 24px; margin-bottom: 12px; }
.doc section h2 { font-size: 19px; margin: 0 0 6px; }
.doc section p { margin: 0; color: var(--muted); }
.doc details { background: var(--card); border-radius: 16px; padding: 16px 22px; margin-bottom: 10px; }
.doc summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; position: relative; padding-right: 28px; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: var(--crust); font-size: 24px; font-weight: 600; }
.doc details[open] summary::after { content: "\2212"; }
.doc details p { margin: 10px 0 2px; color: var(--muted); }
.reach { margin-top: 26px; padding: 22px 24px; border-radius: 18px; border: 2px dashed var(--line); }
.reach p { margin: 0; }

.foot { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 18px; }
.foot a { color: var(--muted); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 24px; }
  .tiles, .band { grid-template-columns: 1fr; }
  .band figure img { width: 38%; }
}
@media (max-width: 420px) {
  .links a { padding: 7px 10px; }
  .phones img:last-child { margin-top: 28px; }
}
