@font-face {
  font-family: "GanbariRounded";
  src: url("assets/fonts/MPLUSRounded1c-ExtraBold.ttf") format("truetype");
  font-display: swap;
  font-weight: 800;
}

:root {
  --bg: #f8f2ea;
  --surface: #fffdfa;
  --surface-soft: #fff4ee;
  --ink: #49413c;
  --muted: #8a7e76;
  --line: #eadfd5;
  --coral: #df897d;
  --coral-dark: #be6d63;
  --mint: #9fc7bd;
  --yellow: #f4d98f;
  --lavender: #dcd5e8;
  --shadow: 0 24px 80px rgba(93, 72, 57, 0.13);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(244, 217, 143, .35), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(159, 199, 189, .28), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  backdrop-filter: blur(18px);
  background: rgba(248, 242, 234, .78);
  border-bottom: 1px solid rgba(234, 223, 213, .7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "GanbariRounded", -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: .01em;
  font-size: clamp(18px, 2vw, 24px);
}

.brand img {
  border-radius: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--coral-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(500px, 1.12fr) minmax(320px, .88fr);
  gap: clamp(32px, 4.6vw, 64px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 48px) 68px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.28;
  letter-spacing: .01em;
}

h1,
h2 {
  font-family: "GanbariRounded", -apple-system, sans-serif;
  font-weight: 800;
}

h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  max-width: 720px;
}

.sp-break {
  display: none;
}

h2 {
  font-size: clamp(26px, 3.2vw, 38px);
}

h3 {
  font-size: 19px;
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: #665d57;
  font-size: clamp(15px, 1.45vw, 17px);
}

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

.app-store-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 9px;
  box-shadow: 0 14px 34px rgba(23, 20, 18, .18);
  transition: transform .18s ease, box-shadow .18s ease;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(23, 20, 18, .22);
}

.app-store-badge img {
  width: 163px;
  height: auto;
}

.release-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.trust-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  padding: 9px 14px;
  color: #685f58;
  background: rgba(255, 253, 250, .82);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

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

.phone-frame {
  position: relative;
  width: min(330px, 78vw);
  margin: 0 auto;
  padding: 13px;
  background: #171412;
  border-radius: 48px;
  box-shadow: var(--shadow);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 112px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #171412;
  z-index: 2;
}

.phone-frame--photo img {
  aspect-ratio: 1179 / 2556;
  width: 100%;
  height: auto;
  border-radius: 36px;
  object-fit: cover;
}

.floating-sticker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  padding: 12px;
  background: rgba(255, 253, 250, .92);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: 0 18px 46px rgba(93, 72, 57, .14);
}

.sticker-lion {
  right: 0;
  top: 72px;
  transform: rotate(8deg);
}

.sticker-unicorn {
  left: 10px;
  bottom: 78px;
  transform: rotate(-9deg);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 70px clamp(18px, 5vw, 48px);
}

.section--soft {
  max-width: none;
  margin: 0;
  background: rgba(255, 253, 250, .62);
  border-block: 1px solid rgba(234, 223, 213, .65);
}

.section--soft > * {
  max-width: 1120px;
  margin-inline: auto;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 30px;
}

.section-heading-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading-text {
  display: flex;
  flex-direction: column;
}

.section-heading-text .eyebrow {
  margin-bottom: 4px;
}

.section-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(93, 72, 57, .08);
}

.section-icon svg {
  width: 40px;
  height: 40px;
}

.section-heading p:not(.eyebrow),
.section--split p {
  color: var(--muted);
  font-size: 16px;
}

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

.feature-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.screen-card,
.quote-card,
.legal-card {
  background: rgba(255, 253, 250, .9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(93, 72, 57, .08);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  background: var(--surface-soft);
  border-radius: 18px;
  color: var(--coral-dark);
}

.feature-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card p,
.screen-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.screen-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screen-card {
  padding: 18px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 253, 250, .94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(93, 72, 57, .08);
}

.screenshot-card h3 {
  margin-top: 2px;
}

.screenshot-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.screenshot-crop {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  aspect-ratio: 1179 / 2556;
}

.screenshot-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: 32px;
  align-items: center;
}

.quote-card {
  padding: 34px;
  background: linear-gradient(135deg, #fffdfa, #fff0e9);
}

.quote-card p {
  margin: 0;
  color: var(--ink);
  font-family: "GanbariRounded", -apple-system, sans-serif;
  font-size: clamp(20px, 2.5vw, 25px);
  line-height: 1.55;
}

.section--download {
  padding-top: 20px;
}

.download-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(135deg, #fffdfa, #fff0e9);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.download-card > img {
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(93, 72, 57, .12);
}

.download-card p:not(.eyebrow) {
  color: var(--muted);
}

.quote-card span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.policy-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.policy-links a,
.legal-back,
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  color: var(--ink);
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(93, 72, 57, .07);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.brand--footer {
  font-size: 18px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 16px;
  font-weight: 800;
}

.legal-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px clamp(18px, 5vw, 48px) 84px;
}

.legal-hero {
  margin-bottom: 28px;
}

.legal-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.legal-meta {
  color: var(--muted);
  font-weight: 800;
}

.legal-card {
  padding: clamp(22px, 4vw, 42px);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 24px;
}

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

.legal-card p {
  color: #665d57;
}

.legal-card ul {
  padding-left: 1.4em;
  color: #665d57;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.support-item {
  padding: 22px;
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.support-item h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.contact-box {
  margin-top: 24px;
  padding: 24px;
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .section--split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .feature-grid,
  .screen-grid,
  .screenshot-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    grid-template-columns: 1fr;
  }

  .floating-sticker {
    width: 86px;
    height: 86px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .sp-break {
    display: inline;
  }

  h2 {
    font-size: clamp(24px, 7vw, 31px);
  }

  .phone-frame {
    width: min(330px, 92vw);
    border-radius: 42px;
  }

  .site-header {
    gap: 12px;
    padding-block: 14px;
  }

  .brand {
    font-size: 18px;
  }

  .section {
    padding-block: 54px;
  }

  .screenshot-card,
  .feature-card {
    padding: 16px;
  }

  .sticker-lion {
    right: -4px;
    top: 28px;
  }

  .sticker-unicorn {
    left: -2px;
    bottom: 32px;
  }
}
