:root {
  color-scheme: dark;
  --bg: #0f1419;
  --surface: #171d24;
  --surface-strong: #202832;
  --text: #f4f7fb;
  --muted: #9aa7b5;
  --border: rgba(255, 255, 255, 0.1);
  --primary: #14b8a6;
  --primary-strong: #0d9488;
  --amber: #f59e0b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), transparent 36rem), var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 24px 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 142px);
}

.hero-copy {
  max-width: 600px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 500px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(20, 184, 166, 0.26);
}

.button-primary:hover {
  background: var(--primary-strong);
}

.button[aria-disabled='true'] {
  cursor: not-allowed;
  opacity: 0.62;
  pointer-events: none;
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.phone-preview {
  display: flex;
  justify-content: center;
  margin: 0;
}

.phone-frame {
  width: min(100%, 220px, calc((100vh - 170px) * 0.43));
  aspect-ratio: 945 / 2048;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 26%), #05090d;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.48),
    0 0 70px rgba(20, 184, 166, 0.12);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  object-fit: cover;
}

.release-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: start;
  padding: 18px 0 36px;
}

.section-heading {
  max-width: 420px;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.release-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(23, 29, 36, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-strong);
}

.panel-header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.panel-header strong {
  color: var(--primary);
  font-size: 24px;
}

.release-facts {
  display: grid;
  margin: 0;
}

.release-facts div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.release-facts div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-size: 13px;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.notes-section {
  margin-top: 28px;
  padding: 28px 0 8px;
}

h2 {
  margin-bottom: 10px;
  font-size: 28px;
}

.notes-section li {
  color: var(--muted);
  line-height: 1.6;
}

.notes-section ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

code {
  color: var(--text);
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    padding: 18px;
  }

  .header-actions {
    gap: 14px;
  }

  .header-logo {
    width: 34px;
    height: 34px;
  }

  nav {
    gap: 14px;
  }

  main {
    padding: 18px 18px 48px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    min-height: auto;
  }

  .phone-frame {
    width: min(52vw, 200px);
    border-radius: 30px;
    padding: 8px;
  }

  .phone-frame img {
    border-radius: 22px;
  }

  h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .hero-copy p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .release-section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 36px;
  }

  .section-heading {
    max-width: none;
  }

  .release-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  footer {
    flex-direction: column;
    padding-inline: 18px;
  }
}
