:root {
  color-scheme: light dark;
  --radius: 22px;
  --wrap: 1120px;
  /* light (default when the system is light) */
  --bg: #f6f8fb;
  --bg-raised: #ffffff;
  --line: #dbe2ec;
  --text: #0e1622;
  --muted: #566376;
  --accent: #087596;
  --accent-ink: #ffffff;
  --header-bg: rgba(246, 248, 251, .85);
  --device: #c7d0dc;
  --shadow: 0 24px 60px rgba(20, 35, 60, .18);
  --draft-line: #d9a93a;
  --draft-bg: #fff6dd;
  --draft-text: #6b4e06;
}
/* dark: when the system is dark and the visitor has not chosen light... */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0f17;
    --bg-raised: #131a26;
    --line: #243044;
    --text: #eef2f8;
    --muted: #9aa7ba;
    --accent: #19c8f5;
    --accent-ink: #04222c;
    --header-bg: rgba(11, 15, 23, .82);
    --device: #1c2534;
    --shadow: 0 30px 80px rgba(0, 0, 0, .55);
    --draft-line: #7a5a12;
    --draft-bg: #2a2109;
    --draft-text: #f3d48a;
  }
}
/* ...or when the visitor has chosen dark */
:root[data-theme="dark"] {
  --bg: #0b0f17;
  --bg-raised: #131a26;
  --line: #243044;
  --text: #eef2f8;
  --muted: #9aa7ba;
  --accent: #19c8f5;
  --accent-ink: #04222c;
  --header-bg: rgba(11, 15, 23, .82);
  --device: #1c2534;
  --shadow: 0 30px 80px rgba(0, 0, 0, .55);
  --draft-line: #7a5a12;
  --draft-bg: #2a2109;
  --draft-text: #f3d48a;
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--header-bg); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; letter-spacing: -.01em; }
.brand img { width: 30px; height: auto; }
/* The logos are single-ink artwork; in the dark theme they are inverted. */
:root[data-theme="dark"] .logo { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo { filter: invert(1); } }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { height: 38px; width: auto; }
.site-header nav { display: flex; gap: 26px; font-size: 15px; align-items: center; }
.site-header nav a { color: var(--muted); }
.site-header nav a:hover { color: var(--text); text-decoration: none; }

.theme-toggle { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0;
  border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.theme-toggle:hover { background: var(--bg-raised); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}

/* type */
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 20px; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 14px; }
h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -.01em; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 34em; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.muted { color: var(--muted); }

/* hero */
.hero { padding: 76px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.button { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: 16px; }
.button.primary { background: var(--accent); color: var(--accent-ink); }
.button.ghost { border: 1px solid var(--line); color: var(--text); }
.button:hover { text-decoration: none; filter: brightness(1.08); }
.note { font-size: 14px; color: var(--muted); }

.phone { border-radius: 44px; border: 9px solid var(--device); background: #000; overflow: hidden; box-shadow: var(--shadow); }
.tablet { border-radius: 26px; border: 10px solid var(--device); background: #000; overflow: hidden; box-shadow: var(--shadow); }
.hero-shot { max-width: 330px; margin: 0 auto; }

.hero .wrap > *, .split > *, .gallery > *, .features > * { min-width: 0; }

/* sections */
section { padding: 72px 0; }
.band { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 36px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.band .feature { background: var(--bg); }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }
.feature .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-bottom: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .phones { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; }
.checks li { padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.checks strong { display: block; }
.checks span { color: var(--muted); font-size: 16px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery figure { margin: 0; }
.gallery figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 12px; }
.wide-shot { margin: 40px auto 0; max-width: 720px; }
.wide-shot figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 12px; }

.watches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 920px; }
.watches figure { margin: 0; }
.watches figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 12px; }
.watch { border-radius: 30%/26%; border: 8px solid var(--device); background: #000; overflow: hidden; box-shadow: var(--shadow); }
.watches > * { min-width: 0; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer nav { display: flex; gap: 22px; }

/* text pages */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); }
.doc h2 { font-size: 24px; margin-top: 36px; }
.doc li { margin-bottom: 8px; }
.draft { border: 1px solid var(--draft-line); background: var(--draft-bg); color: var(--draft-text); border-radius: 14px; padding: 14px 18px; font-size: 15px; margin-bottom: 28px; }

@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .watches { grid-template-columns: 1fr 1fr; }
  .site-header nav a.hide-small { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .features { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .hero { padding-top: 44px; }
}
