:root {
  --paper: #fff9f4;
  --ink: #1c2430;
  --muted: #5c6670;
  --line: #eadfd7;
  --accent: #e85a96;
  --navy: #163a52;
  --yellow: #ffe13b;
  --blue: #a9ddf5;
  --pink: #f58ab8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

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

.site-header,
.hero,
.intro-section,
.features,
.privacy-section,
.legal-doc,
.site-footer {
  width: min(1120px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgb(28 36 48 / 10%);
}

.name {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 13px;
}

.nav a,
.text-link,
.footer-links a {
  transition: color 160ms ease;
}

.nav a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  min-height: 650px;
  padding-top: 56px;
  padding-bottom: 104px;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: 40px;
  right: -130px;
  width: 440px;
  height: 440px;
  background: var(--yellow);
  opacity: 0.7;
}

.hero::after {
  top: 280px;
  right: 180px;
  width: 180px;
  height: 180px;
  background: var(--pink);
  opacity: 0.55;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

h1 em {
  position: relative;
  color: var(--accent);
  font-style: normal;
}

h1 em::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 8px;
  border-radius: 999px;
  background: var(--yellow);
  content: "";
  opacity: 0.7;
  transform: rotate(-2deg);
  z-index: -1;
}

.lead {
  max-width: 500px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.store {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.text-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

.hero-visual {
  position: relative;
  width: min(100%, 380px);
  margin: 0 auto;
  padding: 12px 0 38px;
}

.phone-shadow {
  position: absolute;
  right: 5%;
  bottom: 55px;
  left: 9%;
  height: 55%;
  border-radius: 50%;
  background: var(--pink);
  opacity: 0.32;
  filter: blur(32px);
  transform: rotate(7deg);
}

.screen {
  position: relative;
  display: block;
  width: min(100%, 330px);
  height: auto;
  margin: 0 auto;
  border: 8px solid #fff;
  border-radius: 34px;
  box-shadow: 0 28px 55px rgb(28 36 48 / 16%);
  transform: rotate(3deg);
}

figcaption {
  position: absolute;
  right: -6px;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 999px;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 10px 24px rgb(28 36 48 / 8%);
  color: var(--muted);
  font-size: 12px;
  transform: rotate(-2deg);
}

.caption-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.intro-section {
  max-width: 720px;
  padding-top: 68px;
  padding-bottom: 44px;
  text-align: center;
}

.intro-section h2,
.privacy-section h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.3;
}

.section-lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-top: 20px;
  padding-bottom: 112px;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  padding: 36px 40px;
  border-radius: 28px;
}

.feature-card--screen {
  grid-template-columns: minmax(0, 1fr) 200px;
  min-height: 0;
  padding: 36px 48px 0 40px;
}

.feature-card--reverse {
  grid-template-columns: 200px minmax(0, 1fr);
  padding: 36px 40px 0 48px;
}

.feature-card--reverse .feature-copy {
  order: 2;
  justify-self: end;
  text-align: right;
}

.feature-card--reverse p {
  margin-left: auto;
}

.feature-card--warm {
  background: var(--yellow);
}

.feature-card--blue {
  background: var(--blue);
}

.feature-card--pink {
  background: var(--pink);
}

.feature-card--mint {
  background: #8fe3b8;
}

.feature-copy {
  max-width: 460px;
}

.feature-number {
  display: block;
  margin-bottom: 16px;
  color: rgb(28 36 48 / 56%);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.feature-card p {
  max-width: 420px;
  margin-bottom: 0;
  color: rgb(28 36 48 / 70%);
  font-size: 14px;
  line-height: 1.8;
}

.feature-screen {
  display: block;
  width: 200px;
  height: auto;
  margin: 0 auto;
  border: 6px solid #fff;
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 10px 24px rgb(28 36 48 / 10%);
}

.privacy-section {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 56px;
  align-items: center;
  overflow: hidden;
  max-width: 1120px;
  padding: 64px clamp(28px, 7vw, 88px) 36px;
  border-radius: 32px;
  background: var(--navy);
  color: #fffaf5;
}

.privacy-section .section-kicker {
  color: var(--yellow);
}

.privacy-section .section-lead {
  max-width: 620px;
  color: rgb(255 250 245 / 76%);
}

.privacy-screen {
  display: block;
  width: 200px;
  height: auto;
  margin: 0 auto;
  border: 6px solid #fff;
  border-radius: 26px;
  background: #fff8f6;
  box-shadow: 0 10px 24px rgb(0 0 0 / 22%);
}

.privacy-copy {
  padding-bottom: 0;
}

.privacy-note {
  margin: 20px 0 0;
  color: rgb(255 250 245 / 60%);
  font-size: 12px;
}

.privacy-more {
  margin: 16px 0 0;
}

.privacy-more a {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 500;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-name {
  margin-bottom: 2px;
  font-size: 17px;
  font-weight: 500;
}

.footer-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

.legal-page .site-header,
.legal-page .legal-doc,
.legal-page .site-footer {
  width: min(720px, calc(100% - 64px));
}

.legal-doc {
  padding-top: 28px;
  padding-bottom: 80px;
}

.legal-kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.legal-doc h1 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 44px);
}

.legal-updated {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.legal-doc h2 {
  margin: 36px 0 12px;
  font-size: 18px;
  font-weight: 500;
}

.legal-doc p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.legal-doc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .intro-section,
  .features,
  .privacy-section,
  .legal-doc,
  .site-footer {
    width: min(100% - 40px, 560px);
  }

  .legal-page .site-header,
  .legal-page .legal-doc,
  .legal-page .site-footer {
    width: min(100% - 40px, 560px);
  }

  .site-header {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .nav {
    gap: 12px;
    font-size: 11px;
  }

  .nav a:nth-child(2) {
    display: none;
  }

  .nav a:nth-child(3) {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 50px;
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 80px;
  }

  .hero::before {
    top: 300px;
    right: -190px;
    width: 360px;
    height: 360px;
  }

  .hero::after {
    top: 520px;
    right: -40px;
    width: 140px;
    height: 140px;
  }

  h1 {
    font-size: clamp(37px, 11vw, 54px);
  }

  .lead {
    font-size: 15px;
  }

  .hero-visual {
    width: min(100%, 350px);
  }

  .features {
    padding-bottom: 80px;
  }

  .feature-card,
  .feature-card--screen,
  .feature-card--reverse {
    grid-template-columns: 1fr;
    padding: 28px 24px 0;
  }

  .feature-card--reverse .feature-copy {
    order: 0;
    justify-self: start;
    text-align: left;
  }

  .feature-card--reverse p {
    margin-left: 0;
  }

  .feature-screen {
    width: min(58%, 220px);
  }

  .privacy-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 28px 28px;
  }

  .privacy-copy {
    padding-bottom: 0;
  }

  .privacy-screen {
    width: min(58%, 220px);
  }

  .site-footer {
    display: block;
    padding-top: 48px;
  }

  .footer-links {
    margin-top: 24px;
  }
}
