/* Watch face (CSS-rendered dive UI) and hero composition */

.hero {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(72px, 10vw, 140px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-copy .h1 .accent { color: var(--accent); }
.hero-meta {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }

/* Spec strip under CTAs */
.hero-spec {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-1);
  overflow: hidden;
}
.hero-spec > div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}
.hero-spec > div:last-child { border-right: none; }
.hero-spec .lbl { display: block; margin-bottom: 6px; }
.hero-spec .val {
  font-family: var(--mono); font-weight: 500;
  font-size: 22px; letter-spacing: -0.01em; color: var(--fg);
}
.hero-spec .val small { color: var(--fg-3); font-size: 12px; margin-left: 4px; }

@media (max-width: 540px) {
  .hero-spec { grid-template-columns: 1fr; }
  .hero-spec > div { border-right: none; border-bottom: 1px solid var(--line); }
  .hero-spec > div:last-child { border-bottom: none; }
}

/* ============================================================
   Watch device — generic squarcle smartwatch shell
   ============================================================ */

.watch-stage {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 20px;
}
.watch-stage::before {
  content: ''; position: absolute; inset: -10% -20%;
  background: radial-gradient(ellipse at 50% 45%, color-mix(in oklab, var(--accent) 20%, transparent) 0%, transparent 55%);
  filter: blur(40px);
  pointer-events: none;
}

.watch {
  position: relative;
  width: 320px; height: 380px;
  border-radius: 56px;
  background: linear-gradient(160deg, oklch(0.55 0.02 80) 0%, oklch(0.30 0.015 80) 50%, oklch(0.42 0.02 80) 100%);
  padding: 18px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.6),
    0 0 0 1px oklch(0.25 0.01 80),
    inset 0 1px 0 oklch(0.85 0.02 80 / 0.4);
}
/* Action button */
.watch::before {
  content: ''; position: absolute;
  left: -6px; top: 88px; width: 10px; height: 28px;
  background: var(--accent);
  border-radius: 3px 0 0 3px;
  box-shadow: inset -1px 0 0 oklch(0.45 0.10 70);
}
/* Crown */
.watch::after {
  content: ''; position: absolute;
  right: -8px; top: 110px; width: 14px; height: 36px;
  background: linear-gradient(90deg, oklch(0.50 0.01 80), oklch(0.30 0.01 80));
  border-radius: 0 4px 4px 0;
  box-shadow: inset 0 -1px 0 oklch(0.20 0.01 80);
}
.watch-screen {
  width: 100%; height: 100%;
  background: #000;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  padding: 16px 18px 14px 18px;
  font-family: var(--mono);
  color: #fff;
}
/* Top status row */
.w-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 0.05em;
  color: oklch(0.85 0.005 240);
  margin-bottom: 8px;
}
.w-status .time { font-variant-numeric: tabular-nums; }
.w-status .badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.w-status .badge::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 6px var(--accent);
}
/* Telemetry rows */
.w-rows { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.w-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  gap: 8px;
}
.w-row .k {
  font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 600;
}
.w-row .v {
  font-size: 38px; font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.w-row .v small { font-size: 14px; color: oklch(0.7 0.005 240); margin-left: 4px; font-weight: 400; }
.w-row.depth .k  { color: var(--tel-depth); }
.w-row.dt    .k  { color: var(--tel-time); }
.w-row.ndl   .k  { color: var(--tel-ndl); }
/* Bottom bar */
.w-bot {
  margin-top: 6px;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px;
  border-top: 1px solid oklch(0.30 0.01 240);
  font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase;
  color: oklch(0.7 0.005 240);
}
.w-bot .asc {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--tel-time);
}
.w-bot .asc .arrows { letter-spacing: -2px; }
.w-bot .gas {
  color: var(--tel-ndl);
}

/* Real Apple Watch Ultra photo + live screen overlay */
.watch-photo {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1024 / 1536;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.55));
}
.watch-photo__img {
  width: 100%; height: 100%;
  display: block;
  position: relative; z-index: 1;
  pointer-events: none;
}
.watch-photo__screen {
  position: absolute;
  left: 20.5%;
  right: 22%;
  top: 21.5%;
  bottom: 32%;
  z-index: 2;
  background: #000;
  border-radius: 19% / 13%;
  overflow: hidden;
  display: flex; flex-direction: column;
  padding: 6% 7% 5% 7%;
  font-family: var(--mono);
  color: #fff;

}
/* ============================================================
   Watch photo screen — real app layout
   ============================================================ */

.watch-photo__screen {
  font-family: system-ui, -apple-system, sans-serif;
}

.ws-layout {
  display: flex;
  height: 100%;
  gap: 4%;
}

.ws-col-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-width: 0;
}

.ws-metric {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ws-lbl {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}
.ws-depth-lbl { color: #ff9500; }
.ws-dt-lbl    { color: #30d158; }
.ws-ndl-lbl   { color: #64d2ff; }

.ws-bigval {
  font-size: 38px;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.ws-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  flex-shrink: 0;
}

.ws-clock-val {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.ws-asc-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ws-asc-label {
  font-size: 9px;
  color: #8e8e93;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

.ws-asc-visual {
  display: flex;
  align-items: flex-start;
  gap: 3px;
}

.ws-asc-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ws-asc-bar {
  width: 11px;
  height: 12px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
  transition: background 0.2s;
}
.ws-asc-bar.ws-asc-bar-tall { height: 24px; }

.ws-asc-bar.active        { background: #ffd60a; }
.ws-asc-bar.active.danger { background: #ff3b30; }

.ws-asc-arrow {
  font-size: 14px;
  color: #ffd60a;
  line-height: 1;
  margin-top: 1px;
}

@media (max-width: 540px) {
  .ws-bigval    { font-size: 28px; }
  .ws-lbl       { font-size: 10px; }
  .ws-clock-val { font-size: 11px; }
  .ws-asc-label { font-size: 7px; }
  .ws-asc-arrow { font-size: 11px; }
}

/* Watch caption strip */
.watch-caption {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3);
  padding: 8px 14px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--bg-1);
}
.watch-caption .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tel-time);
  box-shadow: 0 0 8px var(--tel-time);
  animation: pulse 1.6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .watch-caption .live-dot { animation: none; }
}

/* Depth rule ticks beside hero watch */
.depth-rule {
  position: absolute;
  left: -36px; top: 12%; bottom: 12%;
  width: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  pointer-events: none;
}
.depth-rule .tick {
  height: 1px; background: var(--line-2);
  position: relative;
}
.depth-rule .tick.major { background: var(--fg-3); }
.depth-rule .tick .lab {
  position: absolute; right: 100%; padding-right: 8px;
  top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em;
  color: var(--fg-3); white-space: nowrap;
}
@media (max-width: 1100px) { .depth-rule { display: none; } }

/* ============================================================
   App promo strip (sub-apps)
   ============================================================ */
.apps-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 760px) { .apps-row { grid-template-columns: 1fr; } }
.apps-row .app-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  overflow: hidden;
  transition: border-color .15s, transform .15s;
  text-decoration: none; color: inherit;
}
.apps-row .app-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.apps-row .app-card .badge {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: 0.05em;
  color: #000;
}
.apps-row .app-card.gas .badge { background: oklch(0.78 0.16 145); }
.apps-row .app-card.deco .badge { background: oklch(0.80 0.13 220); }
.apps-row .app-card h3 { font-size: 24px; letter-spacing: -0.02em; margin: 0; }
.apps-row .app-card p { color: var(--fg-2); margin: 0; font-size: 15px; line-height: 1.55; }
.apps-row .app-card .more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 500; font-size: 14px;
}
.apps-row .app-card .platforms {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.apps-row .app-card .platforms span {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--fg-3);
  padding: 4px 8px; border: 1px solid var(--line); border-radius: 4px;
}

/* ============================================================
   Screenshots gallery
   ============================================================ */
.shots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.shots .shot {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-1);
  aspect-ratio: 9/19.5;
}
.shots .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1000px) { .shots { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .shots {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 12px;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shots { scrollbar-width: none; }
  .shots .shot {
    flex: 0 0 58vw;
    scroll-snap-align: start;
  }
}

/* ============================================================
   Indie/about strip
   ============================================================ */
.about {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 800px) { .about { grid-template-columns: 1fr; gap: 32px; } }
.about .quote-mark {
  font-family: var(--sans); font-size: 80px; line-height: 0.6;
  color: var(--accent); margin-bottom: 16px;
}
.about p.q {
  font-size: 22px; line-height: 1.4; letter-spacing: -0.015em;
  color: var(--fg); text-wrap: pretty; margin: 0;
}
.about .signoff {
  display: flex; flex-direction: column; gap: 6px; margin-top: 24px;
}
.about .signoff .name { font-weight: 600; }
.about .signoff .role { color: var(--fg-3); font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }

.about .specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.about .specs > div {
  padding: 22px;
  background: var(--bg-1);
}
.about .specs .lbl { display: block; margin-bottom: 8px; }
.about .specs .val { font-family: var(--mono); font-size: 17px; font-weight: 500; }

/* ============================================================
   FAQ (collapsible)
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.faq details {
  background: var(--bg-1);
  padding: 0;
}
.faq details summary {
  list-style: none;
  padding: 22px 24px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-weight: 500; font-size: 17px; letter-spacing: -0.01em;
  transition: background .15s;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary:hover { background: var(--bg-2); }
.faq details summary::after {
  content: '+'; font-family: var(--mono); font-size: 20px; color: var(--fg-3);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details .a {
  padding: 0 24px 22px 24px;
  color: var(--fg-2); font-size: 15px; line-height: 1.6; max-width: 70ch;
}

/* ============================================================
   Sub-page top hero
   ============================================================ */
.subhero {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.subhero .crumbs {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--fg-3); text-transform: uppercase;
  display: flex; gap: 10px; align-items: center; margin-bottom: 24px;
}
.subhero .crumbs a { color: var(--fg-3); }
.subhero .crumbs a:hover { color: var(--fg); }
.subhero .crumbs .sep { color: var(--fg-4); }
.subhero h1 { margin: 0; }
.subhero .lede { margin-top: 18px; }

/* Generic two-column split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse { direction: ltr; }
}
.split .copy h3 { margin-bottom: 10px; }
.split .copy p { color: var(--fg-2); line-height: 1.6; max-width: 50ch; }
.split .frame {
  border: 1px solid var(--line); border-radius: 32px; padding: 16px;
  background: var(--bg-1);
  aspect-ratio: 9/19.5; max-width: 360px; margin: 0 auto;
  overflow: hidden;
}
.split .frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
