:root {
  --bg: #ffffff;
  --bg-warm: #faf6f0;
  --text: #14120f;
  --muted: #6d6a65;
  --accent: #ff8a3d;
  --accent-soft: rgba(255, 138, 61, 0.14);
  --border: rgba(20, 18, 14, 0.1);
  --border-soft: rgba(20, 18, 14, 0.06);
  --surface: rgba(20, 18, 14, 0.035);
  --surface-strong: rgba(20, 18, 14, 0.06);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #ffffff;
  min-height: 100vh;
}

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

.page-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes photoIn {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 13px 40px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 14px;
  z-index: 20;
  box-shadow: 0 8px 30px rgba(20, 18, 14, 0.04);
  animation: fadeDown 550ms var(--ease-premium) both;
}

.brand {
  grid-column: 2;
  justify-self: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  -webkit-text-stroke: 0.4px currentColor;
}

.brand-word {
  display: inline-flex;
  align-items: center;
  gap: 0.02em;
  transform: scaleX(0.92) translateY(3px);
}

.sun-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.96em;
  height: 0.96em;
  margin: 0 0.03em;
}

.sun-o svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 4.4;
  stroke-linecap: round;
  fill: none;
}

.site-nav {
  grid-column: 1;
  justify-self: start;
  display: flex;
  gap: 48px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  transition: color 220ms ease;
}

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

.site-header .button {
  grid-column: 3;
  justify-self: end;
  padding: 10px 20px;
  font-size: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 240ms var(--ease-premium), box-shadow 240ms var(--ease-premium),
    background 240ms var(--ease-premium), border-color 240ms var(--ease-premium);
}

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

.button-primary {
  padding: 17px 30px;
  font-size: 0.96rem;
  background: var(--accent);
  color: #180d04;
  box-shadow: 0 14px 30px rgba(255, 138, 61, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 38px rgba(255, 138, 61, 0.36);
}

.button-secondary {
  padding: 16px 28px;
  font-size: 0.96rem;
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(20, 18, 14, 0.24);
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 0;
  margin-top: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 33%) 1fr;
  align-items: center;
  gap: 56px;
  min-height: 90vh;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 64px 0;
}

.hero-copy::before {
  content: '';
  position: absolute;
  inset: -40px -40px -40px -120px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    circle at left center,
    rgba(250, 246, 240, 0.5),
    rgba(250, 246, 240, 0.16) 45%,
    transparent 68%
  );
}

.eyebrow {
  display: inline-flex;
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 26px;
  animation: fadeUp 550ms var(--ease-premium) 0ms both;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  font-family: 'Sora', sans-serif;
  margin: 0 0 30px;
  animation: fadeUp 650ms var(--ease-premium) 90ms both;
}

.headline-lead {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.012em;
  color: var(--text);
  opacity: 0.66;
  margin-bottom: 2px;
}

.headline-strong {
  font-size: clamp(2.5rem, 3.7vw, 3.4rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.006em;
  color: var(--text);
}

.hero-text {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  animation: fadeUp 600ms var(--ease-premium) 220ms both;
}

.hero-actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 40px 0 56px;
  animation: fadeUp 600ms var(--ease-premium) 340ms both;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  animation: fadeUp 600ms var(--ease-premium) 440ms both;
}

.hero-stats > div {
  padding-left: 24px;
  border-left: 1px solid var(--border);
}

.hero-stats > div:first-child {
  padding-left: 0;
  border-left: none;
}

.hero-stats strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

.hero-media {
  position: relative;
  height: 90vh;
  overflow: visible;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 60% 18%;
  transform-origin: 50% 25%;
  mask-image: linear-gradient(to right, transparent 0%, black 16%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 16%, black 100%);
  animation: photoIn 680ms var(--ease-premium) 60ms both;
}

/* ---------- Rest of page ---------- */

.section-heading h2,
.split-copy h2,
.launch-card h2 {
  font-family: 'Sora', sans-serif;
  margin: 0 0 16px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-text,
.section-heading p,
.split-copy p,
.launch-card p,
.feature-card p,
.product-card p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.can-card {
  position: relative;
  width: min(360px, 82vw);
  padding: 28px;
  border-radius: 36px;
  border: 1px solid var(--border);
  background: var(--bg-warm);
  box-shadow: 0 32px 80px rgba(20, 18, 14, 0.12);
  transform: rotate(-4deg);
}

.can-top {
  height: 74px;
  border-radius: 999px 999px 24px 24px;
  background: linear-gradient(135deg, #f7efe0, #d3a660 45%, #7a4d24 100%);
  margin-bottom: 18px;
}

.can-body {
  border-radius: 28px;
  padding: 24px 22px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
}

.can-label {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
  font-weight: 700;
}

.can-body h2 {
  font-size: 2.1rem;
  margin: 0 0 8px;
}

.can-body p {
  margin: 0;
  color: var(--muted);
}

.trust-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 24px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  margin: 72px 0;
}

.feature-section,
.split-section,
.product-section,
.stats-section,
.launch-section {
  padding: 20px 0 72px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 30px;
}

.section-heading h2,
.split-copy h2,
.launch-card h2 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
}

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

.feature-card,
.product-card,
.panel-card,
.launch-card,
.stats-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  background: var(--bg-warm);
  box-shadow: none;
}

.feature-card h3,
.product-card h3,
.panel-card h3,
.stats-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.text-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 220ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--text);
}

.panel-card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

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

.product-card {
  min-height: 220px;
}

.product-card.primary {
  background: linear-gradient(145deg, rgba(255, 138, 61, 0.14), var(--bg-warm));
}

.product-card span {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.stats-card {
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stats-grid strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 6px;
  color: var(--accent);
}

.stats-grid span {
  color: var(--muted);
}

.launch-card {
  text-align: center;
  padding: 42px 24px;
}

.launch-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.launch-form input {
  min-width: 280px;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.launch-form button {
  border: 0;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--text);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 220ms ease;
}

.launch-form button:hover,
.launch-form button:focus-visible {
  opacity: 0.85;
}

.site-footer {
  text-align: center;
  padding: 10px 24px 40px;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 900px) {
  .split-section,
  .product-grid,
  .feature-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-copy {
    max-width: 100%;
    padding: 48px 4px 32px;
  }

  .hero-copy::before {
    inset: -40px -24px -20px -24px;
    background: radial-gradient(
      circle at center,
      rgba(250, 246, 240, 0.55),
      rgba(250, 246, 240, 0.2) 45%,
      transparent 70%
    );
  }

  .hero-media {
    height: 60vh;
    min-height: 420px;
    order: -1;
  }

  .hero-photo {
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: 52% 20%;
    mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
  }

  .site-header {
    display: flex;
    flex-direction: column;
    padding: 14px 24px;
    border-radius: 24px;
    gap: 12px;
  }

  .brand {
    order: 1;
  }

  .site-nav {
    order: 2;
    width: 100%;
    justify-content: center;
    gap: 22px;
  }

  .site-header .button {
    order: 3;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 14px 14px 0;
  }

  .site-header {
    padding: 12px 16px;
  }

  .site-nav {
    gap: 14px;
    font-size: 0.95rem;
  }

  .hero-media {
    height: 50vh;
    min-height: 340px;
  }

  .hero-actions,
  .launch-form {
    flex-direction: column;
  }

  .launch-form input {
    min-width: 0;
    width: 100%;
  }
}
