/* Flagged — site public (v5 finitions) */
:root {
  --ink: #1c1524;
  --ink-soft: rgba(28, 21, 36, 0.82);
  --ink-mute: rgba(28, 21, 36, 0.58);
  --cream: #fff8f3;
  --cream-deep: #f0e2d8;
  --coral: #c44b4f;
  --coral-hot: #e03a53;
  --navy: #10233f;
  --line: rgba(28, 21, 36, 0.12);
  --white: #ffffff;
  --radius-lg: 28px;
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --frame: min(1120px, calc(100% - 48px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background: #fffaf6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--coral);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: var(--frame);
  margin: 0 auto;
}

/* ===== HERO ===== */
.hero-shell {
  position: relative;
  padding: 20px 0 28px;
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(224, 58, 83, 0.13), transparent 55%),
    radial-gradient(700px 420px at 88% 10%, rgba(196, 75, 79, 0.1), transparent 50%),
    linear-gradient(180deg, #fffaf6 0%, var(--cream) 100%);
}

.hero-frame {
  width: var(--frame);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: calc(100dvh - 48px);
}

.site-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 0;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark:hover {
  text-decoration: none;
  color: var(--navy);
}

.brand-mark span,
.app-promise .accent,
.hero-left h1 .accent {
  color: var(--coral);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.nav a {
  color: inherit;
  opacity: 0.72;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  opacity: 1;
  color: var(--coral);
  text-decoration: none;
}

.hero-stage {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  min-height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(28, 21, 36, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 24px 60px rgba(28, 21, 36, 0.06);
  background: linear-gradient(115deg, #fffaf6 0%, #fff6f0 48%, #f6e8df 100%);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5.5vw, 64px);
  background:
    radial-gradient(520px 320px at 0% 0%, rgba(224, 58, 83, 0.08), transparent 60%);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--coral);
}

.hero-left h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.3rem, 7.5vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.lead {
  margin: 0 0 28px;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.42;
  color: var(--ink-soft);
  max-width: 22em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--coral-hot), #b83d42);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(196, 75, 79, 0.3);
}

.btn-primary:hover {
  color: var(--white);
  filter: brightness(1.03);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(28, 21, 36, 0.14);
  color: var(--navy);
}

.btn-ghost:hover {
  color: var(--navy);
  background: #fff;
}

.soon {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-mute);
}

.hero-right {
  position: relative;
  display: flex;
  background:
    radial-gradient(560px 380px at 70% 18%, rgba(224, 58, 83, 0.16), transparent 58%),
    linear-gradient(165deg, rgba(255, 248, 243, 0.2) 0%, rgba(243, 226, 216, 0.55) 100%);
}

.hero-right::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(28, 21, 36, 0.06);
  background: rgba(252, 249, 246, 0.55);
  pointer-events: none;
}

.app-panel {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 56px);
  text-align: center;
}

.app-punch {
  margin: 0 0 32px;
}

.app-punch .struck {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(28, 21, 36, 0.34);
  text-decoration: line-through;
  text-decoration-thickness: 0.1em;
  text-decoration-color: rgba(224, 58, 83, 0.8);
}

.app-punch .signal {
  display: block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.2vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--coral-hot);
  line-height: 1;
}

.app-slider {
  position: relative;
  width: min(320px, 100%);
}

.app-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(90, 170, 120, 0.55),
    rgba(28, 21, 36, 0.16) 45%,
    rgba(224, 58, 83, 0.88)
  );
}

.app-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 1px;
}

.app-ticks i {
  display: block;
  width: 2px;
  height: 9px;
  border-radius: 2px;
  background: rgba(28, 21, 36, 0.2);
}

.app-thumb {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  margin-top: -10px;
  margin-right: -12px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ff7a88, var(--coral-hot) 52%, #b8323c);
  box-shadow: 0 0 0 8px rgba(224, 58, 83, 0.14);
  animation: pulseThumb 2.4s ease-in-out infinite;
}

@keyframes pulseThumb {
  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(224, 58, 83, 0.14);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(224, 58, 83, 0.05);
  }
}

.app-chip {
  display: inline-flex;
  margin-top: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(196, 75, 79, 0.38);
  background: rgba(255, 247, 247, 0.95);
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 700;
}

.app-promise {
  margin: 40px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.28;
}

.app-promise span {
  display: block;
}

/* ===== SECTIONS ===== */
main {
  padding-top: 8px;
}

.section {
  padding: 64px 0 8px;
}

.section h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section > p {
  margin: 0;
  max-width: 36em;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.5;
}

.steps {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.steps span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--coral);
  background: rgba(196, 75, 79, 0.11);
}

.steps strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-weight: 700;
}

.steps em {
  font-style: normal;
  color: var(--ink-mute);
  font-size: 0.92rem;
  line-height: 1.4;
}

.safety-grid {
  margin-top: 26px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.safety-grid a {
  display: block;
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.safety-grid a:hover {
  border-color: rgba(196, 75, 79, 0.4);
  transform: translateY(-1px);
  text-decoration: none;
}

.safety-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 5px;
  color: var(--navy);
}

.safety-grid span {
  color: var(--ink-mute);
  font-size: 0.92rem;
  line-height: 1.4;
}

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 56px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: baseline;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
}

.footer-brand span {
  font-size: 0.86rem;
  color: var(--ink-mute);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-footer nav a {
  color: var(--ink-mute);
}

.site-footer nav a:hover {
  color: var(--coral);
  text-decoration: none;
}

/* ===== LEGAL PAGES ===== */
.page {
  padding: 8px 0 24px;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(224, 58, 83, 0.1), transparent 50%),
    linear-gradient(180deg, #fffaf6, var(--cream-deep));
  min-height: 100vh;
}

.page-card {
  width: min(720px, 100%);
  margin: 12px auto 0;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.page-card h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--navy);
}

.page-card .meta {
  margin: 0 0 22px;
  color: var(--ink-mute);
  font-size: 0.92rem;
}

.page-card h2 {
  margin: 1.5em 0 0.55em;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.page-card p,
.page-card li {
  line-height: 1.6;
}

.page-card ul,
.page-card ol {
  padding-left: 1.25em;
}

.info {
  background: rgba(196, 75, 79, 0.07);
  padding: 14px 16px;
  border-left: 4px solid var(--coral);
  margin: 18px 0;
  border-radius: 0 12px 12px 0;
}

.page-nav {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 0.9rem;
}

.center-404 {
  text-align: center;
  padding: 10vh 0 8vh;
}

.center-404 h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4rem);
  margin: 0 0 12px;
}

@media (max-width: 960px) {
  .hero-frame {
    min-height: auto;
  }

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

  .hero-right {
    min-height: 420px;
    order: -1;
  }

  .hero-right::before {
    inset: 14px;
  }

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

@media (max-width: 640px) {
  :root {
    --frame: calc(100% - 32px);
  }

  .nav {
    display: none;
  }

  .hero-shell {
    padding-top: 12px;
  }

  .hero-left {
    padding: 28px 22px 32px;
  }
}
