@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,500;6..72,600&display=swap');

:root {
  --ink: #2c2134;
  --paper: #fff9e9;
  --surface: #fffdf6;
  --rose: #b45567;
  --rose-soft: #f3d9dc;
  --violet: #72517e;
  --violet-soft: #eee5f1;
  --gold: #d5a643;
  --muted: #6f6573;
  --line: #dfd2bc;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Geist, Arial, sans-serif;
  line-height: 1.65;
}
body, .site-main { max-width: 100%; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, a, [tabindex] { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, figure { margin-top: 0; }
img { max-width: 100%; }
.page-width { margin: 0 auto; width: min(var(--max-width), calc(100% - 48px)); }

.site-header {
  align-items: center;
  background: rgba(255, 253, 246, .94);
  border: 1px solid rgba(223, 210, 188, .9);
  display: flex;
  height: 62px;
  justify-content: space-between;
  left: 20px;
  padding: 0 20px;
  position: fixed;
  right: 20px;
  top: 16px;
  z-index: 20;
  backdrop-filter: blur(16px);
}
.brand, .footer-brand { align-items: center; display: inline-flex; gap: 10px; font-weight: 700; }
.brand span, .footer-brand span { letter-spacing: .16em; }
.brand img { border-radius: 8px; height: 34px; width: 34px; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--muted); font-size: 14px; transition: color 180ms ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--rose); }
.header-action {
  background: var(--ink);
  color: var(--surface);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  transition: background-color 180ms ease;
}
.header-action:hover, .header-action:focus-visible { background: var(--rose); }

.hero {
  color: #fffdf6;
  height: min(900px, 88svh);
  min-height: 660px;
  overflow: hidden;
  position: relative;
}
.hero-backdrop {
  background-image: url('assets/backgrounds/login-youthful-first-date.png');
  background-position: 62% 45%;
  background-size: cover;
  inset: 0;
  position: absolute;
}
.hero-backdrop::after { background: rgba(38, 26, 46, .68); content: ''; inset: 0; position: absolute; }
.hero-content { padding-top: clamp(150px, 20vh, 220px); position: relative; z-index: 2; }
.eyebrow { color: #ffe4a4; font-size: 12px; font-weight: 600; letter-spacing: .16em; margin-bottom: 22px; }
h1, h2 { font-family: Newsreader, Georgia, serif; font-weight: 600; letter-spacing: 0; line-height: 1.03; }
h1 { font-size: 88px; margin-bottom: 28px; max-width: min(92vw, 1120px); width: 78%; }
.hero-copy { color: #fff6dd; font-size: 18px; max-width: 590px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.button { align-items: center; border: 1px solid transparent; display: inline-flex; font-size: 14px; font-weight: 600; justify-content: center; min-height: 50px; padding: 0 22px; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.button-primary { background: #fff5ce; color: var(--ink); }
.button-primary:hover, .button-primary:focus-visible { background: #ffe29a; }
.button-secondary { border-color: rgba(255, 255, 255, .56); color: #fff; }
.button-secondary:hover, .button-secondary:focus-visible { background: #fff; color: var(--ink); }
.device-preview { bottom: -120px; position: absolute; right: max(28px, calc((100% - var(--max-width)) / 2)); transform: rotate(3deg); width: min(280px, 23vw); z-index: 3; }
.device-frame { background: #1d1722; border: 7px solid #1d1722; border-radius: 28px; box-shadow: 0 26px 70px rgba(20, 10, 25, .45); overflow: hidden; }
.product-phone { background: #fffaf4; color: var(--ink); display: flex; flex-direction: column; min-height: 490px; padding: 19px 16px; }
.phone-status { align-items: center; display: flex; font-size: 9px; font-weight: 700; justify-content: space-between; margin-bottom: 36px; }
.phone-status span:last-child { background: var(--ink); border-radius: 10px; height: 7px; width: 46px; }
.product-phone > img { align-self: center; border-radius: 14px; height: 58px; margin-bottom: 12px; width: 58px; }
.product-phone > strong { font-size: 18px; letter-spacing: .13em; text-align: center; }
.product-phone > p { color: var(--muted); font-size: 11px; margin: 8px 0 30px; text-align: center; }
.phone-field { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; margin-bottom: 18px; padding: 0 2px 10px; }
.phone-button { background: var(--ink); color: var(--surface); font-size: 11px; font-weight: 600; margin-top: 8px; padding: 12px; text-align: center; }
.device-preview figcaption { color: #fff0bd; font-size: 12px; margin-top: 10px; text-align: center; }
.scroll-cue { bottom: 25px; left: 50%; position: absolute; transform: translateX(-50%); z-index: 4; }
.scroll-cue svg { fill: none; height: 24px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 24px; }

.section { padding: 150px 0; }
.purpose { background: var(--paper); }
.purpose-grid { align-items: end; display: grid; gap: 10%; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .8fr); }
h2 { font-size: 64px; margin-bottom: 0; }
.purpose-copy { border-left: 2px solid var(--rose); padding-left: 28px; }
.lead { color: var(--ink); font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.purpose-copy p:last-child { color: var(--muted); margin-bottom: 0; }

.feature-section { background: var(--violet-soft); }
.section-heading { align-items: end; display: flex; gap: 40px; justify-content: space-between; margin-bottom: 64px; }
.section-heading h2 { max-width: 760px; }
.section-heading p { color: var(--muted); margin-bottom: 4px; max-width: 290px; }
.bento-grid { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.feature-panel { border: 1px solid rgba(114, 81, 126, .25); min-height: 290px; padding: 34px; position: relative; transition: background-color 220ms ease, color 220ms ease; }
.feature-panel-wide { grid-column: span 7; }
.feature-panel-memory, .feature-panel-repair { grid-column: span 5; }
.feature-panel:hover { background: var(--surface); }
.feature-panel-memory { background: var(--rose-soft); }
.feature-panel-safety { background: var(--ink); color: #fff; }
.feature-icon { align-items: center; border: 1px solid currentColor; display: flex; height: 46px; justify-content: center; margin-bottom: 48px; width: 46px; }
.feature-icon svg { fill: none; height: 22px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 22px; }
.feature-panel h3 { font-size: 25px; font-weight: 600; line-height: 1.2; margin-bottom: 10px; max-width: 520px; }
.feature-panel p { color: var(--muted); margin-bottom: 0; max-width: 560px; }
.feature-panel-safety p { color: #e9dfec; }
.feature-fact { color: #7f3947; display: block; font-size: 12px; font-weight: 600; margin-top: 22px; text-transform: uppercase; }

.experience { background: var(--surface); }
.experience-heading { align-items: end; display: grid; gap: 9%; grid-template-columns: 1fr .62fr; margin-bottom: 78px; }
.experience-heading p { color: var(--muted); margin-bottom: 4px; }
.experience-layout { display: grid; gap: 8%; grid-template-columns: minmax(300px, .72fr) minmax(420px, 1fr); }
.experience-copy { padding-bottom: 120px; }
.experience-item { border-top: 1px solid var(--line); cursor: pointer; min-height: 210px; outline: none; padding: 34px 24px 34px 0; transition: padding-left 200ms ease; }
.experience-item:last-child { border-bottom: 1px solid var(--line); }
.experience-item h3 { font-size: 23px; margin-bottom: 10px; }
.experience-item p { color: var(--muted); margin-bottom: 0; }
.experience-item.is-active { border-color: var(--rose); padding-left: 22px; }
.experience-item.is-active h3 { color: var(--rose); }
.experience-media { align-self: start; height: 570px; overflow: hidden; position: relative; }
.experience-panel { inset: 0; margin: 0; opacity: 0; pointer-events: none; position: absolute; transition: opacity 260ms ease; }
.experience-panel.is-active { opacity: 1; }
.app-preview { background-color: #fffaf4; color: var(--ink); height: 510px; overflow: hidden; padding: 22px; position: relative; }
.preview-topbar { align-items: center; display: flex; font-size: 12px; font-weight: 600; justify-content: space-between; }
.preview-topbar span:last-child { color: var(--rose); }
.preview-people { align-items: center; background: #f7e2e3; display: flex; gap: 9px; margin-top: 30px; padding: 16px; }
.avatar { background: #d68d81; border: 2px solid #fffaf4; border-radius: 50%; height: 39px; width: 39px; }
.avatar-two { background: #718379; margin-left: -20px; }
.preview-people div { display: flex; flex-direction: column; font-size: 12px; }
.preview-people small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.preview-label { color: var(--rose); font-size: 9px; font-weight: 700; letter-spacing: .09em; margin-top: 34px; }
.app-preview-together > p { font-family: Newsreader, Georgia, serif; font-size: 25px; line-height: 1.1; margin: 10px 0 20px; max-width: 360px; }
.preview-action { background: var(--rose); color: #fff; font-size: 12px; font-weight: 600; padding: 13px; text-align: center; }
.preview-tabs { border-top: 1px solid var(--line); bottom: 0; display: flex; font-size: 10px; justify-content: space-around; left: 0; padding: 17px 12px; position: absolute; right: 0; }
.preview-tabs .is-current { color: var(--rose); font-weight: 700; }
.app-preview-chat { background-image: linear-gradient(rgba(255,250,244,.92), rgba(255,250,244,.94)), url('assets/backgrounds/chat-youthful-first-date.png'); background-position: center; background-size: cover; }
.chat-day { color: var(--muted); font-size: 10px; margin: 36px 0 19px; text-align: center; }
.chat-bubble { background: #fff; border: 1px solid rgba(223, 210, 188, .8); font-size: 13px; margin: 12px 36px 0 0; padding: 12px 14px; width: fit-content; }
.chat-bubble-own { background: #76455f; color: #fff; margin-left: 68px; margin-right: 0; }
.chat-compose { background: #fff; bottom: 19px; color: var(--muted); font-size: 11px; left: 19px; padding: 13px 14px; position: absolute; right: 19px; }
.chat-compose span { color: var(--rose); float: right; font-weight: 700; }
.app-preview-memory { background: #f8eee8; }
.memory-photo { background-image: url('assets/backgrounds/login-youthful-first-date.png'); background-position: 70% 43%; background-size: cover; height: 148px; margin-top: 22px; }
.memory-photo-two { background-position: 48% 45%; height: 98px; margin: 17px 0 0 38%; }
.memory-note { background: #fffaf4; box-shadow: 0 8px 24px rgba(44,33,52,.12); margin: -44px 7% 0 0; padding: 13px; position: relative; }
.memory-note span, .memory-note small { color: var(--rose); display: block; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.memory-note strong { display: block; font-family: Newsreader, Georgia, serif; font-size: 20px; line-height: 1.05; margin: 5px 0 8px; }
.memory-note small { color: var(--muted); font-weight: 500; letter-spacing: 0; }
.capsule-row { align-items: center; display: flex; gap: 11px; margin-top: 20px; }
.capsule-row > span { background: var(--gold); border-radius: 50%; height: 30px; width: 30px; }
.capsule-row div { display: flex; flex-direction: column; font-size: 11px; }
.capsule-row small { color: var(--muted); font-size: 9px; }
.experience-panel figcaption { color: var(--muted); font-size: 13px; margin-top: 11px; }

.closing { background: var(--ink); color: var(--surface); padding: 120px 0; }
.closing-inner { align-items: end; display: grid; gap: 70px; grid-template-columns: 1fr minmax(280px, .5fr); }
.closing h2 { margin-bottom: 22px; max-width: 800px; }
.closing p { color: #e6d9e9; max-width: 570px; }
.contact-block { border-left: 1px solid rgba(255, 255, 255, .35); display: flex; flex-direction: column; gap: 8px; padding-left: 24px; }
.contact-block span { color: #ffe29a; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.contact-block a { font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.contact-block small { color: #cfc3d2; }
.site-footer { background: #201827; color: #d9cddd; padding: 26px 0; }
.footer-brand img { border-radius: 7px; height: 28px; width: 28px; }
.footer-inner, .footer-meta { align-items: center; display: flex; justify-content: space-between; }
.footer-meta { font-size: 13px; gap: 24px; }
.footer-meta a:hover, .footer-meta a:focus-visible { color: #ffe29a; }

a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero { height: 820px; min-height: 0; }
  .hero-content { padding-top: 150px; }
  h1 { font-size: 64px; width: 90%; }
  h2 { font-size: 52px; }
  .device-preview { bottom: -125px; right: 7%; width: 220px; }
  .purpose-grid, .experience-heading, .experience-layout, .closing-inner { grid-template-columns: 1fr; }
  .purpose-copy { margin-top: 42px; }
  .section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .section-heading p { max-width: 520px; }
  .experience-heading { gap: 24px; }
  .experience-layout { gap: 46px; }
  .experience-copy { padding-bottom: 0; }
  .experience-media { height: 520px; }
  .app-preview { height: 460px; }
  .contact-block { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .35); padding-left: 0; padding-top: 24px; }
}

@media (max-width: 620px) {
  .page-width { width: min(var(--max-width), calc(100% - 36px)); }
  .site-header { height: 58px; left: 10px; padding: 0 14px; right: 10px; top: 10px; }
  .brand img { height: 30px; width: 30px; }
  .header-action { padding: 8px 11px; }
  .hero { height: 720px; }
  .hero-backdrop { background-position: 69% center; }
  .hero-content { padding-top: 112px; }
  h1 { font-size: 42px; width: 100%; }
  .hero-copy { font-size: 16px; max-width: 360px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 210px; }
  .device-preview { bottom: -95px; right: -20px; width: 185px; }
  .device-preview figcaption { display: none; }
  .section { padding: 96px 0; }
  h2 { font-size: 40px; }
  .purpose-copy { padding-left: 20px; }
  .bento-grid { grid-template-columns: 1fr; }
  .feature-panel, .feature-panel-wide, .feature-panel-memory, .feature-panel-repair { grid-column: auto; min-height: 260px; padding: 28px; }
  .feature-icon { margin-bottom: 38px; }
  .experience-heading { margin-bottom: 48px; }
  .experience-item { min-height: 170px; }
  .experience-media { height: 410px; }
  .app-preview { height: 350px; padding: 18px; }
  .preview-people { margin-top: 18px; padding: 12px; }
  .preview-label { margin-top: 20px; }
  .app-preview-together > p { font-size: 21px; }
  .memory-photo { height: 95px; margin-top: 14px; }
  .memory-photo-two { height: 62px; margin-top: 12px; }
  .memory-note { margin-top: -30px; padding: 10px; }
  .memory-note strong { font-size: 17px; }
  .capsule-row { margin-top: 12px; }
  .footer-inner, .footer-meta { align-items: flex-start; flex-direction: column; gap: 13px; }
  .footer-meta { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
