:root {
  color-scheme: light;
  --bg: #fafafa;
  --paper: #ffffff;
  --paper-warm: #fffdf0;
  --text: #212121;
  --muted: #616161;
  --primary: #f5d63d;
  --primary-soft: #fff3b3;
  --secondary: #4aae9b;
  --secondary-soft: #eaf6f2;
  --line: #e0e0e0;
  --shadow: 0 20px 60px rgba(33, 33, 33, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  background:
    radial-gradient(circle at 12% 8%, #fff7bf 0%, transparent 28%),
    radial-gradient(circle at 82% 18%, #d9f2ec 0%, transparent 24%),
    var(--bg);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(245, 214, 61, 0.8);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--text);
  transition: transform 180ms ease;
}

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

.site-header,
.section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 36px rgba(33, 33, 33, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(245, 214, 61, 0.32);
  object-fit: cover;
}

.nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(33, 33, 33, 0.12);
  backdrop-filter: blur(14px);
}

.nav.is-open {
  display: flex;
}

.menu-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  align-content: center;
  gap: 5px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
}

.menu-toggle span {
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-toggle span,
.menu-toggle[aria-expanded="true"] span {
  transition: transform 180ms ease, opacity 120ms ease;
}

.nav a {
  padding: 12px 14px;
  border-radius: 12px;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.nav a:hover {
  color: var(--text);
  background: var(--primary-soft);
}

.nav a:focus-visible {
  outline-offset: 1px;
}

.section {
  padding-block: 72px;
}

.hero {
  position: relative;
  display: grid;
  gap: 42px;
  align-items: center;
  min-height: calc(100svh - 88px);
  padding-top: 58px;
}

.hero::before {
  position: absolute;
  inset: 92px auto auto 5vw;
  z-index: -1;
  width: min(360px, 46vw);
  height: min(360px, 46vw);
  content: "";
  border-radius: 999px;
  background: var(--primary-soft);
}

.hero::after {
  position: absolute;
  inset: 150px 6vw auto auto;
  z-index: -1;
  width: min(260px, 34vw);
  height: min(260px, 34vw);
  content: "";
  border-radius: 999px;
  background: var(--secondary-soft);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2 {
  letter-spacing: -0.06em;
  line-height: 1.16;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 13vw, 6.8rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 8vw, 4.5rem);
  font-weight: 900;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.5;
}

.lead {
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  font-weight: 500;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

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

.button-primary {
  color: var(--text);
  min-height: 60px;
  padding: 16px 30px;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  background: var(--primary);
  box-shadow: 0 22px 46px rgba(245, 214, 61, 0.45);
}

.hero-visual {
  display: grid;
  min-height: 640px;
  place-items: center;
}

.phone {
  position: relative;
  width: min(350px, 86vw);
  padding: 10px;
  border: 2px solid var(--text);
  border-radius: 42px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.phone::before {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 2;
  display: block;
  width: 88px;
  height: 6px;
  content: "";
  border-radius: 999px;
  background: var(--text);
  opacity: 0.12;
  transform: translateX(-50%);
}

.phone img {
  display: block;
  width: 100%;
  aspect-ratio: 1206 / 2481;
  object-fit: contain;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 31px;
  background: var(--paper);
  image-rendering: -webkit-optimize-contrast;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.problem .section-heading,
.solution .section-heading {
  max-width: 980px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  text-wrap: pretty;
}

.problem,
.solution,
.values,
.flow {
  scroll-margin-top: 100px;
}

.problem-grid,
.feature-grid,
.value-grid,
.flow-list {
  display: grid;
  gap: 16px;
}

.problem-grid article,
.feature-card,
.value-grid article,
.flow-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 44px rgba(33, 33, 33, 0.06);
}

.problem-grid article {
  padding: 24px;
}

.problem-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.problem-grid span,
.flow-list span {
  display: inline-flex;
  margin-bottom: 0;
  color: var(--secondary);
  font-weight: 900;
}

.problem-head h3 {
  margin: 0;
}

.problem-grid p,
.feature-card p,
.flow-list p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.feature-card {
  padding: 24px;
}

.feature-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-head h3 {
  margin: 0;
}

.values {
  position: relative;
  padding: 56px 22px;
  border-radius: var(--radius-lg);
}

.values::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 243, 179, 0.42), rgba(234, 246, 242, 0.56));
}

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

.value-grid article {
  padding: 24px;
  backdrop-filter: blur(2px);
}

.value-grid h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.value-grid h3 span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.value-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-card h3 span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  flex: 0 0 48px;
  border-radius: 17px;
  color: #ffffff;
  background: var(--secondary);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.flow-list {
  padding: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  padding: 26px;
}

.quote {
  margin-bottom: 72px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--paper-warm);
  box-shadow: var(--shadow);
}

.quote p {
  max-width: 760px;
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 4.8vw, 2.7rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.quote span {
  display: block;
  max-width: 100%;
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  font-weight: 750;
  text-wrap: pretty;
}

.final-cta {
  display: grid;
  gap: 22px;
  align-items: center;
  margin-bottom: 56px;
  padding: 32px;
  border-radius: var(--radius-lg);
  color: var(--text);
  background: var(--secondary-soft);
  box-shadow: var(--shadow);
}

.final-cta p:not(.eyebrow) {
  max-width: 100%;
  margin-bottom: 0;
  color: var(--muted);
  text-wrap: pretty;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 10px 14px;
  border-radius: 14px;
  color: #ffffff;
  background: #111111;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.app-store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(17, 17, 17, 0.35);
}

.app-store-button svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: currentColor;
}

.app-store-button span {
  display: grid;
  line-height: 1.05;
}

.app-store-button small {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.86;
}

.app-store-button strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

[data-reveal] {
  transform: translateY(18px);
  opacity: 0;
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (min-width: 720px) {
  .menu-toggle {
    display: none;
  }

  .nav,
  .nav.is-open {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    backdrop-filter: none;
  }

  .nav a {
    padding: 10px 12px;
    border-radius: 999px;
  }

  .site-header,
  .section,
  .site-footer {
    width: min(1120px, calc(100% - 64px));
  }

  .hero {
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  }

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

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values {
    padding: 64px 28px;
  }

  .final-cta {
    grid-template-columns: 1fr auto;
    padding: 44px;
  }
}

@media (min-width: 1040px) {
  .feature-card {
    padding: 30px;
  }

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

@media (max-width: 420px) {
  .site-header,
  .section,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

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

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

  .phone {
    width: min(292px, 90vw);
  }

  .feature-head {
    gap: 10px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 14px;
  }

  .feature-icon svg {
    width: 20px;
    height: 20px;
  }

  .feature-head h3 {
    font-size: 1rem;
  }

  .quote,
  .final-cta {
    padding: 24px;
  }
}

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

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

  [data-reveal] {
    transform: none;
    opacity: 1;
  }
}
