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

html,
body,
div,
span,
h1,
h2,
h3,
h4,
p,
a,
ul,
ol,
li,
img,
button,
table,
tr,
td,
th,
nav,
header,
footer,
main,
section,
figure {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  line-height: 1;
}

ul,
ol {
  list-style: none;
}

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

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

button {
  background: none;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  --color-yellow: #F2A32D;
  --color-yellow-soft: #FFF4B3;
  --color-orange: #FD7636;
  --color-blue: #8FBAD5;
  --color-pink: #F3AAAC;
  --color-text: #333333;
  --color-white: #FFFFFF;
  --color-cream: #FBF4E6;
  --color-cream-soft: #F7F1E1;
  --color-border: #DDE1E4;

  --font-heading: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-display: "Lilita One", "Zen Kaku Gothic New", sans-serif;
  --font-accent: "Prompt", "Zen Kaku Gothic New", sans-serif;
  --font-quicksand: "Quicksand", "Zen Kaku Gothic New", sans-serif;

  --container-width: 1180px;
  --section-padding-y: clamp(3.5rem, 2rem + 4vw, 6.5rem);
  --gutter: clamp(1.25rem, 1rem + 2vw, 2.5rem);

  --radius-lg: 36px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --radius-pill: 999px;

  --shadow-card: 0 12px 30px rgba(51, 51, 51, 0.08);
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-cream);
  overflow-x: hidden;
  word-break: break-word;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-yellow);
  color: var(--color-white);
  padding: 0.5em 1em;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Section eyebrow (display font label, e.g. VOICE / FAQ / FLOW / SAFETY) */
.eyebrow-label {
  font-family: var(--font-display);
  color: var(--color-yellow);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Decorative triangles (Figma "confetti" accents)
   CSS-only triangles (clip-path) instead of image assets — crisp at any
   size, freely recolorable/rotatable, no extra HTTP requests.
   Position/rotation are set per-instance via inline style so they can be
   fine-tuned by hand without hunting through this stylesheet.
   ========================================================================== */
.deco-triangle {
  position: absolute;
  width: 22px;
  height: 22px;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  background: var(--color-yellow);
  pointer-events: none;
  z-index: 1;
}

.deco-triangle--sm {
  width: 14px;
  height: 14px;
}

.deco-triangle--lg {
  width: 32px;
  height: 32px;
}

.deco-triangle--yellow {
  background: var(--color-yellow);
}

.deco-triangle--orange {
  background: var(--color-orange);
}

.deco-triangle--blue {
  background: var(--color-blue);
}

.deco-triangle--pink {
  background: var(--color-pink);
}

.deco-triangle--white {
  background: var(--color-white);
}

@media (max-width: 768px) {

  /* Purely decorative — hidden on narrow viewports to avoid clutter.
     Remove this rule if you want them scaled down and kept instead. */
  .deco-triangle {
    display: none;
  }
}

/* Wavy top/bottom divider for full-bleed color blocks (Problems / Safety /
   Trust in Figma). The cream-filled SVG wave overlays the block's straight
   edge so the transition into the surrounding cream page background reads
   as a soft curve instead of a hard line. */
.wave-divider {
  position: relative;
}

.wave-divider::before,
.wave-divider::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(20px, 3.5vw, 46px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,0H1440V18C1200,46 1020,4 720,22C420,40 240,2 0,18Z' fill='%23FBF4E6'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}

.wave-divider::before {
  top: -1px;
}

.wave-divider::after {
  bottom: -1px;
  transform: scaleY(-1);
}

.wave-divider--bottom::before {
  content: none;
}

/* For a block that overlaps the section above it (negative margin) and
   needs an actually-wavy top edge: an overlay pseudo-element can't do this,
   because the block's own background is a solid rectangle that already
   opaquely covers the whole overlap strip underneath the overlay — tinting
   that overlay the same color as the block just makes the wave invisible,
   and any other color shows as a stray patch instead of revealing what's
   behind. This masks the block's OWN background instead: a small "wave cut"
   mask (evenodd rect minus the wave path) for the top strip, unioned with a
   solid mask for the rest of the block, so the valleys are genuinely
   transparent (the overlapped content behind shows through) while the
   peaks and the rest of the block stay fully opaque. */
.wave-mask-top {
  --wave-mask-height: clamp(20px, 3.5vw, 46px);
  -webkit-mask-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' fill='%23ffffff' d='M0,0H1440V60H0Z M0,0H1440V18C1200,46 1020,4 720,22C420,40 240,2 0,18Z'/%3E%3C/svg%3E"),
    linear-gradient(#fff, #fff);
  mask-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill-rule='evenodd' fill='%23ffffff' d='M0,0H1440V60H0Z M0,0H1440V18C1200,46 1020,4 720,22C420,40 240,2 0,18Z'/%3E%3C/svg%3E"),
    linear-gradient(#fff, #fff);
  -webkit-mask-size: 100% var(--wave-mask-height), 100% calc(100% - var(--wave-mask-height));
  mask-size: 100% var(--wave-mask-height), 100% calc(100% - var(--wave-mask-height));
  -webkit-mask-position: top left, bottom left;
  mask-position: top left, bottom left;
  -webkit-mask-repeat: no-repeat, no-repeat;
  mask-repeat: no-repeat, no-repeat;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  background: transparent;
}

.header__inner {
  /* max-width: var(--container-width); */
  margin-inline: auto;
  padding: 1.5rem var(--gutter) 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header__logo img {
  width: clamp(140px, 10vw + 70px, 190px);
  height: auto;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--gutter) clamp(3rem, 2.5rem + 3vw, 5rem);
  overflow: hidden;
  background: var(--color-cream);
  min-height: clamp(480px, 48vw, 640px);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(143, 186, 213, 0.25) 0, transparent 45%),
    radial-gradient(circle at 5% 90%, rgba(243, 170, 172, 0.25) 0, transparent 45%);
}

.hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 62vw;
  height: auto;
  object-fit: cover;
  object-position: top right;
  /* mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, rgba(0, 0, 0, 0.7) 60%, #000 75%); */
}

.hero__inner {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  padding-top: clamp(4.5rem, 1.5rem + 4vw, 6rem);
  padding-bottom: 2em;
}

.hero__content {
  container-type: inline-size;
  /* max-width: 600px; */
  max-width: 45vw;
}

.hero__copy {
  /* width: clamp(260px, 30vw, 400px); */
  width: 40vw;
  height: auto;
  margin-bottom: 1em;
}

.hero__title {
  font-size: clamp(1.65rem, 0.15rem + 2vw, 1.75rem);
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 0.75em;

  span {
    color: #FD7636
  }
}

.hero__lead {
  font-size: clamp(1rem, 0.5rem + 0.3vw, 1.15rem);
  line-height: 1.9;
  margin-bottom: 1.5em;
}

.hero__car {
  position: absolute;
  z-index: 2;
  bottom: 28%;
  left: 50%;
  width: clamp(140px, 13vw, 260px);
  height: auto;
  pointer-events: none;
}

.hero__badges {
  position: absolute;
  z-index: 2;
  right: clamp(2rem, 5vw, 5rem);
  bottom: 14%;
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}

.hero__badge-icon {
  /* width: clamp(70px, 7vw, 110px); */
  width: 12.5vw;
  height: auto;
}

/* Shared download component ------------------------------------------- */
.download {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  display: inline-flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  max-width: 100%;
}

.download__campaign {
  font-weight: 700;
  font-size: clamp(0.95rem, 0.85rem + 0.2vw, 1.05rem);
  color: var(--color-white);
  text-align: center;
  background: #F2A32D;
  border-radius: var(--radius-pill);
  padding: 0.6em 1.4em;
  margin: -2.5em 0 0 0px;
}

.download__note {
  font-size: clamp(0.7rem, 0.65rem + 0.1vw, 0.8rem);
  text-align: center;
  color: var(--color-text);
}

.download--banner {
  display: flex;
  width: 100%;
  max-width: 850px;
  margin-inline: auto;
  background: var(--color-white);
  padding: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  gap: 1.1rem;
}

/* Hero's download card: a compact version of the CTA banner's two-group
   (smartphone / tablet) layout, scaled down to fit the hero column. */
.download--hero {
  display: flex;
  width: 100%;
  max-width: 680px;
  gap: 1rem;
}

.download--hero .download__lead {
  font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.05rem);
}

.download--hero .download__groups {
  gap: clamp(1.3rem, 0.7rem + 1.6vw, 1.6rem);
}

.download--hero .download__group {
  padding-inline: clamp(0.4rem, 0.25rem + 0.4vw, 0.6rem);
  gap: 0.7rem;
}

.download--hero .download__group:not(:last-child)::after {
  right: calc(-0.5 * clamp(1.3rem, 0.7rem + 1.6vw, 1.6rem));
}

.download--hero .download__group-label {
  font-size: clamp(0.85rem, 0.78rem + 0.2vw, 0.95rem);
  padding: 0.55em 1.3em;
}

.download--hero .download__group-items {
  gap: 0.7rem;
}

.download--hero .download__item-qr {
  width: clamp(52px, 4vw + 20px, 78px);
}

.download--hero .download__item-badge {
  width: clamp(88px, 6.5vw + 34px, 132px);
}

.download--hero .download__note {
  font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.85rem);
}

/* CTA banner variant: two device groups (smartphone / tablet), each with
   its own QR code + store badge pair, split by a vertical divider. */
.download__lead {
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.15rem);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
}

.download__groups {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem);
}

.download__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  padding-inline: clamp(0.65rem, 0.45rem + 0.7vw, 1.1rem);
}

.download__group:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc(-0.5 * clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem));
  width: 1px;
  background: var(--color-border);
}

.download__group-label {
  background: var(--color-yellow);
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(0.95rem, 0.85rem + 0.25vw, 1.05rem);
  border-radius: var(--radius-pill);
  padding: 0.6em 1.5em;
  white-space: nowrap;
}

.download__group-items {
  display: flex;
  gap: clamp(0.75rem, 0.5rem + 0.8vw, 1.1rem);
}

.download__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.download__item-qr {
  width: clamp(64px, 4.2vw + 28px, 92px);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}

.download__item-badge {
  width: clamp(100px, 6.5vw + 36px, 142px);
  height: auto;
}

/* ==========================================================================
   Problems (pain points)
   ========================================================================== */
.problems {
  position: relative;
  z-index: 1;
  margin-top: calc(-1 * clamp(20px, 3.5vw, 46px));
  padding: var(--section-padding-y) var(--gutter);
  background: var(--color-yellow);
}

.problems__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  text-align: center;
}

.problems__heading {
  color: var(--color-white);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.br-mobile {
  display: none;
}

.br-tablet {
  display: none;
}

.problems__heading-accent {
  display: inline-block;
  background: #FFF0B3;
  color: var(--color-orange);
  padding: 0.05em 0.5em;
  margin: 0 0.25em;
  border-radius: 10px;
}

.problems__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.problems__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.problems__image {
  width: 100%;
  aspect-ratio: 400 / 260;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.problems__title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
}

.problems__text {
  font-size: 18px;
  line-height: 1.8;
  text-align: left;
}

/* ==========================================================================
   Features / Solution
   ========================================================================== */
.features {
  position: relative;
  padding: var(--section-padding-y) var(--gutter);
  background: var(--color-cream);
}

.features__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  text-align: center;
}

.features__heading {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  font-weight: 700;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.features__heading-brand {
  display: inline-block;
  width: auto;
  height: 1em;
  vertical-align: -0.1em;
}

.features__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.features__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.features__media {
  position: relative;
  /* width: clamp(140px, 12vw + 60px, 180px); */
  width: 100%;
  aspect-ratio: 1 / 1;
}

.features__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--color-white);
  box-shadow: var(--shadow-card);
}

.features__number {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-card);
}

.features__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(1.05rem * 1.5 * 3);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.features__text {
  font-size: 18px;
  line-height: 1.8;
  text-align: left;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  position: relative;
  padding: clamp(3rem, 2.5rem + 3vw, 5rem) var(--gutter);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  margin-inline: 4vw;
  background-image: url("../images/cta-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.cta-banner--alt {
  padding: 0;
  background: var(--color-cream);
}

.cta-banner--alt::before {
  content: none;
}

.cta-banner__notice {
  margin-inline: auto;
  margin-block: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding: clamp(1.1rem, 0.6rem + 1vw, 1.6rem) clamp(1.25rem, 1rem + 1.5vw, 2rem);
  background: #FEF8E9;
  border: 1px solid #FDE5CD;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 800px;
}

.cta-banner__notice-icon {
  flex-shrink: 0;
  width: clamp(32px, 3vw + 20px, 44px);
  height: auto;
}

.cta-banner__notice-text {
  font-weight: 700;
  font-size: clamp(0.95rem, 0.8rem + 0.6vw, 1.15rem);
  line-height: 1.6;
  color: #2FAE7B;
}

.cta-banner__notice-text strong {
  font-weight: 800;
}

.cta-banner__panel {
  position: relative;
  padding: clamp(3rem, 2.5rem + 3vw, 5rem) var(--gutter);
}

.cta-banner__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/cta-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.cta-banner__main-mark {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: #FFF7CA;
}

.cta-banner__main-mark::before {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  bottom: 0.08em;
  height: 0.32em;
  background: #FD7636;
  border-radius: 2px;
  z-index: -1;
}

.cta-banner__cta-heading {
  font-weight: 700;
  font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.35rem);
  color: var(--color-text);
  text-align: center;
}

.cta-banner__cta-heading-accent {
  color: #F2A32D;
}

.cta-banner__deco {
  position: absolute;
  top: clamp(-2.5rem, -4vw, -1.5rem);
  right: clamp(0.5rem, 3vw, 2.5rem);
  width: clamp(110px, 14vw, 220px);
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.cta-banner__inner {
  container-type: inline-size;
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.cta-banner__sub {
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.3rem);
  text-shadow: 0 0 20px rgba(184, 110, 0, 0.7);
}

.cta-banner__sub strong {
  font-family: var(--font-display);
  font-size: 1.1em;
}

.cta-banner__main {
  color: var(--color-white);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.1rem + 1.6vw, 2.3rem);
  text-shadow: 0 0 20px rgba(184, 110, 0, 0.7);
  line-height: 1.3;
}

.cta-banner__brand {
  display: inline-block;
  width: auto;
  height: 0.85em;
  margin-inline: 0.15em;
  vertical-align: middle;
  transform: translateY(-0.12em);
}

.cta-banner__lead {
  color: var(--color-white);
  font-size: clamp(0.9rem, 0.8rem + 0.3vw, 1.05rem);
  line-height: 1.8;
  max-width: 760px;
}

.cta-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--color-white);
  color: var(--color-orange);
  font-weight: 700;
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.15rem);
  padding: 0.9em 2em;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}

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

.cta-banner__note {
  color: var(--color-white);
  font-size: 0.8rem;
}

/* ==========================================================================
   Voice (testimonial marquee)
   ========================================================================== */
.voice {
  position: relative;
  padding: var(--section-padding-y) 0;
  background: var(--color-cream);
  overflow: hidden;
}

.voice__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
  text-align: left;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.voice__eyebrow {
  font-family: var(--font-display);
  color: var(--color-yellow);
  font-size: clamp(5.6rem, 1.1rem + 2vw, 3.2rem);
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

.voice__heading {
  font-size: clamp(1.8rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 700;
}

.voice__viewport {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.voice__track {
  display: flex;
  width: max-content;
  gap: clamp(3rem, 1vw, 1.5rem);
  will-change: transform;
  animation: voice-marquee var(--marquee-duration, 32s) linear infinite;
}

.voice__viewport:hover .voice__track,
.voice__track:focus-within {
  animation-play-state: paused;
}

.voice__card {
  flex-shrink: 0;
}

.voice__card img {
  /* width: 280px;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); */
}

@keyframes voice-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .voice__track {
    animation: none;
  }

  .voice__viewport {
    overflow-x: auto;
  }
}

/* ==========================================================================
   Flow (how to use)
   ========================================================================== */
.flow {
  position: relative;
  padding: var(--section-padding-y) var(--gutter);
  background: var(--color-cream);
}

.flow__inner {
  max-width: var(--container-width);
  margin-inline: auto;
}

.flow__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
  text-align: left;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.flow__eyebrow {
  font-family: var(--font-display);
  color: var(--color-yellow);
  font-size: clamp(5.6rem, 1.1rem + 2vw, 3.2rem);
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

.flow__heading {
  font-size: clamp(2.8rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 700;
}

.flow__list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.flow__card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.2rem) clamp(1.25rem, 1rem + 1vw, 1.9rem) clamp(1.75rem, 1.4rem + 1vw, 2.4rem);
}

.flow__card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translate(50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 30px 0px 30px 20px;
  border-color: transparent transparent transparent var(--color-yellow);
}

.flow__image {
  width: 100%;
  aspect-ratio: 280 / 180;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.flow__step {
  font-family: var(--font-heading);
  background: var(--color-yellow);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.3em 1.1em;
  border-radius: var(--radius-pill);
  margin-top: -1.8em;
}

.flow__title {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 700;

  br {
    display: none;
  }
}

.flow__text {
  font-size: 18px;
  line-height: 1.9;
  text-align: left;
}

/* ==========================================================================
   Safety
   ========================================================================== */
.safety {
  position: relative;
  padding: var(--section-padding-y) var(--gutter);
  background: var(--color-yellow);
}

.safety__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
}

.safety__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
  text-align: left;
}

.safety__eyebrow {
  font-family: var(--font-display);
  color: var(--color-yellow-soft);
  font-size: clamp(5.6rem, 1.1rem + 2vw, 3.2rem);
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

.safety__heading {
  font-size: clamp(2.8rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 700;
  color: var(--color-white);
}

.safety__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.75rem);
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 1.1fr);
  justify-content: center;
  gap: clamp(1.5rem, 1.2rem + 1.5vw, 3.5rem);
  align-items: center;
}

.safety__image {
  width: 100%;
  max-width: 230px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  margin-inline: auto;
}

.safety__title {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 0.8em;
}

.safety__title-accent {
  color: var(--color-orange);
}

.safety__text {
  font-size: 18px;
  line-height: 2;
}

/* ==========================================================================
   Device / Easy setup ("準備はカンタン♪これだけ")
   ========================================================================== */
.device {
  position: relative;
  padding: var(--section-padding-y) var(--gutter);
  background: #f3f0e1;
}

.device__inner {
  max-width: var(--container-width);
  margin-inline: auto;
}

.device__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.device__badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15em;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  padding: 0.5em 1.4em;
  font-weight: 700;
  font-size: clamp(1rem, 0.85rem + 0.5vw, 1.3rem);
}

.device__badge-accent {
  color: var(--color-yellow);
  font-size: 1.1em;
}

.device__heading {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem);
  font-weight: 700;
  line-height: 1.6;
}

.device__heading-emphasis {
  line-height: 1.4;
}

.device__heading-mark {
  position: relative;
  z-index: 0;
  display: inline-block;
  font-size: clamp(1.7rem, 1.3rem + 2vw, 2.6rem);
  font-weight: 700;
}

.device__heading-mark::before {
  content: "";
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  bottom: 0.12em;
  height: 0.35em;
  background: #ffed84;
  mix-blend-mode: multiply;
  z-index: -1;
}

.device__photos {
  display: flex;
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
  margin-bottom: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
}

.device__photo {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.5rem, 1vw, 1.5rem);
  min-height: clamp(150px, 14vw + 90px, 270px);
  background: var(--color-yellow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  padding: 1.5rem clamp(1.25rem, 1rem + 1.5vw, 2rem);
}

.device__photo-caption {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  min-width: 0;
  color: var(--color-white);
  text-align: center;
}

.device__photo-image {
  flex: 0 0 auto;
  align-self: center;
  width: clamp(120px, 13vw + 50px, 200px);
  height: auto;
}

.device__photo-lead {
  font-weight: 700;
  font-size: clamp(0.95rem, 0.85rem + 0.3vw, 1.1rem);
}

.device__photo-title {
  font-weight: 900;
  font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem);

  br {
    display: none;
  }
}

.device__photo-note {
  font-size: clamp(0.85rem, 0.75rem + 0.2vw, 0.95rem);
  line-height: 1.6;
  margin-top: 0.5em;
}

/* ==========================================================================
   Check (device compatibility table)
   ========================================================================== */
.check {
  position: relative;
  padding: var(--section-padding-y) 0;
  background: var(--color-cream);
  overflow: hidden;
}

.check__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  align-items: start;
  gap: clamp(1.5rem, 1vw + 1rem, 3rem);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.check__head {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.check__eyebrow {
  font-family: var(--font-display);
  color: var(--color-yellow);
  font-size: clamp(5.6rem, 1.6rem + 3vw, 3.5rem);
  letter-spacing: 0.05em;
  line-height: 1;
}

.check__heading {
  font-size: 1.8rem;
  font-weight: 700;
}

.check__table {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.check__row {
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr;
}

.check__row:not(:last-child) {
  border-bottom: 2px solid var(--color-cream);
}

.check__cell {
  padding: 1.25rem 1.5rem;
  font-size: 0.92rem;
  line-height: 1.7;
  display: flex;
  align-items: center;
  background: var(--color-white);
}

.check__cell--head {
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-orange);
}

.check__viewport {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.check__track {
  display: flex;
  width: max-content;
  gap: clamp(2rem, 1vw, 1.5rem);
  will-change: transform;
  animation: check-marquee var(--marquee-duration, 28s) linear infinite;
}

.check__viewport:hover .check__track,
.check__track:focus-within {
  animation-play-state: paused;
}

.check__photo {
  flex-shrink: 0;
}

.check__photo img {
  width: clamp(220px, 20vw, 330px);
  height: auto;
  aspect-ratio: 330 / 280;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

@keyframes check-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .check__track {
    animation: none;
  }
}

/* ==========================================================================
   Trust
   ========================================================================== */
.trust {
  position: relative;
  padding: var(--section-padding-y) var(--gutter);
  background: var(--color-yellow);
}

.trust__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
}

.trust__eyebrow {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--color-white);
  font-weight: 700;
  text-align: center;
}

.trust__eyebrow-accent {
  display: inline-block;
  padding-bottom: 0.12em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 4c2-4 4-4 6 0s4 4 6 0 4-4 6 0 4 4 6 0' fill='none' stroke='%23FFFF57' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: bottom left;
  background-size: 1.1em auto;
  margin-bottom: 1em;
}

.trust__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.75rem);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 1.2rem + 1.5vw, 3.5rem);
  align-items: center;
}

.trust__image {
  width: 100%;
  aspect-ratio: 480 / 320;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.trust__logo {
  width: 100%;
  max-width: 350px;
  height: auto;
  margin-bottom: 1rem;
}

.trust__heading {
  font-size: clamp(1.25rem, .5rem + 1vw, 1.75rem);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 0.8em;
}

.trust__text {
  font-size: 18px;
  line-height: 1.9;

  br {
    display: none;
  }
}

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */
.faq {
  padding: var(--section-padding-y) var(--gutter);
  background: var(--color-cream);
}

.faq__inner {
  max-width: 860px;
  margin-inline: auto;
}

.faq__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
  text-align: left;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.faq__eyebrow {
  font-family: var(--font-display);
  color: var(--color-yellow);
  font-size: clamp(5.6rem, 1.1rem + 2vw, 3.2rem);
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

.faq__heading {
  font-size: clamp(2.8rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 700;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 0.8rem + 0.5vw, 1.5rem);
}

.faq__item {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
  padding: 1.4rem 1.6rem;
  min-height: 44px;
  font-size: 1rem;
  color: var(--color-text);
}

.faq__mark {
  font-family: var(--font-accent);
  font-weight: 500;
  color: var(--color-yellow);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.faq__q-text {
  flex: 1;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.6;
}

.faq__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.faq__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  width: 9px;
  height: 9px;
  margin: auto;
  transform: rotate(45deg) translate(-1px, -1px);
}

.faq__item.is-open .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.35s ease;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq__answer-body {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.4rem 1.6rem 1.6rem;
  border-top: 1px solid var(--color-border);
  margin: 0 1.6rem;
}

.faq__a-text {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--color-text);
}

.faq__a-text a {
  text-decoration: underline;
}

.faq__a-text a:hover {
  text-decoration: none;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  padding: var(--section-padding-y) var(--gutter);
  background: var(--color-cream);
}

.final-cta__inner {
  max-width: 900px;
  margin-inline: auto;
  background: #FEF8E9;
  border: 2px solid #FDE5CD;
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem) clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem) clamp(0.75rem, 0.2rem + 1.5vw, 2.75rem);
}

.final-cta__eyebrow {
  font-family: var(--font-quicksand);
  color: var(--color-yellow);
  font-size: clamp(2.2rem, 1rem + 0.8vw, 1.6rem);
  letter-spacing: 0.05em;
  margin-bottom: 1em;
}

.final-cta__list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.final-cta__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.final-cta__desc {
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  max-width: var(--container-width);
  margin-inline: auto;
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 1.2rem + 1.5vw, 3rem);
  flex-wrap: wrap;
}

.footer__logo {
  width: 150px;
  height: auto;
}

.footer__nav {
  display: flex;
  gap: clamp(1rem, 0.8rem + 1vw, 2rem);
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer__nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer__copyright {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ==========================================================================
   Responsive (SP: max-width 768px)
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --gutter: 1.25rem;
    --section-padding-y: clamp(2.5rem, 2rem + 4vw, 3.5rem);
  }

  .header__inner {
    padding-block: 0.6rem;
  }

  .header__logo img {
    width: 120px;
  }

  .hero {
    padding-top: 2rem;
    min-height: auto;
  }

  .hero__visual {
    position: absolute;
    width: 100%;
    max-width: 90%;
    height: auto;
    margin: 3.75em auto 1.5rem;
    border-radius: var(--radius-lg);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero__inner {
    text-align: center;
    padding: 57vw 0 0;
  }

  .hero__content {
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__copy {
    margin-inline: auto;
    margin-right: auto;
    margin-left: 0;
    width: 60vw;
  }

  .hero__lead {
    text-align: left;
  }

  .hero__car {
    display: none;
  }

  .hero__badges {
    position: static;
    justify-content: center;
    margin-top: 1.5rem;
  }

  .hero__title {
    font-size: clamp(1.4rem, 1.1rem + 3vw, 1.8rem);
    text-align: left;

    br {
      display: none;
    }
  }

  .hero__badge-icon {
    width: 35.5vw;
  }

  .download {
    width: calc(100% + 2 * (var(--gutter) - 0.5rem));
    margin-inline: calc(-1 * (var(--gutter) - 0.5rem));
    padding-inline: 1rem;
  }

  .download__groups {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 1.5rem;
  }

  .download--hero .download__groups {
    gap: 1.5rem;
  }

  /* CTA buttons read too small on phones at the desktop-clamp minimums.
     Instead of a small fixed bump, let each group span the full card
     width and have the QR code / store badge grow to fill their half of
     the row — the buttons scale with the screen instead of staying a
     fixed size, while remaining side by side. */
  .download__group,
  .download--hero .download__group {
    width: 100%;
    padding-inline: 0;
  }

  .download__group-items,
  .download--hero .download__group-items {
    width: 100%;
    gap: 0.75rem;
  }

  .download__item,
  .download--hero .download__item {
    flex: 1 1 0;
    min-width: 0;
  }

  .download__item-qr,
  .download--hero .download__item-qr {
    width: 100%;
    max-width: 210px;
    margin-inline: auto;
  }

  .download__item-badge,
  .download--hero .download__item-badge {
    width: 100%;
    max-width: 280px;
    margin-inline: auto;
  }

  .download__group-label,
  .download--hero .download__group-label {
    font-size: 1rem;
    padding: 0.6em 1.4em;
  }

  .download__lead,
  .download--hero .download__lead {
    font-size: 1rem;
  }

  .download__note,
  .download--hero .download__note {
    font-size: 0.85rem;
  }

  .download__group:not(:last-child)::after,
  .download--hero .download__group:not(:last-child)::after {
    left: 0;
    right: 0;
    top: auto;
    bottom: calc(-0.75rem);
    width: auto;
    height: 1px;
  }

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

  .features__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.25rem;
  }

  .cta-banner__main {
    font-size: clamp(1.3rem, 1.1rem + 3vw, 1.7rem);
  }

  .cta-banner::before {
    margin-inline: 0;
  }

  .voice__card img {
    width: 220px;
    height: 280px;
  }

  .flow__list {
    flex-direction: column;
    gap: 2.5rem;
  }

  .flow__card:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: 0;
    transform: translate(50%, 50%) rotate(90deg);
  }

  .safety__card,
  .trust__card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .device__photos {
    flex-direction: column;
  }

  .check__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .check__head {
    align-items: center;
    text-align: center;
  }

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

  .check__cell--head {
    padding-bottom: 0.6rem;
  }

  .faq__question {
    padding: 1.1rem 1.1rem;
    gap: 0.5rem;
  }

  .faq__q-text {
    font-size: 0.95rem;
  }

  .faq__answer-body {
    margin: 0 1.1rem;
    padding: 1.1rem 1.1rem 1.3rem;
  }

  .final-cta__inner {
    padding: 1.5rem;
  }

  .final-cta__row {
    gap: 0.35rem;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .footer__brand {
    flex-direction: column;
  }

  .footer__nav {
    justify-content: center;
  }

  .br-mobile {
    display: inline;
  }

  .features__heading {
    font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem);
  }

  .features__title {
    font-size: 1rem;
  }

  .cta-banner__deco {
    top: clamp(-2.5rem, -4vw, -2.5rem);
    width: clamp(90px, 14vw, 220px);
  }

  .safety__text {
    text-align: left;

    br {
      display: none;
    }
  }

  .device__heading {
    font-size: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  }

  .trust__text br {
    display: initial;
  }
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero__content {
    max-width: 54vw;
  }

  .hero__car {
    left: 60%;
  }

  .problems__title {
    font-size: 1.1rem;
  }

  .features__title {
    font-size: 0.95rem;
  }

  .device__photo-title br {
    display: initial;
  }

  .flow__title br {
    display: initial;
  }

  .trust__eyebrow {
    font-size: 1.85rem;

  }

  .trust__eyebrow br {
    display: initial;
  }

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

  .check__head {
    align-items: center;
    text-align: center;
  }

  .br-tablet {
    display: inline;
  }

  .hero__visual {
    width: 57vw;
  }
}