:root {
  --bg: #f6efe4;
  --bg-soft: #fbf7f1;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #fffdf8;
  --ink: #201713;
  --muted: #6a5b52;
  --line: rgba(32, 23, 19, 0.12);
  --line-strong: rgba(32, 23, 19, 0.2);
  --brand: #de6a38;
  --brand-deep: #b9481e;
  --accent: #1f8f77;
  --accent-soft: #e2f3ef;
  --gold: #efb54d;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 24px 60px rgba(32, 23, 19, 0.08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31, 143, 119, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(222, 106, 56, 0.09), transparent 32%),
    linear-gradient(180deg, #fffaf3 0%, var(--bg) 55%, #f0e3d2 100%);
}

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

a {
  color: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(251, 247, 241, 0.86);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(32, 23, 19, 0.12);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--brand);
}

.pill-link {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
}

.pill-link:hover,
.pill-link:focus-visible {
  background: var(--brand-deep);
}

.hero {
  padding: 76px 0 40px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 32px;
  padding: 40px;
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at top left, rgba(31, 143, 119, 0.16), transparent 35%),
    radial-gradient(circle at bottom right, rgba(239, 181, 77, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(252, 241, 226, 0.96));
  border: 1px solid rgba(32, 23, 19, 0.08);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.page-hero h1,
.app-hero h1 {
  margin: 18px 0 16px;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero p,
.page-hero p,
.app-hero p,
.section-copy,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero-actions,
.stack-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line);
}

.hero-card {
  align-self: stretch;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(32, 23, 19, 0.08);
}

.hero-card img {
  width: 100%;
  border-radius: 18px;
  background: #fff;
  object-fit: cover;
}

.hero-card h2,
.section-title,
.card-title,
.app-card h2,
.privacy-card h2,
.content-card h2 {
  font-family: var(--serif);
  letter-spacing: -0.03em;
}

.hero-card h2,
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
  margin: 0 0 12px;
}

main section {
  padding: 34px 0 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 24px;
}

.section-head p,
.section-head .section-copy {
  max-width: 720px;
}

.grid {
  display: grid;
  gap: 20px;
}

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

.stat-card,
.app-card,
.content-card,
.privacy-card,
.shot-card,
.timeline-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 24px;
}

.stat-card strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
  margin-bottom: 10px;
  font-family: var(--serif);
}

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

.featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.featured-app-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.98fr);
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at top left, rgba(31, 143, 119, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(239, 181, 77, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 240, 228, 0.96));
  box-shadow: var(--shadow);
  min-height: 520px;
}

.featured-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.featured-copy h3 {
  margin: 12px 0 10px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.featured-copy p {
  margin: 0 0 18px;
  color: var(--muted);
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(32, 23, 19, 0.08);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
}

.featured-points,
.showcase-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.featured-points {
  margin-bottom: 22px;
}

.featured-points li,
.showcase-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.62;
}

.featured-points li::before,
.showcase-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

.showcase-points li::before {
  background: var(--accent);
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.device-fan {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.device-fan--single {
  min-height: 420px;
}

.device-shot {
  position: absolute;
  width: clamp(180px, 22vw, 240px);
  border-radius: 28px;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.9);
  background: #fff;
  box-shadow: 0 30px 70px rgba(32, 23, 19, 0.22);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.device-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.device-shot--a {
  transform: translateX(-116px) rotate(-12deg) translateY(12px);
  z-index: 1;
}

.device-shot--b {
  transform: translateX(0) rotate(-2deg) translateY(-14px);
  z-index: 3;
}

.device-shot--c {
  transform: translateX(116px) rotate(10deg) translateY(20px);
  z-index: 2;
}

.device-fan--single .device-shot--single {
  position: relative;
  width: clamp(220px, 24vw, 280px);
  transform: translateY(0);
}

.featured-app-card:hover .device-shot--a,
.featured-app-card:focus-within .device-shot--a {
  transform: translateX(-136px) rotate(-15deg) translateY(4px);
}

.featured-app-card:hover .device-shot--b,
.featured-app-card:focus-within .device-shot--b {
  transform: translateX(0) rotate(0deg) translateY(-24px) scale(1.02);
}

.featured-app-card:hover .device-shot--c,
.featured-app-card:focus-within .device-shot--c {
  transform: translateX(136px) rotate(13deg) translateY(10px);
}

.featured-app-card:hover .device-shot,
.featured-app-card:focus-within .device-shot {
  box-shadow: 0 40px 80px rgba(32, 23, 19, 0.26);
}

.app-card {
  overflow: hidden;
}

.app-card-top {
  padding: 24px 24px 10px;
}

.app-card-body {
  padding: 0 24px 24px;
}

.app-index {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.app-card h2 {
  font-size: 2rem;
  margin: 10px 0 8px;
}

.app-card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.tag {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(31, 143, 119, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.app-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.app-shot {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 18px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(31, 143, 119, 0.1), rgba(239, 181, 77, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 240, 228, 0.72));
  color: var(--muted);
  text-align: center;
}

.app-shot--image {
  padding: 0;
  overflow: hidden;
}

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

.app-shot strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
  font-size: 1.02rem;
}

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

.app-card--compact .app-card-top {
  padding-bottom: 18px;
}

.app-card--compact h2 {
  font-size: 1.65rem;
}

.page-hero,
.app-hero {
  padding: 72px 0 30px;
}

.page-hero-card,
.app-hero-card {
  padding: 34px;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(circle at top left, rgba(31, 143, 119, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(249, 241, 229, 0.98));
  border: 1px solid rgba(32, 23, 19, 0.08);
  box-shadow: var(--shadow);
}

.two-up {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
}

.content-card,
.privacy-card {
  padding: 26px;
}

.showcase-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  gap: 24px;
  align-items: center;
}

.showcase-copy {
  display: grid;
  gap: 16px;
}

.showcase-frame {
  padding: 24px;
  border-radius: calc(var(--radius) + 2px);
  background:
    radial-gradient(circle at top left, rgba(31, 143, 119, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 239, 229, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.policy-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.content-card h2,
.privacy-card h2 {
  font-size: 1.7rem;
  margin: 0 0 12px;
}

.policy-stack {
  display: grid;
  gap: 18px;
}

.policy-section {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.policy-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.policy-section h2 {
  margin: 0 0 10px;
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.list-clean li {
  color: var(--muted);
}

.list-clean strong {
  color: var(--ink);
}

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

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

.shot-card {
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 22px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(248, 237, 222, 0.88));
}

.shot-card img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(32, 23, 19, 0.12);
}

.shot-card span {
  color: var(--muted);
  max-width: 180px;
}

.newsletter-card {
  padding: 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(222, 106, 56, 0.12), transparent 35%),
    linear-gradient(140deg, rgba(255, 253, 248, 0.97), rgba(247, 237, 222, 0.97));
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.newsletter-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: center;
}

.newsletter-row p {
  margin: 0;
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-form label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.newsletter-form input {
  min-height: 52px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  color: var(--ink);
}

.newsletter-form button {
  cursor: pointer;
}

.newsletter-note {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.timeline-card {
  padding: 22px;
}

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

.timeline-card p {
  margin: 0;
  color: var(--muted);
}

.foot {
  padding: 28px 0 52px;
}

.foot-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.foot-note {
  color: var(--muted);
  font-size: 0.95rem;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(31, 143, 119, 0.28);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero-panel,
  .two-up,
  .stats-grid,
  .app-grid,
  .featured-grid,
  .list-grid,
  .upcoming-grid,
  .shot-grid,
  .detail-gallery,
  .newsletter-row,
  .featured-app-card,
  .showcase-shell {
    grid-template-columns: 1fr;
  }

  .section-head,
  .foot-wrap,
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-inner {
    padding: 14px 0;
  }

  .featured-app-card {
    min-height: auto;
  }

  .device-fan {
    min-height: 380px;
  }

  .device-shot {
    width: min(42vw, 220px);
  }

  .device-shot--a {
    transform: translateX(-74px) rotate(-10deg) translateY(10px);
  }

  .device-shot--b {
    transform: translateX(0) rotate(-1deg) translateY(-10px);
  }

  .device-shot--c {
    transform: translateX(74px) rotate(8deg) translateY(16px);
  }
}

@media (max-width: 720px) {
  .hero,
  .page-hero,
  .app-hero {
    padding-top: 38px;
  }

  .hero-panel,
  .page-hero-card,
  .app-hero-card,
  .content-card,
  .privacy-card,
  .stat-card {
    padding: 22px;
    border-radius: 22px;
  }

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

  .nav-links {
    gap: 12px;
  }

  .app-card-top,
  .app-card-body {
    padding-left: 20px;
    padding-right: 20px;
  }
}
