:root {
  --paper: #fff7ef;
  --paper-strong: #fff2df;
  --sand: #f1d1a4;
  --peach: #ffb38a;
  --coral: #dc6845;
  --coral-deep: #a5472e;
  --ink: #2f241c;
  --ink-soft: #67574b;
  --mint: #76b49a;
  --sky: #c8e7ef;
  --line: rgba(47, 36, 28, 0.09);
  --shadow: 0 18px 60px rgba(76, 46, 22, 0.14);
  --shadow-soft: 0 10px 30px rgba(76, 46, 22, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 210, 170, 0.8), transparent 34%),
    radial-gradient(circle at top right, rgba(118, 180, 154, 0.28), transparent 32%),
    linear-gradient(180deg, #fffaf4 0%, #fff0de 56%, #fff8f0 100%);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(255, 247, 239, 0.8);
  border-bottom: 1px solid rgba(47, 36, 28, 0.06);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.brand-copy strong,
.eyebrow,
.metric strong,
.section-title,
.card h3,
.store-note strong,
.legal-card h1,
.legal-card h2,
.footer-links a,
.button {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}

.brand-copy {
  line-height: 1.1;
}

.brand-copy strong {
  display: block;
  font-size: 1.05rem;
}

.brand-copy span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: #fff9f4;
  box-shadow: 0 14px 30px rgba(164, 71, 46, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(47, 36, 28, 0.08);
}

.hero {
  padding: 54px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--coral-deep);
  box-shadow: var(--shadow-soft);
  font-size: 0.92rem;
}

.hero h1 {
  margin: 18px 0 14px;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero p {
  margin: 0;
  max-width: 620px;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 700;
}

.device-stage {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.85), transparent 24%),
    linear-gradient(145deg, #ffd8bc 0%, #ffeccf 42%, #e1f0ea 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-stage::before,
.device-stage::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.7;
}

.device-stage::before {
  width: 220px;
  height: 220px;
  right: -60px;
  top: -70px;
  background: rgba(255, 255, 255, 0.5);
}

.device-stage::after {
  width: 150px;
  height: 150px;
  left: -40px;
  bottom: -30px;
  background: rgba(118, 180, 154, 0.18);
}

.device-card {
  position: relative;
  margin: 0 auto;
  width: min(100%, 360px);
  border-radius: 38px;
  border: 10px solid #1e1b1a;
  background: #1e1b1a;
  box-shadow: 0 30px 50px rgba(30, 27, 26, 0.24);
}

.device-card::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 122px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: #1e1b1a;
  z-index: 2;
}

.device-card img {
  width: 100%;
  border-radius: 28px;
}

.section {
  padding: 34px 0;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.section-lead {
  margin: 0 0 24px;
  max-width: 760px;
  color: var(--ink-soft);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.metric strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.metric span {
  color: var(--ink-soft);
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.shot {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(47, 36, 28, 0.72);
  color: #fffaf4;
  font-size: 0.92rem;
  font-weight: 700;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.store-note,
.legal-note {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.store-note {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 234, 0.9));
}

.legal-note {
  background: linear-gradient(180deg, rgba(232, 247, 241, 0.86), rgba(255, 255, 255, 0.9));
}

.store-note p,
.legal-note p {
  margin: 0;
  color: var(--ink-soft);
}

.store-note strong,
.legal-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.legal-link {
  display: block;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.legal-link strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.35rem;
}

.legal-link span {
  color: var(--ink-soft);
}

.site-footer {
  padding: 28px 0 48px;
}

.footer-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.footer-copy {
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
}

.legal-hero {
  padding: 46px 0 22px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--coral-deep);
  text-decoration: none;
  font-weight: 800;
}

.legal-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.98;
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 1.45rem;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.legal-card .stamp {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(118, 180, 154, 0.14);
  color: #245644;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-panel,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar,
  .footer-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 12px;
  }

  .hero {
    padding-top: 30px;
  }

  .device-stage {
    padding: 20px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .section-title,
  .legal-card h1 {
    letter-spacing: -0.03em;
  }
}
