:root {
  --paper: #ede5db;
  --paper-deep: #e8ded4;
  --surface: #fbf6ee;
  --surface-alt: #f4ede3;
  --ink: #3d352b;
  --ink-muted: #695e50;
  --primary: #7e5e3a;
  --primary-dark: #674b2e;
  --border: #8c8273;
  --washi-butter: rgba(231, 196, 118, 0.62);
  --washi-sage: rgba(168, 193, 150, 0.6);
  --washi-pink: rgba(228, 176, 168, 0.6);
  --washi-sky: rgba(160, 198, 214, 0.58);
  --paper-shadow: rgba(120, 94, 58, 0.2);
  --shell: 72rem;
  --radius-sm: 0.8rem;
  --radius-md: 1.4rem;
  --radius-lg: 2rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(126, 94, 58, 0.17) 1px, transparent 1.15px);
  background-size: 22px 22px;
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 4px;
  border-radius: 0.35rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: #fff;
  background: var(--primary-dark);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.shell--narrow {
  width: min(calc(100% - 2rem), 54rem);
}

.section {
  padding-block: clamp(5rem, 10vw, 8.5rem);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(140, 130, 115, 0.55);
  background: rgba(237, 229, 219, 0.94);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  min-width: 7.2rem;
  min-height: 44px;
  align-items: center;
}

.brand img {
  width: 8.8rem;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 2vw, 1.5rem);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-inline: 0.4rem;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

.site-nav .site-nav__cta {
  padding-inline: 1rem;
  border: 2px solid var(--primary-dark);
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  box-shadow: 3px 3px 0 var(--paper-shadow);
}

.site-nav .site-nav__cta:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(5rem, 9vw, 8rem);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 9%;
  right: -8rem;
  width: min(42vw, 36rem);
  aspect-ratio: 1;
  border: 2px dashed rgba(126, 94, 58, 0.25);
  border-radius: 50%;
  content: "";
}

.hero__inner {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 7vw, 6.5rem);
}

.hero__copy {
  min-width: 0;
}

.eyebrow,
.section-kicker,
.feature-story__label {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.8rem;
  border: 1px dashed var(--border);
  border-radius: 999px;
  background: var(--surface);
  letter-spacing: 0.06em;
}

.hero h1,
.final-cta h2 {
  margin: 0;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
  font-size: clamp(2.65rem, 8vw, 5.7rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.15;
}

.marker {
  position: relative;
  isolation: isolate;
  display: inline-block;
}

.marker::after {
  position: absolute;
  z-index: -1;
  right: -0.08em;
  bottom: 0.08em;
  left: -0.05em;
  height: 0.34em;
  content: "";
  transform: rotate(-1.3deg);
}

.marker--butter::after {
  background: var(--washi-butter);
}

.marker--pink::after {
  background: var(--washi-pink);
}

.hero__lead {
  max-width: 39rem;
  margin: 1.7rem 0 2rem;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.85;
}

.store-links {
  display: grid;
  max-width: 39rem;
  gap: 0.8rem;
}

.store-link {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 64px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 2px solid var(--primary);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--paper-shadow);
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.store-link:hover {
  background: #fffaf3;
  box-shadow: 6px 6px 0 var(--paper-shadow);
  transform: translate(-2px, -2px);
}

.store-link__platform {
  display: grid;
  width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  border-radius: 0.75rem;
  color: #fff;
  background: var(--primary);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.store-link__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

.store-link__copy span {
  color: var(--ink-muted);
  font-size: 0.72rem;
}

.store-link__copy strong {
  margin-top: 0.12rem;
  font-size: 1rem;
}

.store-link__recommendation {
  display: none;
  grid-column: 1 / -1;
  color: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
}

.store-link.is-recommended {
  color: #fff;
  background: var(--primary);
}

.store-link.is-recommended:hover {
  background: var(--primary-dark);
}

.store-link.is-recommended .store-link__platform {
  color: var(--primary-dark);
  background: var(--surface);
}

.store-link.is-recommended .store-link__copy span {
  color: #fff;
}

.store-link.is-recommended .store-link__recommendation {
  display: block;
}

.hero__note {
  margin: 1rem 0 0;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.hero__visual {
  position: relative;
  width: min(100%, 25rem);
  justify-self: center;
  padding: clamp(0.65rem, 2vw, 1rem);
  border: 1px solid var(--border);
  border-radius: 2.5rem;
  background: var(--surface);
  box-shadow: 14px 14px 0 var(--paper-shadow);
  transform: rotate(1.5deg);
}

.hero__visual img {
  width: 100%;
  border-radius: 1.85rem;
}

.hero__scribble {
  position: absolute;
  right: -1rem;
  bottom: 6%;
  margin: 0;
  padding: 0.35rem 0.7rem;
  color: var(--primary-dark);
  background: var(--washi-butter);
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(0.84rem, 2vw, 1rem);
  transform: rotate(-4deg);
}

.tape {
  position: absolute;
  z-index: 2;
  top: -0.85rem;
  left: 50%;
  width: 7.2rem;
  height: 2rem;
  clip-path: polygon(4% 7%, 100% 0, 96% 100%, 0 91%);
  transform: translateX(-50%) rotate(-2deg);
}

.tape--sage {
  background: var(--washi-sage);
}

.problem {
  border-block: 1px solid rgba(140, 130, 115, 0.7);
  background: var(--surface);
  text-align: center;
}

.problem h2,
.section-heading h2,
.reassurance h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.thoughts {
  display: grid;
  max-width: 43rem;
  margin: 2.5rem auto;
  gap: 0.8rem;
}

.thought {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.5rem 0.85rem;
  color: var(--ink);
  font-weight: 700;
  text-align: left;
  transform: rotate(-0.7deg);
}

.thought:nth-child(2) {
  justify-self: end;
  transform: rotate(0.8deg);
}

.thought:nth-child(3) {
  margin-left: 8%;
  transform: rotate(-0.3deg);
}

.thought--pink {
  background: var(--washi-pink);
}

.thought--sky {
  background: var(--washi-sky);
}

.thought--sage {
  background: var(--washi-sage);
}

.problem__answer {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--ink-muted);
  font-size: clamp(1.03rem, 2vw, 1.2rem);
}

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

.section-heading {
  max-width: 45rem;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.section-heading--left {
  margin-inline: 0;
  text-align: left;
}

.section-heading > p:last-child {
  margin: 1rem 0 0;
  color: var(--ink-muted);
}

.steps {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 1.4rem;
  list-style: none;
}

.paper-card,
.paper-frame {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--paper-shadow);
}

.paper-card::after,
.paper-frame::after {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 1.3rem;
  height: 1.3rem;
  background: linear-gradient(135deg, transparent 49%, var(--border) 50%);
  content: "";
}

.step-card {
  min-width: 0;
  padding: 2.25rem 1.35rem 1.7rem;
  border-radius: var(--radius-md) var(--radius-md) 0.2rem var(--radius-md);
}

.step-card::before {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  width: 5.5rem;
  height: 1.45rem;
  content: "";
  transform: translateX(-50%) rotate(-2deg);
}

.step-card--pink::before {
  background: var(--washi-pink);
}

.step-card--butter::before {
  background: var(--washi-butter);
}

.step-card--sage::before {
  background: var(--washi-sage);
}

.step-card__number {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  color: var(--border);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.step-card__icon {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.step-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.step-card p {
  margin: 0.7rem 0 0;
  color: var(--ink-muted);
}

.product-proof {
  border-top: 1px solid rgba(140, 130, 115, 0.55);
  background-color: var(--paper-deep);
  background-image: linear-gradient(rgba(140, 130, 115, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 130, 115, 0.13) 1px, transparent 1px);
  background-size: 32px 32px;
}

.feature-stories {
  display: grid;
  gap: clamp(4.5rem, 10vw, 8rem);
}

.feature-story {
  display: grid;
  min-width: 0;
  align-items: center;
  gap: clamp(2rem, 7vw, 6.5rem);
}

.feature-story__visual {
  width: min(100%, 24rem);
  justify-self: center;
  padding: 0.65rem;
  border-radius: 2.2rem 2.2rem 0.25rem 2.2rem;
}

.feature-story__visual::before {
  position: absolute;
  z-index: 2;
  top: -0.8rem;
  left: 50%;
  width: 6.5rem;
  height: 1.6rem;
  content: "";
  transform: translateX(-50%) rotate(1.8deg);
}

.paper-frame--pink::before {
  background: var(--washi-pink);
}

.paper-frame--butter::before {
  background: var(--washi-butter);
}

.paper-frame--sage::before {
  background: var(--washi-sage);
}

.feature-story__visual img {
  width: 100%;
  border-radius: 1.55rem;
}

.feature-story__copy {
  min-width: 0;
}

.feature-story__copy h3 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.feature-story__copy > p:not(.feature-story__label) {
  margin: 1rem 0 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  margin: 1.3rem 0 0;
  padding: 0;
  gap: 0.45rem;
  list-style: none;
}

.check-list li::before {
  margin-right: 0.55rem;
  color: var(--primary);
  content: "✓";
  font-weight: 900;
}

.support-grid {
  display: grid;
  margin-top: clamp(5rem, 10vw, 8rem);
  gap: 1.5rem;
}

.support-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0.2rem var(--radius-md);
}

.support-card picture {
  overflow: hidden;
  border-bottom: 1px dashed var(--border);
  background: var(--paper);
}

.support-card img {
  width: 100%;
  aspect-ratio: 4 / 4.9;
  object-fit: cover;
  object-position: top;
}

.support-card > div {
  padding: 1.35rem;
}

.support-card p {
  margin: 0;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.support-card h3 {
  margin: 0.25rem 0 0.55rem;
  font-size: 1.4rem;
}

.support-card span {
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.reassurance {
  background: var(--surface);
}

.reassurance__inner {
  display: grid;
  padding: clamp(1.6rem, 5vw, 4rem);
  border-radius: var(--radius-lg) var(--radius-lg) 0.25rem var(--radius-lg);
  gap: clamp(2rem, 6vw, 5rem);
}

.reassurance__list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 1.3rem;
  list-style: none;
}

.reassurance__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
}

.reassurance__list li > span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 2px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  font-weight: 900;
}

.reassurance__list strong {
  display: block;
  font-size: 1.05rem;
}

.reassurance__list p {
  margin: 0.2rem 0 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 11vw, 9rem);
  color: #fff;
  background: var(--primary-dark);
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  width: 13rem;
  height: 4rem;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.11),
    rgba(255, 255, 255, 0.11) 10px,
    rgba(255, 255, 255, 0.03) 10px,
    rgba(255, 255, 255, 0.03) 20px
  );
  content: "";
}

.final-cta::before {
  top: 2rem;
  left: -3rem;
  transform: rotate(-12deg);
}

.final-cta::after {
  right: -3rem;
  bottom: 2rem;
  transform: rotate(9deg);
}

.final-cta__inner {
  position: relative;
  z-index: 1;
}

.final-cta__inner > img {
  width: 6.5rem;
  margin: 0 auto 1.2rem;
  border-radius: 1.4rem;
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.18);
}

.final-cta .section-kicker {
  color: #f8dfad;
}

.final-cta h2 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
}

.final-cta__inner > p:not(.section-kicker) {
  margin: 1.2rem 0 2rem;
  color: #f5eee6;
}

.final-cta .store-links {
  margin-inline: auto;
  text-align: left;
}

.final-cta .store-link {
  color: var(--ink);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.22);
}

.final-cta .store-link.is-recommended {
  color: #fff;
  background: #513a24;
}

.site-footer {
  border-top: 1px solid rgba(140, 130, 115, 0.7);
  background: var(--paper);
}

.site-footer__inner {
  display: grid;
  min-height: 11rem;
  align-items: center;
  padding-block: 2rem;
  gap: 1.4rem;
}

.site-footer p {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.site-footer p strong {
  font-size: 1.25rem;
}

.site-footer p span,
.site-footer small {
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}

.site-footer nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 700;
}

@media (min-width: 36rem) {
  .store-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-link.is-recommended {
    padding-block: 0.55rem;
  }

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

@media (min-width: 48rem) {
  .shell {
    width: min(calc(100% - 4rem), var(--shell));
  }

  .shell--narrow {
    width: min(calc(100% - 4rem), 54rem);
  }

  .hero__inner,
  .feature-story,
  .reassurance__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(17rem, 0.95fr);
  }

  .hero__visual {
    width: min(100%, 23rem);
  }

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

  .feature-story:nth-child(even) .feature-story__visual {
    order: 2;
  }

  .feature-story:nth-child(even) .feature-story__copy {
    order: 1;
  }

  .feature-story__visual {
    width: min(100%, 25rem);
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
}

@media (max-width: 35.99rem) {
  .site-nav > a:not(.site-nav__cta) {
    display: none;
  }

  .site-nav .site-nav__cta {
    padding-inline: 0.8rem;
    font-size: 0.82rem;
  }

  .brand img {
    width: 7.4rem;
  }

  .hero__scribble {
    right: -0.4rem;
  }
}

@media (max-width: 22rem) {
  .shell,
  .shell--narrow {
    width: min(calc(100% - 1.25rem), var(--shell));
  }

  .site-header__inner {
    gap: 0.35rem;
  }

  .brand img {
    width: 6.6rem;
  }

  .site-nav .site-nav__cta {
    padding-inline: 0.65rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * {
    animation: settle-in 600ms both;
  }

  .hero__copy > :nth-child(2) {
    animation-delay: 80ms;
  }

  .hero__copy > :nth-child(3) {
    animation-delay: 140ms;
  }

  .hero__copy > :nth-child(4),
  .hero__copy > :nth-child(5) {
    animation-delay: 210ms;
  }

  .hero__visual {
    animation: paper-arrives 700ms 130ms both;
  }
}

@keyframes settle-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes paper-arrives {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(3.5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(1.5deg);
  }
}

@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;
  }
}
