:root {
  color-scheme: dark;
  --bg: #09080a;
  --bg-soft: #111014;
  --surface: rgba(255, 255, 255, .055);
  --surface-strong: #17151a;
  --surface-raised: #201d23;
  --text: #f8f4f7;
  --muted: #aaa2a9;
  --line: rgba(255, 255, 255, .12);
  --pink: #ff00a8;
  --pink-soft: #ff79cc;
  --lime: #baff09;
  --orange: #ed865d;
  --shadow: 0 28px 80px rgba(0, 0, 0, .34);
  --radius: 28px;
  --max: 1180px;
}

html[data-theme='light'] {
  color-scheme: light;
  --bg: #fbf8f5;
  --bg-soft: #f4efed;
  --surface: rgba(27, 20, 25, .045);
  --surface-strong: #fff;
  --surface-raised: #fff;
  --text: #211a20;
  --muted: #6e656c;
  --line: rgba(27, 20, 25, .13);
  --shadow: 0 28px 80px rgba(55, 34, 49, .12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: radial-gradient(circle at 12% 3%, rgba(255, 0, 168, .13), transparent 25rem),
    radial-gradient(circle at 91% 31%, rgba(186, 255, 9, .08), transparent 28rem), var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}

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

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px);
}

.site-header.scrolled {
  border-color: var(--line);
}

.nav-shell {
  width: min(calc(100% - 40px), 1280px);
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 34px;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 170px;
  height: auto;
  object-fit: contain;
}

.brand-logo-dark {
  display: none;
}

html[data-theme='light'] .brand-logo-light {
  display: none;
}

html[data-theme='light'] .brand-logo-dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  color: var(--muted);
  font-size: .92rem;
}

.nav-links a {
  transition: color .2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-link {
  min-width: 38px;
  padding: 8px 9px;
  border-radius: 99px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  text-align: center;
}

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

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.theme-toggle,
.menu-toggle {
  position: relative;
}

.theme-icon,
.menu-icon {
  grid-area: 1 / 1;
  transition: opacity .18s ease, transform .18s ease;
}

.theme-icon-moon,
.menu-icon-close,
html[data-theme='light'] .theme-icon-sun,
.menu-toggle[aria-expanded='true'] .menu-icon-open {
  opacity: 0;
  transform: scale(.72) rotate(-18deg);
}

html[data-theme='light'] .theme-icon-moon,
.menu-toggle[aria-expanded='true'] .menu-icon-close {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.menu-toggle {
  display: none;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(120deg, var(--pink), #e8447e 56%, var(--orange));
  color: #fff;
  box-shadow: 0 12px 35px rgba(255, 0, 168, .2);
}

.button-secondary,
.button-ghost,
.button-quiet {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.button-compact,
.button-small {
  min-height: 40px;
  padding-inline: 17px;
  font-size: .9rem;
}

.hero {
  min-height: 690px;
  padding-block: 90px 70px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--pink-soft);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.section-copy h2,
.platform-section h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(3rem, 6.6vw, 6.7rem);
  line-height: .92;
  letter-spacing: -.065em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, var(--pink) 2%, #ff7b94 48%, var(--lime));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 610px;
  margin: 30px 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: .82rem;
}

.proof-row span::before {
  content: '\2713';
  margin-right: 7px;
  color: var(--lime);
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-width: 0;
  isolation: isolate;
}

.visual-halo {
  position: absolute;
  z-index: -1;
  inset: 5% -6%;
  border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(255, 0, 168, .3), rgba(186, 255, 9, .16), rgba(255, 0, 168, .08));
  filter: blur(80px);
}

.product-window {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: color-mix(in srgb, var(--surface-strong) 93%, transparent);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.window-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 16px;
}

.window-topbar img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.window-status {
  margin-left: auto;
  padding: 6px 11px;
  border: 1px solid #a8d84d;
  border-radius: 99px;
  background: #dcff86;
  color: #17210b;
  font-size: .7rem;
  font-weight: 850;
  box-shadow: 0 4px 14px rgba(126, 170, 36, .18);
}

.today-banner {
  padding: 26px;
  overflow: hidden;
  border-radius: 25px;
  background: linear-gradient(115deg, #ff1ea3, #ff7695 49%, #b4f50b);
  color: #fff;
}

.today-banner p {
  margin: 0;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.today-banner h2 {
  margin: 10px 0 22px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.today-stats {
  display: flex;
  gap: 9px;
}

.today-stats span {
  min-width: 90px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 15px;
  background: rgba(255, 255, 255, .12);
  font-size: .68rem;
}

.today-stats b {
  display: block;
  font-size: 1.1rem;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 0;
}

.quick-actions span {
  min-height: 42px;
  padding: 8px 9px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--pink) 22%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--pink) 60%, var(--surface-raised));
  font-size: .7rem;
  font-weight: 750;
  text-align: center;
}

.capture-preview {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.capture-preview small,
.floating-note small,
.group-header small,
.sharing-demo small {
  display: block;
  color: var(--muted);
}

.capture-dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-style: normal;
  color: #100e11;
}

.capture-dot.pink {
  background: var(--pink-soft);
}

.capture-dot.lime {
  background: var(--lime);
}

.demo-tag,
.privacy-pill {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: .68rem;
}

.floating-note {
  position: absolute;
  z-index: 3;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-raised);
  box-shadow: var(--shadow);
  font-size: .72rem;
}

.floating-note>span {
  color: var(--pink);
  font-size: 1.2rem;
}

.floating-note-one {
  left: -45px;
  bottom: 85px;
}

.floating-note-two {
  right: -36px;
  top: 72px;
}

.capability-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.capability-strip div {
  width: max-content;
  padding: 18px 0;
  animation: marquee 26s linear infinite;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.capability-strip i {
  margin: 0 30px;
  color: var(--pink);
  font-style: normal;
}

@keyframes marquee {
  to {
    transform: translateX(-35%);
  }
}

.content-section,
.split-section,
.sharing-section,
.privacy-section {
  padding-block: clamp(85px, 10vw, 145px);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 55px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.section-copy h2,
.platform-section h2,
.final-cta h2 {
  font-size: clamp(2.3rem, 5vw, 4.9rem);
}

.section-heading>p:last-child,
.section-copy>p,
.platform-section p,
.final-cta>p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.feature-card {
  position: relative;
  min-height: 330px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-card h3 {
  margin: 24px 0 10px;
  font-size: 1.55rem;
}

.feature-card p {
  max-width: 510px;
  color: var(--muted);
}

.feature-index {
  color: var(--pink-soft);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.feature-wide {
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: 30px;
}

.task-stack {
  display: grid;
  gap: 10px;
  transform: rotate(-2deg);
}

.task-stack span {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 9px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-raised);
  font-size: .76rem;
}

.task-stack i {
  width: 18px;
  height: 18px;
  border: 1px solid var(--pink-soft);
  border-radius: 50%;
  font-style: normal;
  text-align: center;
}

.task-stack b {
  color: var(--muted);
  font-weight: 500;
}

.memo-lines {
  margin-top: 38px;
  padding: 22px;
  border-radius: 18px;
  background: var(--surface-raised);
  transform: rotate(2deg);
}

.memo-lines strong {
  display: block;
  margin-bottom: 18px;
}

.memo-lines span {
  height: 7px;
  width: 90%;
  display: block;
  margin-top: 10px;
  border-radius: 10px;
  background: var(--line);
}

.memo-lines span:nth-child(3) {
  width: 72%
}

.memo-lines span:nth-child(4) {
  width: 48%;
  background: linear-gradient(90deg, var(--pink), var(--lime))
}

.notification-card {
  margin-top: 40px;
  padding: 15px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.notification-card img {
  width: 40px;
  border-radius: 10px;
}

.notification-card small {
  display: block;
  color: var(--muted);
}

.day-pulse {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .72rem;
}

.day-pulse i {
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, var(--pink), var(--lime));
}

.day-pulse span:nth-of-type(2) {
  color: var(--text);
  font-weight: 800;
}

.split-section {
  background: var(--bg-soft);
}

.split-grid,
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
}

.collection-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mock-toolbar {
  grid-column: 1/-1;
  padding: 0 4px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-toolbar span {
  color: var(--pink-soft);
  font-size: .78rem;
  font-weight: 800;
}

.collection-card {
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  border-radius: 25px;
  color: #fff;
  box-shadow: var(--shadow);
}

.collection-card strong {
  font-size: 1.5rem;
}

.collection-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.collection-card small {
  opacity: .75
}

.collection-card.travel {
  background: linear-gradient(140deg, rgba(255, 0, 168, .8), rgba(237, 134, 93, .6)), radial-gradient(circle at 80% 10%, #ffe29c, #533)
}

.collection-card.project {
  margin-top: 45px;
  background: linear-gradient(140deg, #156f59, #9aa11f)
}

.collection-tabs {
  grid-column: 1/-1;
  padding: 10px;
  display: flex;
  gap: 8px;
  border-radius: 16px;
  background: var(--surface-raised);
}

.collection-tabs span {
  flex: 1;
  padding: 9px;
  text-align: center;
  border-radius: 10px;
  color: var(--muted);
  font-size: .76rem;
}

.collection-tabs span:first-child {
  background: var(--surface);
  color: var(--text);
}

.check-list {
  padding: 0;
  margin: 28px 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  color: var(--muted)
}

.check-list li::before {
  content: '\2713';
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(186, 255, 9, .12);
  color: var(--lime);
  font-weight: 900
}

.text-link {
  color: var(--pink-soft);
  font-weight: 800
}

.map-showcase {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #1b2025;
  box-shadow: var(--shadow);
}

.map-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: saturate(.82) contrast(.94) brightness(.78);
}

.map-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 8, 10, .34), transparent 48%, rgba(9, 8, 10, .08));
  pointer-events: none;
}

.place-popover {
  position: absolute;
  z-index: 2;
  left: 6%;
  bottom: 8%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
  color: #211a20;
}

.place-popover small {
  display: block;
  color: #6e656c
}

.map-attribution {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 10px;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .88);
  color: #262126;
  font-size: .6rem;
  text-decoration: underline;
}

.sharing-section {
  background: linear-gradient(130deg, color-mix(in srgb, var(--pink) 7%, var(--bg-soft)), color-mix(in srgb, var(--lime) 4%, var(--bg-soft)))
}

.sharing-demo {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface-strong);
  box-shadow: var(--shadow)
}

.group-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line)
}

.group-avatar {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--pink), var(--orange));
  font-weight: 900;
  color: #fff
}

.member-row {
  display: flex;
  margin: 18px 0
}

.member-row span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-right: -7px;
  border: 2px solid var(--surface-strong);
  border-radius: 50%;
  background: var(--surface-raised);
  font-size: .65rem
}

.sharing-demo article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line)
}

.sharing-demo article i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 0, 168, .12);
  color: var(--pink-soft);
  font-style: normal
}

.sharing-demo article button {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  color: var(--text)
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.theme-card {
  min-height: 310px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  color: #fff;
  box-shadow: var(--shadow)
}

.theme-card>span {
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em
}

.theme-card>div {
  margin: auto 0
}

.theme-card b {
  display: block;
  font-size: 3rem
}

.theme-card small {
  opacity: .75
}

.theme-card p {
  margin: 0;
  opacity: .75
}

.theme-card.calm {
  background: linear-gradient(145deg, #644d75, #9b5560)
}

.theme-card.aurora {
  background: linear-gradient(145deg, #33237e, #0c7d84)
}

.theme-card.ember {
  background: linear-gradient(145deg, #9e3c26, #e39744)
}

.theme-card.winter {
  background: linear-gradient(145deg, #183e63, #6a8cb9)
}

.privacy-section {
  background: #090909;
  color: #fff
}

.privacy-grid {
  min-height: 540px
}

.privacy-mark {
  text-align: center
}

.privacy-mark img {
  margin: auto;
  filter: drop-shadow(0 20px 45px rgba(255, 0, 168, .18))
}

.privacy-mark span {
  display: block;
  margin-top: -45px;
  font-weight: 800;
  color: #d8d1d6
}

.platform-section {
  padding-block: 110px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: center
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px
}

.platform-grid span {
  min-height: 120px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--muted)
}

.platform-grid b {
  color: var(--text);
  font-size: 1.25rem
}

.faq-list {
  max-width: 900px;
  margin: auto
}

.faq-list details {
  border-bottom: 1px solid var(--line)
}

.faq-list summary {
  padding: 24px 0;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 800;
  list-style: none
}

.faq-list summary::after {
  content: '+';
  float: right;
  color: var(--pink)
}

.faq-list details[open] summary::after {
  content: '\2212'
}

.faq-list p {
  max-width: 720px;
  margin: 0 0 25px;
  color: var(--muted)
}

.final-cta {
  margin-block: 60px 120px;
  padding: 80px 30px;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: linear-gradient(125deg, #4c0c37, #861050 48%, #697916);
  box-shadow: var(--shadow);
  color: #fff
}

.final-cta img {

  margin: 0 auto 12px
}

.final-cta>p {
  margin: 22px auto
}

.final-cta small {
  display: block;
  margin-top: 18px;
  opacity: .65
}

.site-footer {
  width: min(calc(100% - 40px), 1280px);
  margin: auto;
  padding: 60px 0 45px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted)
}

.footer-brand .brand-logo {
  width: 180px;
  margin-bottom: 15px
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px
}

.site-footer nav strong {
  margin-bottom: 8px;
  color: var(--text)
}

.footer-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  text-align: right
}

.footer-meta span {
  color: var(--text);
  font-weight: 800
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

/* Shared styles for invitation, legal, deletion, and not-found routes. */
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-right: 10px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--pink), var(--lime));
  color: #120d11;
  font-weight: 950
}

.invite-shell {
  min-height: 100vh;
  padding: 40px 20px;
  display: grid;
  place-items: center
}

.invite-card {
  width: min(100%, 550px);
  padding: clamp(30px, 7vw, 64px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface-strong);
  box-shadow: var(--shadow)
}

.invite-card>.brand {
  justify-content: center
}

.invite-card h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1
}

.invite-card .button {
  width: 100%;
  margin-top: 10px
}

.invite-icon {
  margin: 30px auto 10px;
  color: var(--pink);
  font-size: 2rem
}

.invite-safety {
  color: var(--muted);
  font-size: .82rem
}

.legal-header {
  padding: 0 max(20px, calc((100% - 1180px)/2));
  display: flex;
  align-items: center;
  min-height: 76px
}

.legal-header .nav-links {
  margin-left: auto
}

.legal-main {
  padding-bottom: 100px
}

.legal-hero {
  padding-block: 80px 40px
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -.06em
}

.legal-hero p:last-child {
  max-width: 760px;
  color: var(--muted)
}

.legal-card {
  width: min(calc(100% - 40px), 900px);
  margin: auto;
  padding: clamp(25px, 6vw, 60px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface)
}

.legal-card h2 {
  margin-top: 2.2em
}

.legal-card p,
.legal-card li {
  color: var(--muted)
}

.legal-card a {
  color: var(--pink-soft);
  text-decoration: underline
}

.site-footer>.brand {
  align-self: start
}

@media(max-width:960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 70px
  }

  .hero-copy {
    text-align: center
  }

  .hero-lead {
    margin-inline: auto
  }

  .hero-actions,
  .proof-row {
    justify-content: center
  }

  .hero-visual {
    max-width: 680px;
    margin: auto
  }

  .product-window {
    transform: none
  }

  .split-grid,
  .privacy-grid,
  .platform-section {
    grid-template-columns: 1fr
  }

  .collection-showcase {
    order: 2
  }

  .section-copy {
    order: 1
  }

  .theme-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .site-footer {
    grid-template-columns: 1.5fr 1fr 1fr
  }

  .footer-meta {
    grid-column: 1/-1;
    flex-direction: row;
    align-items: center;
    text-align: left
  }
}

@media(max-width:760px) {
  .nav-shell {
    min-height: 68px
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-strong);
    box-shadow: var(--shadow)
  }

  .nav-links.open {
    display: flex
  }

  .menu-toggle {
    display: grid
  }

  .nav-actions .button-ghost {
    display: none
  }

  .brand-logo {
    width: 145px
  }

  .hero {
    padding-block: 55px
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 5rem)
  }

  .floating-note {
    display: none
  }

  .product-window {
    padding: 13px;
    border-radius: 25px
  }

  .today-banner {
    padding: 20px
  }

  .today-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr)
  }

  .today-stats span {
    min-width: 0
  }

  .feature-grid,
  .feature-wide {
    grid-template-columns: 1fr
  }

  .feature-card {
    min-height: 280px
  }

  .feature-wide {
    gap: 15px
  }

  .content-section,
  .split-section,
  .sharing-section,
  .privacy-section {
    padding-block: 80px
  }

  .theme-grid {
    grid-template-columns: 1fr 1fr
  }

  .theme-card {
    min-height: 230px
  }

  .map-showcase {
    min-height: 390px
  }

  .privacy-grid {
    min-height: auto
  }

  .platform-section {
    padding-block: 80px
  }

  .site-footer {
    grid-template-columns: 1fr 1fr
  }

  .footer-brand {
    grid-column: 1/-1
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start
  }

  .legal-header .nav-links {
    position: static;
    display: flex;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none
  }

  .legal-header .brand {
    font-size: 0
  }
}

@media(max-width:480px) {

  .section-shell,
  .nav-shell,
  .site-footer {
    width: min(calc(100% - 28px), var(--max))
  }

  .hero h1 {
    font-size: 3.15rem
  }

  .hero-lead {
    font-size: 1rem
  }

  .hero-actions .button {
    width: 100%
  }

  .proof-row {
    display: grid
  }

  .capture-preview {
    grid-template-columns: auto 1fr
  }

  .demo-tag {
    display: none
  }

  .today-stats span {
    padding: 8px;
    font-size: .6rem
  }

  .quick-actions span {
    flex: 1;
    text-align: center
  }

  .feature-card {
    padding: 24px
  }

  .collection-showcase {
    grid-template-columns: 1fr
  }

  .collection-card.project {
    margin-top: 0
  }

  .theme-grid {
    grid-template-columns: 1fr
  }

  .platform-grid {
    grid-template-columns: 1fr
  }

  .site-footer {
    grid-template-columns: 1fr
  }

  .final-cta {
    margin-bottom: 70px
  }

  .footer-meta {
    grid-column: auto
  }

  .legal-header .button {
    padding-inline: 12px
  }
}

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

  .capability-strip div {
    animation: none
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  .button {
    transition: none
  }
}