:root {
  color-scheme: light;
  --mist: #f4f1ec;
  --warm: #efe8dd;
  --ink: #141719;
  --graphite: #53605d;
  --line: rgba(20, 23, 25, 0.14);
  --glass: rgba(255, 255, 255, 0.62);
  --deep-glass: rgba(250, 248, 242, 0.82);
  --green: #2d8f62;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  background: var(--mist);
  color: var(--ink);
}

button,
input { font: inherit; }

.os-canvas {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 18px max(92px, calc(76px + env(safe-area-inset-bottom)));
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.98), transparent 24rem),
    radial-gradient(circle at 26% 72%, rgba(227, 216, 198, 0.58), transparent 23rem),
    linear-gradient(140deg, #fbfaf7 0%, #f1eee8 45%, #dce4de 100%);
}

.depth-grid {
  position: absolute;
  inset: -18%;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, transparent 0 33%, rgba(76, 91, 87, 0.14) 34%, transparent 35% 100%),
    linear-gradient(rgba(45, 56, 55, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 56, 55, 0.07) 1px, transparent 1px);
  background-size: 100% 100%, 72px 72px, 72px 72px;
  transform: perspective(780px) rotateX(62deg) translateY(16%);
  transform-origin: center bottom;
  mask-image: radial-gradient(ellipse at center, #000 0 42%, transparent 74%);
}

.hero-lockup {
  width: min(720px, 92vw);
  text-align: center;
  transform: translateY(-4vh);
}

.wordmark,
.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-lockup h1,
.simple-panel h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.2rem, 7vw, 6.4rem);
  line-height: 0.92;
  font-weight: 520;
}

.hero-lockup p,
.simple-panel p {
  margin: 0 auto;
  max-width: 64ch;
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.7;
}

.mode-readout {
  display: inline-flex;
  margin-top: 28px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  color: #4d5c58;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.start-button {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 20;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(20, 23, 25, 0.2);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #e6e0d5);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(48, 57, 54, 0.24), inset 0 1px 0 #fff;
  font-size: 1.1rem;
  font-weight: 800;
  transform: translateX(-50%);
  cursor: pointer;
}

.simple-shell {
  width: min(960px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 28px;
}

.simple-panel {
  max-width: 680px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--glass);
  box-shadow: 0 24px 80px rgba(66, 73, 69, 0.16);
  backdrop-filter: blur(18px);
}

@media (max-width: 720px) {
  .hero-lockup { transform: translateY(-7vh); }
  .hero-lockup h1 { font-size: clamp(2rem, 12vw, 4.1rem); }
}
