:root {
  --berry: #98003d;
  --berry-dark: #72002f;
  --berry-soft: #f8dfe8;
  --forest: #174f40;
  --forest-soft: #dcece7;
  --apricot: #ffc486;
  --warm-white: #fffaf5;
  --warm-panel: #fffdf9;
  --warm-line: rgba(104, 66, 48, 0.17);
  --warm-ink: #241a23;
  --warm-muted: #6b5e64;
}

.home {
  overflow-x: hidden;
  background: var(--warm-white);
  color: var(--warm-ink);
}

.home a {
  text-underline-offset: 0.22em;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--warm-ink);
  color: #ffffff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.home :focus-visible {
  outline: 3px solid #126c59;
  outline-offset: 4px;
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 252, 247, 0.74);
  box-shadow: 0 22px 60px rgba(82, 45, 30, 0.14);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  backdrop-filter: blur(22px) saturate(1.1);
}

.home-header {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 10;
  width: min(1298px, calc(100% - 48px));
  min-height: 82px;
  margin: 0;
  padding: 12px 16px 12px 20px;
  border-radius: 32px;
  transform: translateX(-50%);
}

.home-header .brand {
  gap: 14px;
}

.home-header .brand img {
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(114, 0, 47, 0.22);
}

.home-header .brand span {
  font-size: 1.35rem;
}

.home-header .top-nav {
  justify-content: center;
  gap: clamp(22px, 3vw, 50px);
}

.home-header .top-nav a {
  color: var(--warm-ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.home-header .top-nav a:hover {
  color: var(--berry);
}

.home-header > .top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 18px;
  background: var(--berry);
  box-shadow: 0 14px 30px rgba(152, 0, 61, 0.22);
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
}

.top-cta-short {
  display: none;
}

.hero-stage {
  min-height: 820px;
  background-color: #f6eadc;
  background-image: url("/assets/hero-kitchen-warm.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home .section {
  width: min(1280px, calc(100% - 48px));
}

.home .hero {
  min-height: 820px;
  padding-top: 142px;
  padding-bottom: 46px;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(26px, 4vw, 64px);
}

.home .hero-copy {
  position: relative;
  z-index: 3;
  max-width: 640px;
  padding: 20px 0 10px;
}

.home .eyebrow {
  margin-bottom: 14px;
  color: #c14e21;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
}

.home h1 {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--warm-ink);
  font-size: clamp(3.75rem, 6.5vw, 6.15rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.home h1 span {
  color: var(--berry);
}

.home .lead {
  max-width: 610px;
  margin-bottom: 0;
  color: #3f3439;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.58;
}

.home .cta-row {
  gap: 16px;
  margin-top: 28px;
}

.home .button {
  min-height: 58px;
  border-radius: 16px;
  font-weight: 800;
}

.home .button-primary {
  gap: 10px;
  padding-inline: 24px;
  background: var(--berry);
  box-shadow: 0 16px 34px rgba(152, 0, 61, 0.24);
  color: #ffffff;
}

.home .button-primary:hover {
  background: var(--berry-dark);
}

.home .button-primary img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.home .button-secondary {
  gap: 10px;
  border-color: transparent;
  background: transparent;
  color: var(--berry-dark);
}

.home .button-secondary:hover {
  border-color: rgba(152, 0, 61, 0.26);
  background: rgba(255, 253, 249, 0.48);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 610px;
  margin: 26px 0 0;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  list-style: none;
}

.hero-trust li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  margin: 0;
  padding: 14px 16px;
  color: #3a3336;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.hero-trust li + li {
  border-left: 1px solid var(--warm-line);
}

.home .hero-media {
  position: relative;
  min-height: 650px;
  align-self: end;
}

.home .phone-shot {
  position: absolute;
  width: 340px;
  border: 8px solid #211d23;
  border-radius: 42px;
  background: #211d23;
  box-shadow: 0 34px 70px rgba(36, 19, 21, 0.28);
}

.home .phone-shot-main {
  top: 8px;
  right: 31%;
  z-index: 2;
}

.home .phone-shot-side {
  right: 0;
  bottom: 8px;
  z-index: 1;
  width: 286px;
}

.loop-section {
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 88px);
  padding-top: 92px;
  padding-bottom: 98px;
}

.loop-heading {
  position: sticky;
  top: 32px;
  align-self: start;
}

.home .loop-heading h2 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 4.3vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.loop-heading > p:last-child {
  max-width: 560px;
  color: var(--warm-muted);
  font-size: 1.05rem;
}

.home .steps-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home .step-card {
  min-height: 238px;
  margin: 0;
  padding: 28px;
  border-color: var(--warm-line);
  border-radius: 26px;
  background: var(--warm-panel);
}

.home .step-card:nth-child(2),
.home .step-card:nth-child(4) {
  background: #f9eee9;
}

.home .step-card span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--berry-soft);
  color: var(--berry);
}

.home .step-card h3 {
  font-size: 1.32rem;
}

.home .step-card p {
  margin-bottom: 0;
  color: var(--warm-muted);
  line-height: 1.55;
}

.decision-section {
  padding-top: 90px;
  padding-bottom: 110px;
  border-top: 1px solid var(--warm-line);
}

.decision-heading {
  max-width: 860px;
  margin-bottom: 48px;
}

.home .decision-heading h2 {
  max-width: 820px;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.decision-heading > p:last-child {
  max-width: 720px;
  font-size: 1.08rem;
}

.product-story {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  min-height: 660px;
  overflow: hidden;
  border: 1px solid var(--warm-line);
  border-radius: 34px;
  background: #f9eee9;
}

.product-story-featured {
  grid-template-columns: minmax(320px, 0.78fr) minmax(420px, 1.22fr);
  min-height: 720px;
  margin-bottom: 22px;
  background: var(--forest);
  color: #ffffff;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 64px);
}

.story-number {
  margin-bottom: 20px;
  color: var(--berry);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-story-featured .story-number {
  color: var(--apricot);
}

.home .story-copy h3 {
  max-width: 570px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.3vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.story-copy > p:last-child {
  max-width: 540px;
  margin-bottom: 0;
  color: var(--warm-muted);
  font-size: 1.03rem;
}

.product-story-featured .story-copy > p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.product-screen,
.memory-screen {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  padding: 52px 34px 0;
  overflow: hidden;
}

.product-screen img,
.memory-screen img {
  width: min(100%, 390px);
  border: 7px solid #211d23;
  border-radius: 40px 40px 0 0;
  background: #211d23;
  box-shadow: 0 28px 58px rgba(35, 23, 25, 0.26);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.story-grid .product-story {
  grid-template-columns: 1fr;
  grid-template-rows: auto 530px;
}

.story-grid .story-copy {
  justify-content: flex-start;
  padding-bottom: 20px;
}

.story-grid .story-copy h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
}

.story-grid .product-screen {
  padding-top: 18px;
}

.memory-section {
  background: #f2e6dd;
}

.memory-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(42px, 7vw, 100px);
  min-height: 760px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 90px;
}

.memory-screen {
  align-self: stretch;
  padding: 0 28px;
}

.memory-screen img {
  width: min(100%, 410px);
  border-radius: 40px;
}

.memory-copy {
  max-width: 620px;
}

.home .memory-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 4.8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.memory-copy > p:not(.eyebrow) {
  color: var(--warm-muted);
  font-size: 1.08rem;
}

.memory-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.memory-list li {
  margin: 0;
  padding: 15px 18px;
  border-left: 4px solid var(--berry);
  background: rgba(255, 253, 249, 0.62);
  color: #493e43;
}

.home .plans-section {
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 0;
}

.home .plans-grid {
  gap: 22px;
}

.home .plan-card {
  min-height: 390px;
  padding: clamp(28px, 4vw, 48px);
  border-color: var(--warm-line);
  border-radius: 30px;
  background: var(--warm-panel);
}

.home .plan-card h3 {
  font-size: 2rem;
}

.home .plan-card-featured {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 244, 239, 0.72);
}

.home .trust-section {
  padding-top: 100px;
  padding-bottom: 100px;
  border-top-color: var(--warm-line);
}

.home .trust-section h2 {
  max-width: 540px;
  font-size: clamp(2.5rem, 4vw, 4.3rem);
  letter-spacing: -0.045em;
}

.home .trust-list {
  gap: 14px;
}

.home .trust-list li {
  min-height: 126px;
  padding: 24px;
  border-color: var(--warm-line);
  border-radius: 22px;
  background: #ffffff;
  color: var(--warm-muted);
}

.home .trust-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--warm-ink);
}

.home .final-cta {
  margin-top: 34px;
  margin-bottom: 34px;
  padding: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
}

.home .final-cta img {
  border-radius: 20px;
}

.home .final-cta h2 {
  max-width: 620px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.home .site-footer {
  width: min(1280px, calc(100% - 48px));
  border-top-color: var(--warm-line);
}

.home .site-footer p,
.home .links a {
  color: var(--warm-muted);
}

.home .links a:hover {
  color: var(--berry);
}

#how-it-works,
#why-reelish,
#plans {
  scroll-margin-top: 24px;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass-panel {
    background: #fffaf5;
  }
}

@media (max-width: 1100px) {
  .home-header {
    width: min(960px, calc(100% - 36px));
  }

  .home-header .top-nav {
    gap: 20px;
  }

  .home-header > .top-cta {
    padding-inline: 20px;
  }

  .home .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  }

  .home .hero-media {
    min-height: 580px;
  }

  .home .phone-shot {
    width: 292px;
  }

  .home .phone-shot-side {
    width: 248px;
  }
}

@media (max-width: 920px) {
  .home-header {
    min-height: 74px;
  }

  .home-header .top-nav {
    display: none;
  }

  .home .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 132px;
  }

  .home .hero-copy {
    max-width: 760px;
  }

  .home .hero-media {
    width: min(100%, 670px);
    min-height: 630px;
    margin: 0 auto;
  }

  .home .phone-shot {
    width: 340px;
  }

  .home .phone-shot-side {
    width: 286px;
  }

  .loop-section,
  .memory-layout {
    grid-template-columns: 1fr;
  }

  .loop-heading {
    position: static;
  }

  .product-story,
  .product-story-featured {
    grid-template-columns: 1fr;
  }

  .product-story-featured {
    grid-template-rows: auto 600px;
  }

  .memory-screen {
    order: 2;
    min-height: 650px;
  }

  .memory-copy {
    max-width: 720px;
  }
}

@media (max-width: 680px) {
  .home .section,
  .home .site-footer {
    width: min(100% - 28px, 1280px);
  }

  .home-header {
    top: 12px;
    width: min(100% - 20px, 640px);
    padding: 10px 12px;
    border-radius: 24px;
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }

  .home-header .brand span {
    font-size: 1.08rem;
  }

  .home-header .brand img {
    width: 42px;
    height: 42px;
  }

  .home-header > .top-cta {
    min-height: 46px;
    padding-inline: 14px;
    border-radius: 15px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .top-cta-full {
    display: none;
  }

  .top-cta-short {
    display: inline;
  }

  .hero-stage {
    min-height: 0;
    background-position: 65% center;
  }

  .home .hero {
    gap: 18px;
    padding-top: 112px;
    padding-bottom: 28px;
  }

  .home h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .home .lead {
    font-size: 1rem;
  }

  .home .cta-row,
  .home .button {
    width: 100%;
  }

  .home .button-secondary {
    min-height: 48px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .hero-trust li {
    min-height: 48px;
  }

  .hero-trust li + li {
    border-top: 1px solid var(--warm-line);
    border-left: 0;
  }

  .home .hero-media {
    min-height: 500px;
  }

  .home .phone-shot {
    width: min(65vw, 290px);
    border-width: 6px;
    border-radius: 32px;
  }

  .home .phone-shot-main {
    right: auto;
    left: 0;
  }

  .home .phone-shot-side {
    right: 0;
    width: min(54vw, 235px);
  }

  .loop-section,
  .decision-section,
  .home .plans-section,
  .home .trust-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .home .steps-grid,
  .story-grid,
  .home .plans-grid,
  .home .trust-list {
    grid-template-columns: 1fr;
  }

  .home .step-card {
    min-height: 0;
  }

  .home .decision-heading h2,
  .home .memory-copy h2 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .product-story,
  .product-story-featured {
    min-height: 0;
    border-radius: 26px;
  }

  .product-story-featured {
    grid-template-rows: auto 520px;
  }

  .story-grid .product-story {
    grid-template-rows: auto 470px;
  }

  .story-copy {
    padding: 30px 24px 20px;
  }

  .product-screen {
    padding-inline: 20px;
  }

  .product-screen img,
  .memory-screen img {
    width: min(100%, 330px);
    border-width: 6px;
    border-radius: 32px 32px 0 0;
  }

  .memory-layout {
    min-height: 0;
    padding-top: 68px;
    padding-bottom: 0;
  }

  .memory-screen {
    min-height: 560px;
    padding-inline: 12px;
  }

  .memory-screen img {
    border-radius: 32px 32px 0 0;
  }

  .home .plan-card {
    min-height: 0;
  }

  .home .final-cta {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .home .site-footer {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
