@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/figtree-400.ttf") format("truetype");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/figtree-600.ttf") format("truetype");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/figtree-700.ttf") format("truetype");
}

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fredoka-600.ttf") format("truetype");
}

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/fredoka-700.ttf") format("truetype");
}

:root {
  --petrol: #327e8c;
  --petrol-dark: #266976;
  --petrol-soft: #ddf0f4;
  --ink: #1b1612;
  --body: #4a443e;
  --cream: #fdfaf6;
  --surface: #ffffff;
  --coral: #ff8880;
  --coral-dark: #a83634;
  --coral-soft: #ffdfd8;
  --sun: #fbc044;
  --sun-dark: #8a5700;
  --sun-soft: #fcecc4;
  --mint: #79deba;
  --mint-dark: #005c43;
  --mint-soft: #d3f9e9;
  --sky: #82cbf6;
  --sky-dark: #135f83;
  --sky-soft: #d5f2ff;
  --lavender: #a78bfa;
  --lavender-soft: #eee8ff;
  --muted: #716b64;
  --border: #e9e4dc;
  --border-strong: #d9d3cb;
  --shadow: 0 24px 70px rgba(27, 22, 18, 0.1);
  color: var(--ink);
  background: var(--cream);
  font: 400 16px/1.55 "Figtree", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(50, 126, 140, 0.065) 1px, transparent 0);
  background-size: 26px 26px;
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--petrol-dark);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(233, 228, 220, 0.82);
  background: rgba(253, 250, 246, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--petrol-dark);
  font-family: "Fredoka", sans-serif;
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.site-nav a,
.support-link {
  color: var(--body);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.support-link:hover {
  color: var(--petrol-dark);
}

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

.language-picker {
  position: relative;
  min-width: 190px;
  color: var(--body);
}

.language-picker-trigger {
  display: grid;
  width: 100%;
  min-height: 42px;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--body);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: left;
}

.language-picker-trigger:hover,
.language-picker-trigger[aria-expanded="true"] {
  border-color: var(--border-strong);
  box-shadow: 0 8px 22px rgba(27, 22, 18, 0.08);
}

.language-flag {
  width: 24px;
  height: 16px;
  border: 1px solid rgba(27, 22, 18, 0.16);
  border-radius: 3px;
  background: white;
  box-shadow: 0 1px 2px rgba(27, 22, 18, 0.08);
}

.language-picker-caret {
  color: var(--muted);
  font-size: 0.72rem;
  transition: transform 160ms ease;
}

.language-picker-trigger[aria-expanded="true"] .language-picker-caret {
  transform: rotate(180deg);
}

.language-picker-menu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 8px);
  right: 0;
  width: max(100%, 286px);
  max-height: min(68vh, 520px);
  overflow-y: auto;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 22px 55px rgba(27, 22, 18, 0.18);
}

.language-picker-option {
  display: grid;
  width: 100%;
  min-height: 42px;
  grid-template-columns: 26px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--body);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
}

.language-picker-option:hover,
.language-picker-option:focus-visible {
  background: var(--petrol-soft);
  color: var(--petrol-dark);
}

.language-picker-option[aria-selected="true"] {
  background: var(--petrol-soft);
  color: var(--petrol-dark);
}

.language-picker-option[aria-selected="true"]::after {
  content: "✓";
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button.secondary {
  border-color: var(--border-strong);
  background: var(--surface);
}

.button.secondary:hover {
  border-color: var(--petrol);
  background: var(--petrol-soft);
}

.button.compact {
  min-height: 44px;
  padding-inline: 16px;
  border-radius: 14px;
  font-size: 0.9rem;
}

.button svg {
  width: 20px;
  height: 20px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--petrol-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.hero {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0 88px;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 6%;
  right: -9%;
  width: 420px;
  height: 420px;
  border-radius: 46% 54% 62% 38% / 46% 41% 59% 54%;
  background: var(--coral-soft);
  content: "";
  transform: rotate(10deg);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
}

.hero-copy h1,
.section-heading,
.feature-copy h3,
.story-copy h2,
.privacy-copy h2,
.final-cta h2,
.legal-hero h1,
.invite-card h1 {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.hero-copy h1 {
  max-width: 10.8ch;
  font-size: clamp(3.2rem, 6.3vw, 5.85rem);
  line-height: 0.94;
}

.hero-copy h1 span {
  color: var(--petrol);
}

.hero-lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--body);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.55;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-proof svg {
  width: 17px;
  height: 17px;
  color: var(--mint-dark);
}

.hero-visual {
  position: relative;
  min-height: 630px;
}

.hero-photo {
  position: absolute;
  inset: 0 0 46px 54px;
  width: calc(100% - 54px);
  height: calc(100% - 46px);
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.photo-label {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(27, 22, 18, 0.14);
  color: var(--body);
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.photo-label span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
}

.app-shot {
  overflow: hidden;
  margin: 0;
  border: 8px solid var(--ink);
  border-radius: 34px;
  background: var(--cream);
  box-shadow: 0 26px 70px rgba(27, 22, 18, 0.24);
}

.app-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-app-shot {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  width: min(290px, 55%);
  transform: rotate(-3deg);
}

.section {
  padding: 96px 0;
}

.section.soft {
  background: rgba(221, 240, 244, 0.55);
}

.section-intro {
  display: grid;
  align-items: end;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
}

.section-heading {
  max-width: 760px;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1.02;
}

.section-lead {
  margin: 0;
  color: var(--body);
  font-size: 1.08rem;
}

.benefit-grid {
  display: grid;
  gap: 16px;
  margin-top: 44px;
  grid-template-columns: repeat(3, 1fr);
}

.benefit-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
}

.benefit-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 24px;
}

.benefit-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--coral-soft);
  color: var(--coral-dark);
  font-weight: 700;
  place-items: center;
}

.benefit-card:nth-child(2) .benefit-number {
  background: var(--sky-soft);
  color: var(--sky-dark);
}

.benefit-card:nth-child(3) .benefit-number {
  background: var(--mint-soft);
  color: var(--mint-dark);
}

.benefit-card h3 {
  margin: 22px 0 8px;
  font-family: "Fredoka", sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
}

.benefit-card p {
  margin: 0;
  color: var(--body);
}

.feature-showcases {
  display: grid;
  gap: clamp(32px, 6vw, 74px);
  margin-top: 50px;
}

.feature-showcase {
  display: grid;
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
  min-height: 630px;
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.82);
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
}

.feature-showcase:nth-child(2) {
  background: var(--sky-soft);
}

.feature-showcase:nth-child(3) {
  background: var(--sun-soft);
}

.feature-showcase:nth-child(4) {
  background: var(--lavender-soft);
}

.feature-showcase:nth-child(5) {
  background: var(--coral-soft);
}

.feature-showcase:nth-child(6) {
  background: var(--mint-soft);
}

.feature-showcase.reverse .feature-copy {
  order: 2;
}

.feature-showcase.reverse .app-shot-group {
  order: 1;
}

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

.feature-index {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--petrol-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.feature-copy h3 {
  margin: 22px 0 0;
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  line-height: 1.02;
}

.feature-copy p {
  margin: 18px 0 0;
  color: var(--body);
  font-size: 1.05rem;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.feature-pills span {
  padding: 7px 11px;
  border: 1px solid rgba(27, 22, 18, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
}

.feature-stat {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 22px;
}

.feature-stat strong {
  color: #6649bd;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(4.8rem, 8vw, 7.3rem);
  line-height: 0.78;
}

.feature-stat span {
  max-width: 180px;
  color: var(--body);
  font-weight: 700;
  line-height: 1.15;
}

.app-shot-group {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 530px;
}

.app-shot-group.single .app-shot {
  width: min(330px, 78%);
  transform: rotate(1.7deg);
}

.feature-showcase.reverse .app-shot-group.single .app-shot {
  transform: rotate(-1.7deg);
}

.app-shot-pair .app-shot {
  width: min(265px, 55%);
  transform: rotate(-4deg);
}

.app-shot-pair .app-shot-offset {
  margin-left: -34px;
  transform: translateY(38px) rotate(4deg);
}

.mission-count {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 0 26px;
}

.mission-count strong {
  color: #6649bd;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(4.2rem, 8vw, 6.8rem);
  line-height: 0.78;
}

.mission-count span {
  max-width: 230px;
  color: var(--body);
  font-weight: 700;
  line-height: 1.15;
}

.story-layout,
.privacy-layout {
  display: grid;
  align-items: center;
  gap: clamp(42px, 7vw, 88px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.story-photo {
  position: relative;
}

.story-photo img {
  width: 100%;
  min-height: 490px;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.story-badge {
  position: absolute;
  right: -20px;
  bottom: 28px;
  width: min(280px, 70%);
  padding: 20px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(27, 22, 18, 0.16);
}

.story-badge strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.2rem;
}

.story-badge span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
}

.story-copy h2,
.privacy-copy h2,
.final-cta h2 {
  font-size: clamp(2.5rem, 4.8vw, 4.25rem);
  line-height: 1;
}

.story-copy > p,
.privacy-copy > p {
  margin: 20px 0 0;
  color: var(--body);
  font-size: 1.08rem;
}

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

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--body);
}

.list-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint-dark);
  place-items: center;
}

.list-icon svg {
  width: 15px;
  height: 15px;
}

.mission-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 70px);
  border-radius: 36px;
  background: var(--lavender-soft);
}

.mission-panel::after {
  position: absolute;
  top: -95px;
  right: -65px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--coral-soft);
  content: "";
}

.mission-layout {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 50px;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
}

.mission-copy .section-heading {
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
}

.mission-copy p {
  margin: 20px 0 0;
  color: var(--body);
  font-size: 1.05rem;
}

.mission-visual {
  position: relative;
}

.mission-visual img {
  width: 100%;
  min-height: 370px;
  border-radius: 28px;
  object-fit: cover;
}

.mission-card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: min(310px, 76%);
  padding: 20px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(27, 22, 18, 0.17);
}

.mission-card .tag {
  color: #6649bd;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mission-card strong {
  display: block;
  margin-top: 5px;
  font-family: "Fredoka", sans-serif;
  font-size: 1.22rem;
}

.mission-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.privacy-section {
  background: var(--petrol-dark);
  color: white;
}

.privacy-copy > p,
.privacy-copy .check-list li {
  color: rgba(255, 255, 255, 0.78);
}

.privacy-copy .eyebrow {
  color: var(--sun);
}

.privacy-copy .eyebrow::before {
  background: var(--coral);
}

.privacy-copy .list-icon {
  background: rgba(121, 222, 186, 0.16);
  color: var(--mint);
}

.privacy-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.privacy-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
}

.privacy-row svg {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  color: var(--mint);
}

.privacy-row strong,
.privacy-row span {
  display: block;
}

.privacy-row span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.83rem;
}

.final-section {
  padding: 100px 0;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 8vw, 86px);
  border-radius: 38px;
  background: var(--coral-soft);
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  content: "";
}

.final-cta::before {
  top: -90px;
  left: -70px;
  background: var(--sun-soft);
}

.final-cta::after {
  right: -65px;
  bottom: -105px;
  background: var(--petrol-soft);
}

.final-cta h2,
.final-cta p,
.final-cta .hero-actions {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  max-width: 800px;
  margin-inline: auto;
}

.final-cta p {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--body);
  font-size: 1.08rem;
}

.final-cta .hero-actions {
  justify-content: center;
}

.site-footer {
  padding: 48px 0 36px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(150px, 0.6fr));
}

.footer-brand p {
  max-width: 420px;
  margin: 15px 0 0;
  color: var(--muted);
}

.footer-column strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin-top: 7px;
  color: var(--muted);
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--petrol-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
}

/* Legal pages */
.legal-page body::before,
.invite-page body::before {
  opacity: 0.55;
}

.legal-page .site-header {
  position: static;
}

.legal-main {
  width: min(900px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-hero {
  padding: clamp(54px, 8vw, 88px) 0 38px;
}

.legal-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 1;
  overflow-wrap: break-word;
  hyphens: auto;
}

.legal-meta {
  margin: 16px 0 0;
  color: var(--muted);
}

.legal-article {
  padding: 18px 0 80px;
  color: var(--body);
}

.legal-article > h2 {
  margin: 44px 0 12px;
  color: var(--ink);
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
}

.legal-article > h2:first-child {
  margin-top: 0;
}

.legal-article h3 {
  margin: 30px 0 9px;
  color: var(--ink);
  font-size: 1.22rem;
}

.legal-article h4 {
  margin: 24px 0 7px;
  color: var(--ink);
}

.legal-article p {
  margin: 10px 0 16px;
}

.legal-article ul,
.legal-article ol {
  margin: 10px 0 20px;
  padding-left: 24px;
}

.legal-article li + li {
  margin-top: 7px;
}

.legal-article a {
  color: var(--petrol-dark);
  font-weight: 600;
  text-underline-offset: 3px;
}

.legal-article code {
  padding: 2px 5px;
  border-radius: 6px;
  background: var(--lavender-soft);
}

.table-wrap {
  overflow-x: auto;
  margin: 18px 0 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.table-wrap table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.91rem;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.table-wrap th {
  background: var(--sun-soft);
  color: var(--ink);
}

.table-wrap tr:last-child td {
  border-bottom: 0;
}

.legal-footer {
  padding-top: 34px;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
}

.legal-footer nav a {
  color: var(--body);
  font-weight: 600;
  text-decoration: none;
}

.legal-footer p {
  margin: 17px 0 0;
  color: var(--muted);
}

/* Invite fallback */
.invite-page body {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.invite-shell {
  width: min(520px, calc(100% - 32px));
  padding: 42px 0;
}

.invite-card {
  position: relative;
  padding: clamp(28px, 7vw, 48px);
  border: 1px solid var(--border);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  text-align: center;
}

.invite-language {
  display: grid;
  width: min(100%, 210px);
  margin: 0 0 22px auto;
}

.invite-card > .eyebrow {
  justify-content: center;
}

.invite-logo {
  width: 86px;
  height: 86px;
  margin: 0 auto 24px;
}

.invite-card h1 {
  font-size: clamp(2rem, 7vw, 3.15rem);
  line-height: 1.02;
}

.invite-card > p {
  margin: 17px 0 26px;
  color: var(--body);
}

.invite-actions {
  display: grid;
  gap: 10px;
}

.invite-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.78rem;
}

.invite-note svg {
  width: 15px;
  height: 15px;
}

.auth-action-status {
  min-height: 24px;
  margin: 0 0 20px;
  color: var(--muted);
  font-weight: 600;
}

.auth-action-status[data-kind="error"] {
  color: #a53838;
}

.auth-action-status[data-kind="success"] {
  color: var(--petrol-dark);
}

.auth-action-form {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  text-align: left;
}

.auth-action-form[hidden] {
  display: none;
}

.auth-action-form label {
  margin-top: 8px;
  color: var(--body);
  font-weight: 700;
}

.auth-action-form input {
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.auth-action-form input:focus-visible {
  outline: 3px solid var(--petrol-soft);
  outline-offset: 2px;
}

.auth-action-hint {
  color: var(--muted);
  font-size: 0.8rem;
}

.auth-action-form .button {
  width: 100%;
  margin-top: 12px;
}

.auth-action-actions {
  margin-top: 8px;
}

@media (max-width: 1020px) {
  .site-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-grid,
  .story-layout,
  .privacy-layout,
  .mission-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-copy h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: 650px;
  }

  .hero-photo {
    left: 90px;
    width: calc(100% - 90px);
  }

  .feature-showcase {
    grid-template-columns: 1fr;
  }

  .feature-showcase.reverse .feature-copy,
  .feature-showcase.reverse .app-shot-group {
    order: initial;
  }

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

  .mission-layout {
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .container,
  .legal-main {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    font-size: 1.2rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .header-actions > .button,
  .support-link {
    display: none;
  }

  .language-picker {
    min-width: min(158px, 50vw);
  }

  .hero {
    padding-top: 54px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .hero-actions {
    display: grid;
  }

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

  .hero-visual {
    min-height: 535px;
  }

  .hero-photo {
    inset: 0 0 38px 38px;
    width: calc(100% - 38px);
    height: calc(100% - 38px);
    border-radius: 26px;
  }

  .hero-app-shot {
    width: 205px;
    border-width: 6px;
    border-radius: 25px;
  }

  .photo-label {
    top: 14px;
    right: 10px;
    font-size: 0.72rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-intro {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: 0;
  }

  .feature-showcases {
    gap: 26px;
  }

  .feature-showcase {
    min-height: 0;
    padding: 26px 18px 34px;
    border-radius: 28px;
  }

  .app-shot-group {
    min-height: 420px;
  }

  .app-shot-group.single .app-shot {
    width: min(275px, 78%);
  }

  .app-shot-pair .app-shot {
    width: min(210px, 53%);
  }

  .story-photo img {
    min-height: 430px;
  }

  .story-badge {
    right: 12px;
  }

  .mission-panel {
    overflow: visible;
    border-radius: 28px;
  }

  .mission-layout {
    grid-template-columns: 1fr;
  }

  .mission-visual img {
    min-height: 320px;
  }

  .mission-card {
    bottom: -28px;
    left: 12px;
  }

  .final-section {
    padding: 72px 0;
  }

  .final-cta {
    padding-inline: 24px;
    border-radius: 28px;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

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

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

@media print {
  .site-header,
  .site-footer,
  .language-picker {
    display: none !important;
  }

  .legal-main {
    width: 100%;
  }

  .legal-hero {
    padding-top: 0;
  }

  .legal-article {
    padding-bottom: 0;
  }
}
