:root {
  --bg: #f5f6f8;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --text: #101114;
  --muted: #767982;
  --line: rgba(18, 19, 22, 0.1);
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.12);
}

:root[data-theme="dark"] {
  --bg: #090a0d;
  --surface: rgba(29, 30, 34, 0.76);
  --surface-solid: #1c1d21;
  --text: #f6f7f9;
  --muted: #a1a4ad;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 4%, var(--accent-soft), transparent 26rem),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg), var(--surface-solid) 22%));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

body.info-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg), var(--surface-solid) 22%));
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.site-footer nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 720;
  font-size: 18px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.theme-media {
  display: block;
}

.theme-media .dark-media {
  display: none;
}

:root[data-theme="dark"] .theme-media .light-media {
  display: none;
}

:root[data-theme="dark"] .theme-media .dark-media {
  display: block;
}

.site-header nav,
.site-footer nav {
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-header a:hover,
.site-footer a:hover {
  color: var(--text);
}

.theme-toggle,
.button {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
  font: inherit;
  cursor: pointer;
  backdrop-filter: blur(18px);
}

.theme-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  min-width: 96px;
  padding: 4px;
  border-radius: 999px;
}

.theme-toggle span {
  display: grid;
  place-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
}

:root:not([data-theme="dark"]) .theme-toggle .sun,
:root[data-theme="dark"] .theme-toggle .moon {
  color: #fff;
  background: var(--accent);
}

.minimal-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: clamp(48px, 6vw, 82px);
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100svh - 82px);
  margin: 0 auto;
  padding: 34px 0 58px;
}

.minimal-copy {
  max-width: 480px;
  margin: 0;
  text-align: left;
}

.minimal-copy h1 {
  font-size: clamp(56px, 7vw, 88px);
}

.minimal-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 34px);
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 8px 0 0;
}

.main-phone {
  width: clamp(212px, 21vw, 258px);
  transform: rotate(-2deg);
  z-index: 2;
}

.side-phone {
  width: clamp(198px, 20vw, 242px);
  opacity: 0.96;
  transform: rotate(3deg);
  z-index: 1;
}

.floating-watch {
  width: clamp(132px, 14vw, 166px);
  transform: rotate(-1deg);
  z-index: 3;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 92px);
  letter-spacing: 0;
  line-height: 1.02;
}

.lead {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  min-width: 122px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 650;
}

.button.primary {
  border-color: transparent;
  color: #fff;
  background: var(--accent);
}

.device {
  position: relative;
  margin: 0;
  line-height: 0;
  filter: drop-shadow(0 24px 48px rgba(17, 22, 32, 0.18));
}

.device .screen {
  overflow: hidden;
  border: 1px solid rgba(118, 124, 136, 0.28);
  background: transparent;
}

.phone .screen,
.phone img {
  border-radius: clamp(20px, 2.7vw, 32px);
}

.watch .screen,
.watch img {
  border-radius: clamp(18px, 2.4vw, 28px);
}

:root[data-theme="dark"] .device .screen {
  border-color: rgba(255, 255, 255, 0.24);
}

.device img {
  width: 100%;
  height: auto;
}

.quiet-features,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.quiet-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--line);
}

.quiet-features div {
  padding: 26px;
  background: var(--surface);
  backdrop-filter: blur(18px);
}

.quiet-features strong,
.quiet-features span {
  display: block;
}

.quiet-features span {
  margin-top: 8px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 70px 0 42px;
  color: var(--muted);
}

.page {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.info-page .page {
  display: flex;
  flex: 1;
  align-items: center;
}

.page-card {
  width: 100%;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  backdrop-filter: blur(18px);
}

.page-card h1 {
  font-size: clamp(38px, 6vw, 68px);
}

.page-card p,
.page-card li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.page-card ul {
  padding-left: 20px;
}

.page-actions {
  margin: 28px 0;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .minimal-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .minimal-copy {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }

  .minimal-copy h1 {
    font-size: clamp(54px, 12vw, 86px);
  }

  .quiet-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header nav,
  .site-footer nav {
    justify-content: space-between;
  }

  .minimal-hero {
    padding-top: 28px;
  }

  .minimal-stage {
    gap: 12px;
    width: min(640px, 100%);
    padding: 8px 0 14px;
  }

  .main-phone,
  .side-phone {
    width: 33%;
  }

  .floating-watch {
    width: 23%;
  }
}
