/* 3bells site. Tokens mirror docs/DESIGN.md in the app repos. */
:root {
  --orange: #F97316;
  --orange-deep: #E8590C;
  --orange-soft: #FDE7D6;
  --ink: #12171D;
  --text-2: #5C6570;
  --bg: #F5F4F2;
  --card: #FFFFFF;
  --card-raised: #EFEDEA;
  --success: #1F9D63;
  --line: rgba(18, 23, 29, 0.08);
  --radius-card: 24px;
  --radius-tile: 16px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --orange: #FB8A3C;
    --orange-deep: #F97316;
    --orange-soft: #3A2414;
    --ink: #F5F4F2;
    --text-2: #A3ABB5;
    --bg: #0E1114;
    --card: #1A1F25;
    --card-raised: #242A31;
    --success: #3CCB8A;
    --line: rgba(245, 244, 242, 0.09);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-deep); text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: var(--orange); } }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2);
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 22px/1 var(--font-display); letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; opacity: 0.8; }
.nav-links a:hover { opacity: 1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--orange); color: #fff !important; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: 12px 22px; opacity: 1 !important;
  box-shadow: 0 8px 24px -10px rgba(249, 115, 22, 0.7);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(249, 115, 22, 0.85); }
.btn.small { padding: 9px 16px; font-size: 15px; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto 40%; height: 900px; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--orange) 28%, transparent), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(46px, 7.4vw, 92px); font-weight: 800; }
.hero h1 .accent { color: var(--orange); }
.hero .lede { font-size: clamp(18px, 2vw, 21px); color: var(--text-2); max-width: 32em; }
.equip { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 30px; padding: 0; list-style: none; }
.equip li {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-weight: 600; font-size: 15px; display: flex; gap: 8px; align-items: center;
}
.equip li b { color: var(--orange); font-family: var(--font-display); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-width: 186px;
  background: var(--ink); color: var(--bg); border-radius: 14px; padding: 10px 18px; text-decoration: none;
}
.store svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 11px; opacity: 0.75; }
.store strong { font-size: 18px; font-weight: 700; }
.store[aria-disabled="true"] { cursor: default; }
.soon { font-size: 14px; color: var(--text-2); margin-top: 12px; }

.phones { position: relative; height: 620px; }
.phone {
  position: absolute; width: 270px; border-radius: 44px; padding: 9px;
  background: #0b0d10; box-shadow: 0 40px 80px -30px rgba(18,23,29,.45), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone img { border-radius: 36px; width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; }
.phone.p1 { left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.phone.p2 { left: 4%; top: 70px; transform: rotate(-8deg) scale(.86); z-index: 1; }
.phone.p3 { right: 4%; top: 70px; transform: rotate(8deg) scale(.86); z-index: 1; }
@media (max-width: 900px) {
  .hero { padding-top: 44px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { height: 520px; }
  .phone { width: 230px; }
}
@media (max-width: 480px) {
  .phones { height: 450px; }
  .phone { width: 200px; }
  .phone.p2 { left: -12%; } .phone.p3 { right: -12%; }
}

/* Number band */
.band { background: var(--ink); color: var(--bg); margin: 40px 0 0; }
.band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 36px; padding-bottom: 36px; }
.band div { display: flex; flex-direction: column; }
.band b { font: 800 clamp(36px, 5vw, 56px)/1 var(--font-display); color: var(--orange); letter-spacing: -0.03em; }
.band span { font-size: 15px; opacity: .8; margin-top: 6px; }
@media (max-width: 720px) { .band .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; }
.section-head p { font-size: 19px; color: var(--text-2); }

.bells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bell {
  background: var(--card); border-radius: var(--radius-card); padding: 28px; border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.bell .num {
  font: 800 120px/0.8 var(--font-display); color: var(--orange-soft); position: absolute; right: 18px; top: 18px;
}
.bell h3 { font-size: 24px; position: relative; }
.bell p { color: var(--text-2); position: relative; margin: 0; }
.bell .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--orange); display: grid; place-items: center; margin-bottom: 18px; position: relative; }
.bell .ico svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .bells { grid-template-columns: 1fr; } }

.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 8px; }
.day { background: var(--card); border-radius: var(--radius-tile); padding: 18px; border: 1px solid var(--line); }
.day .d { width: 38px; height: 38px; border-radius: 50%; background: var(--card-raised); display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.day:first-child .d { background: var(--orange); color: #fff; }
.day b { display: block; font-family: var(--font-display); font-size: 19px; }
.day small { color: var(--text-2); font-size: 14px; }
@media (max-width: 820px) { .week { grid-template-columns: repeat(2, 1fr); } .day:last-child { grid-column: span 2; } }

.blocks { display: flex; gap: 6px; margin-top: 28px; align-items: flex-end; height: 120px; }
.blocks div { flex: 1; border-radius: 10px 10px 4px 4px; background: var(--orange); position: relative; }
.blocks div span { position: absolute; bottom: -26px; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--text-2); font-weight: 600; }
.blocks .deload { background: var(--card-raised); }
.blocks-wrap { background: var(--card); border-radius: var(--radius-card); padding: 28px 28px 48px; border: 1px solid var(--line); margin-top: 16px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.feature.flip .copy { order: 2; }
.feature h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.feature p { color: var(--text-2); font-size: 18px; }
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; }
.feature li { padding: 8px 0 8px 32px; position: relative; font-weight: 500; }
.feature li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}
.shot {
  background: linear-gradient(160deg, var(--orange-soft), transparent 70%);
  border-radius: 36px; padding: 40px 0; display: grid; place-items: center;
}
.shot .phone { position: static; transform: none; width: 280px; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .copy { order: 0; }
  .shot .phone { width: 240px; }
}

/* Gallery */
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 30px; margin: 0 -20px; }
.gallery figure { margin: 0; flex: none; width: 220px; scroll-snap-align: start; }
.gallery .phone { position: static; width: 100%; border-radius: 36px; padding: 7px; }
.gallery .phone img { border-radius: 30px; }
.gallery figcaption { text-align: center; font-weight: 600; font-size: 15px; margin-top: 12px; color: var(--text-2); }

/* Private */
.private { background: var(--card); border-radius: 36px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; border: 1px solid var(--line); }
.private h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; }
.private p { color: var(--text-2); font-size: 18px; }
.checks { display: grid; gap: 12px; align-content: center; }
.checks div { background: var(--bg); border-radius: var(--radius-tile); padding: 16px 18px; font-weight: 600; display: flex; gap: 12px; align-items: center; }
.checks svg { width: 22px; height: 22px; flex: none; stroke: var(--success); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .private { grid-template-columns: 1fr; } }

.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.platforms div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-tile); padding: 20px; }
.platforms b { display: block; font-family: var(--font-display); font-size: 19px; margin-bottom: 4px; }
.platforms small { color: var(--text-2); font-size: 15px; }
@media (max-width: 820px) { .platforms { grid-template-columns: repeat(2, 1fr); } }

/* CTA */
.cta { text-align: center; background: var(--orange); color: #fff; border-radius: 40px; padding: clamp(40px, 8vw, 88px) 24px; position: relative; overflow: hidden; }
.cta img { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 24px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.4); }
.cta h2 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; }
.cta p { font-size: 19px; opacity: .92; max-width: 34em; margin: 0 auto 28px; }
.cta .stores { justify-content: center; }
.cta .store { background: #12171D; color: #fff; }
.cta .soon { color: rgba(255,255,255,.85); }

/* Footer */
footer { padding: 56px 0 48px; color: var(--text-2); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Document pages (privacy, terms, support, press) */
.doc-hero { padding-top: 64px; padding-bottom: 24px; }
.doc-hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 800; }
.doc-hero p { color: var(--text-2); font-size: 19px; max-width: 40em; }
.doc { max-width: 760px; padding-bottom: 80px; }
.doc h2 { font-size: 28px; font-weight: 800; margin-top: 48px; }
.doc h3 { font-size: 20px; margin-top: 28px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .summary { background: var(--orange-soft); border-radius: var(--radius-card); padding: 24px 28px; font-size: 18px; }
.doc .summary p:last-child { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 16px; }
.doc th, .doc td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); }
.updated { font-size: 15px; color: var(--text-2); }

.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin: 8px 0 24px; }
.contact-card h2 { margin: 0 0 4px; font-size: 24px; }
.contact-card p { margin: 0; color: var(--text-2); }

details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-tile); padding: 0 20px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; padding: 18px 28px 18px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--orange); font-weight: 500; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding-bottom: 18px; color: var(--text-2); }
details > div p:last-child { margin: 0; }

.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 16px 0; }
.press-grid a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-tile); padding: 16px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.press-grid img { border-radius: 12px; margin-bottom: 10px; background: var(--card-raised); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.swatches div { border-radius: var(--radius-tile); overflow: hidden; border: 1px solid var(--line); background: var(--card); font-size: 14px; }
.swatches i { display: block; height: 72px; }
.swatches span { display: block; padding: 10px 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
