:root {
  --paper: #f5efdf;
  --cream: #fffaf0;
  --ink: #27231e;
  --muted: #6e665c;
  --orange: #ffb35c;
  --orange-soft: #ffdda8;
  --mint: #6dc1b2;
  --mint-soft: #d8f0e9;
  --coral: #f26d50;
  --line: #c9c0b1;
  --shadow: 8px 9px 0 var(--ink);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgb(255 179 92 / 22%) 0 4px, transparent 5px),
    radial-gradient(circle at 92% 18%, rgb(109 193 178 / 25%) 0 5px, transparent 6px),
    var(--paper);
  background-size: 44px 44px, 58px 58px, auto;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 13px;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 0.84rem;
  font-weight: 750;
}

.site-nav a {
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  min-height: calc(100vh - 84px);
  padding: 54px 0 88px;
}

.eyebrow,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--mint-soft);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.eyebrow::before,
.status-pill::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 2px var(--ink);
  content: "";
}

h1 {
  max-width: 720px;
  margin: 24px 0 20px;
  font-size: clamp(3.25rem, 8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.highlight {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.highlight::after {
  position: absolute;
  right: -0.04em;
  bottom: 0.04em;
  left: -0.04em;
  height: 0.28em;
  border-radius: 999px;
  background: var(--orange);
  content: "";
  transform: rotate(-1.5deg);
  z-index: -1;
}

.hero-copy {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 600;
  line-height: 1.7;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 5px 0 var(--ink);
  background: var(--orange);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
  transform: translateY(0);
}

.button--quiet {
  background: var(--cream);
}

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

.release-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.app-preview {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 34px;
  box-shadow: 14px 16px 0 var(--ink);
  background: var(--cream);
  transform: rotate(1.2deg);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 2px 2px 15px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
}

.window-dot:nth-child(2) {
  background: var(--orange);
}

.window-dot:nth-child(3) {
  background: var(--mint);
}

.alert-card {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 34px 24px 28px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--orange-soft);
  text-align: center;
}

.mascot-wrap {
  position: relative;
  width: 172px;
}

.mascot-wrap img {
  display: block;
  width: 100%;
  filter: drop-shadow(7px 8px 0 var(--ink));
}

.ping {
  position: absolute;
  top: -16px;
  right: -20px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--mint);
  font-weight: 900;
  transform: rotate(8deg);
}

.alert-kicker {
  margin: 26px 0 4px;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.alert-card h2 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -0.045em;
}

.alert-time {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.mini-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 10px;
}

.mini-button {
  padding: 11px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--cream);
  font-size: 0.78rem;
  font-weight: 850;
}

.mini-button:first-child {
  background: var(--mint);
}

.feature-section {
  padding: 72px 0 110px;
}

.section-heading {
  max-width: 700px;
  margin: 0 0 34px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  min-height: 230px;
  padding: 26px;
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: var(--cream);
}

.feature-card:nth-child(2) {
  background: var(--orange-soft);
}

.feature-card:nth-child(3) {
  background: var(--mint-soft);
}

.feature-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-card h3 {
  margin: 24px 0 10px;
  font-size: 1.22rem;
  letter-spacing: -0.035em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 590;
  line-height: 1.65;
  word-break: keep-all;
}

.privacy-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 100px;
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: var(--mint);
}

.lock {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--cream);
  font-size: 1.6rem;
}

.privacy-banner h2 {
  margin: 0 0 5px;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}

.privacy-banner p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.5;
}

.text-link {
  font-size: 0.84rem;
  font-weight: 850;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 42px;
  border-top: 2px solid var(--ink);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.legal-main {
  padding: 60px 0 100px;
}

.legal-hero {
  max-width: 820px;
  margin-bottom: 44px;
}

.legal-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.legal-meta {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.legal-card {
  max-width: 860px;
  padding: clamp(24px, 5vw, 54px);
  border: 2px solid var(--ink);
  border-radius: 26px;
  box-shadow: var(--shadow);
  background: var(--cream);
}

.legal-card section + section {
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1.5px solid var(--line);
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.legal-card h3 {
  margin: 24px 0 8px;
  font-size: 1rem;
}

.legal-card p,
.legal-card li {
  color: #514b43;
  font-size: 0.96rem;
  line-height: 1.8;
  word-break: keep-all;
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-card strong {
  color: var(--ink);
}

.english-summary {
  padding: 20px;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  background: var(--mint-soft);
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .app-preview {
    width: min(430px, calc(100% - 16px));
  }

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

  .privacy-banner {
    grid-template-columns: auto 1fr;
  }

  .privacy-banner .text-link {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 22px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    padding: 16px 0;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .alert-card {
    min-height: 390px;
  }

  .privacy-banner {
    grid-template-columns: 1fr;
  }

  .privacy-banner .text-link {
    grid-column: auto;
  }

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

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

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