/* ---------------------------------------------------------
   Palate — landing page specific styles
--------------------------------------------------------- */

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

.hero {
  position: relative;
  padding: 84px 0 60px;
  background: linear-gradient(160deg, var(--cream) 0%, var(--blush-soft) 46%, var(--tan) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), rgba(227, 187, 154, 0));
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 12ch;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.hero-sub {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 28px 0 40px;
}

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

.hero-fineprint {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

/* ---------------- Phone mockup ---------------- */

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.phone {
  position: relative;
  width: min(300px, 78vw);
  border-radius: 42px;
  padding: 14px;
  background: linear-gradient(160deg, #2f251d, #1c150f);
  box-shadow:
    0 40px 80px -30px rgba(36, 28, 23, 0.55),
    0 8px 24px -10px rgba(36, 28, 23, 0.35);
  transform: rotate(3deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone:hover {
  transform: rotate(0.5deg) translateY(-6px);
}

.phone::after {
  content: '';
  position: absolute;
  top: 26px;
  left: 50%;
  translate: -50% 0;
  width: 84px;
  height: 20px;
  border-radius: 999px;
  background: #1c150f;
  z-index: 3;
}

.phone-screen {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-screen img {
  width: 100%;
  display: block;
}

.phone-badge {
  position: absolute;
  bottom: -22px;
  left: -34px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 18px 34px -18px rgba(36, 28, 23, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 4;
}

.phone-badge .stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
}

.phone-badge .score {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
}

.phone-badge .score-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------------- Section shell ---------------- */

section {
  padding: 108px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-head .label {
  margin-bottom: 18px;
  display: block;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.section-head p {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 52ch;
}

/* ---------------- Feature rows (zig-zag) ---------------- */

.feature-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
}

.feature-row:last-child {
  border-bottom: 1px solid var(--hairline);
}

.feature-index {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  padding-top: 4px;
}

.feature-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-row:nth-child(even) .feature-body {
  direction: rtl;
}

.feature-row:nth-child(even) .feature-body > * {
  direction: ltr;
}

.feature-text h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.feature-text p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 40ch;
}

.feature-visual {
  border-radius: 20px;
  border: 1px solid var(--hairline);
  background: linear-gradient(155deg, var(--paper), var(--cream-deep));
  padding: 40px 30px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-visual svg {
  width: 100%;
  height: auto;
  max-width: 220px;
}

/* Real in-app screenshots, held in a soft device bezel */
.feature-shot {
  width: min(240px, 74%);
  margin: 0 auto;
  border-radius: 34px;
  padding: 8px;
  background: linear-gradient(160deg, #2f251d, #1c150f);
  box-shadow:
    0 34px 64px -32px rgba(36, 28, 23, 0.6),
    0 6px 18px -8px rgba(36, 28, 23, 0.3);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-shot img {
  width: 100%;
  display: block;
  border-radius: 27px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-row:hover .feature-shot {
  transform: translateY(-6px);
}

/* ---------------- Showcase (annotated screenshot) ---------------- */

.showcase {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

.showcase-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.showcase-frame {
  position: relative;
  justify-self: center;
}

.showcase-frame .phone {
  transform: rotate(-2deg);
  width: min(280px, 70vw);
}

.showcase-frame .phone:hover {
  transform: rotate(-2deg);
}

.callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 14px;
  box-shadow: 0 12px 26px -16px rgba(36, 28, 23, 0.35);
  white-space: nowrap;
}

.callout::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.callout-1 { top: 14%; right: -14%; }
.callout-2 { top: 42%; left: -20%; }
.callout-3 { bottom: 10%; right: -10%; }

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.showcase-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
}

.showcase-item .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
}

.showcase-item h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 8px;
}

.showcase-item p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 44ch;
}

/* ---------------- CTA band ---------------- */

.cta-band {
  background: linear-gradient(155deg, #241c17, #362a20);
  color: var(--paper);
  border-radius: 28px;
  margin: 0 auto;
  max-width: calc(var(--container) - 64px);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(179, 137, 63, 0.28), transparent 55%);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.01em;
  max-width: 16ch;
  margin: 0 auto 20px;
}

.cta-band p {
  font-family: var(--mono);
  font-size: 14px;
  color: #d8cabb;
  max-width: 48ch;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.cta-band .btn-primary {
  background: var(--paper);
  color: var(--ink);
}

.cta-band .btn-primary:hover {
  background: #fff;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    text-align: left;
  }
  .phone-stage {
    margin-top: 20px;
  }
  .feature-row {
    grid-template-columns: 1fr;
  }
  .feature-index {
    display: none;
  }
  .feature-body,
  .feature-row:nth-child(even) .feature-body {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .feature-row:nth-child(even) .feature-visual {
    order: -1;
  }
  .showcase-inner {
    grid-template-columns: 1fr;
  }
  .callout {
    display: none;
  }
  .cta-band {
    padding: 56px 28px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 56px 0 40px;
  }
  .phone-badge {
    left: 0;
    bottom: -18px;
    padding: 10px 14px;
  }
}
