:root {
  --ink: #1f2530;
  --muted: #667085;
  --paper: #fffdf9;
  --cream: #f7f1e8;
  --line: #e8dfd4;
  --plum: #62364f;
  --plum-dark: #422235;
  --coral: #dc8262;
  --teal: #27aeb7;
  --navy: #153f61;
  --yellow: #ffd65b;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(54, 38, 45, .12);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(232, 223, 212, .82);
  background: rgba(255, 253, 249, .92);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -.025em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  background: linear-gradient(145deg, var(--plum), var(--coral));
  box-shadow: 0 9px 22px rgba(98, 54, 79, .24);
}

.brand small {
  display: block;
  margin-top: -3px;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 720;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 9px 12px; border-radius: 999px; color: #475467; font-size: .92rem; font-weight: 720; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--plum); background: var(--cream); outline: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  background:
    radial-gradient(circle at 76% 22%, rgba(220, 130, 98, .20), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(39, 174, 183, .16), transparent 26%),
    linear-gradient(180deg, #fffdf9 0%, #f8f2e9 100%);
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: 64px; }
.eyebrow { margin: 0 0 16px; color: var(--plum); font-size: .78rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.04em; }
h1 { max-width: 780px; font-size: clamp(3rem, 7.6vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 4rem); }
h3 { font-size: 1.35rem; letter-spacing: -.02em; }
.lead { max-width: 680px; margin: 24px 0 0; color: #566173; font-size: clamp(1.05rem, 1.7vw, 1.27rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 12px 19px; border: 1px solid transparent; border-radius: 15px; font-weight: 820; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--white); background: var(--plum); box-shadow: 0 12px 28px rgba(98, 54, 79, .24); }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,.76); }
.button.teal { color: var(--white); background: var(--navy); box-shadow: 0 12px 28px rgba(21, 63, 97, .19); }

.hero-art { position: relative; min-height: 480px; }
.float-card { position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 34px; background: var(--white); box-shadow: var(--shadow); }
.float-card img { width: 100%; height: 100%; object-fit: cover; }
.float-card.one { width: 58%; aspect-ratio: 1; top: 0; left: 4%; transform: rotate(-6deg); }
.float-card.two { width: 58%; aspect-ratio: 1; right: 0; bottom: 0; transform: rotate(7deg); }
.float-card.icon { padding: 14px; }

.section { padding: 92px 0; }
.section.soft { background: var(--cream); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 38px; }
.section-head p { max-width: 530px; margin: 0; color: var(--muted); }

.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.app-card { position: relative; overflow: hidden; min-height: 470px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 45px rgba(46, 36, 40, .07); }
.app-card.lil { background: linear-gradient(145deg, #effcfc 0%, #fff 62%); }
.app-card.us { background: linear-gradient(145deg, #f6edf2 0%, #fff 62%); }
.app-top { display: flex; align-items: center; gap: 18px; }
.app-icon { width: 88px; height: 88px; flex: 0 0 auto; overflow: hidden; border-radius: 24px; box-shadow: 0 15px 35px rgba(37, 46, 58, .15); }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.status { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 6px; color: var(--muted); font-size: .76rem; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; }
.status::before { width: 8px; height: 8px; content: ""; border-radius: 999px; background: #2cad75; box-shadow: 0 0 0 4px rgba(44, 173, 117, .12); }
.status.soon::before { background: var(--coral); box-shadow: 0 0 0 4px rgba(220,130,98,.14); }
.app-card > p { color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.tag { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); font-size: .78rem; font-weight: 760; }
.text-link { color: var(--plum); font-weight: 820; text-underline-offset: 4px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principle { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.principle strong { display: block; margin-bottom: 8px; font-size: 1.05rem; }
.principle p { margin: 0; color: var(--muted); }
.number { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 13px; color: var(--plum); background: #f1e4eb; font-weight: 900; }

.app-hero { padding: 72px 0 82px; }
.app-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); align-items: center; gap: 56px; }
.app-lockup { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.app-lockup .app-icon { width: 108px; height: 108px; border-radius: 29px; }
.app-hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.phone-shot { max-height: 660px; justify-self: center; border-radius: 32px; box-shadow: var(--shadow); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.feature { padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.feature p { margin: 10px 0 0; color: var(--muted); }
.doc-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.doc-links a { padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); font-weight: 790; text-align: center; text-decoration: none; }
.doc-links a:hover { border-color: var(--plum); color: var(--plum); }

.legal-wrap { width: min(850px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 96px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 48px; }
.legal-nav a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .86rem; font-weight: 760; text-decoration: none; }
.legal-nav a[aria-current="page"] { color: var(--white); border-color: var(--plum); background: var(--plum); }
.legal-card { padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 18px 60px rgba(50, 36, 42, .08); }
.legal-kicker { margin: 0 0 8px; color: var(--plum); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.legal-card h1 { margin-bottom: 13px; font-size: clamp(2.25rem, 5vw, 4.25rem); }
.legal-card h2 { margin-top: 38px; font-size: 1.45rem; letter-spacing: -.025em; }
.legal-card p, .legal-card li { color: #505b6b; }
.legal-card li + li { margin-top: 8px; }
.legal-card .date { margin-top: 0; color: var(--muted); font-size: .9rem; }
.notice { margin-top: 34px; padding: 18px 20px; border-radius: 16px; background: var(--cream); color: #505b6b; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--plum); font-weight: 820; text-decoration: none; }

.footer { padding: 38px 0; border-top: 1px solid var(--line); background: #faf6f0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer p { margin: 0; color: var(--muted); font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); font-size: .88rem; font-weight: 710; text-decoration: none; }

@media (max-width: 820px) {
  .nav-links a:not(.keep) { display: none; }
  .hero { padding-top: 70px; }
  .hero-grid, .app-hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 360px; }
  .app-grid, .principles, .feature-grid { grid-template-columns: 1fr; }
  .doc-links { grid-template-columns: repeat(2, 1fr); }
  .section-head { align-items: start; flex-direction: column; }
}

@media (max-width: 520px) {
  .shell, .legal-wrap { width: min(100% - 24px, 1160px); }
  .nav { min-height: 66px; }
  h1 { font-size: 2.85rem; }
  .hero-art { min-height: 300px; }
  .float-card { border-radius: 24px; }
  .app-card { min-height: auto; padding: 24px; }
  .app-top { align-items: flex-start; }
  .app-icon { width: 70px; height: 70px; border-radius: 20px; }
  .section { padding: 68px 0; }
  .doc-links { grid-template-columns: 1fr; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

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