/* ==========================================================================
   LightCDP landing page
   Source: Figma "LightCDP-Website" › 🎨 Design › Home › Homepage (246:1766)
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------- */
:root {
  /* Primary */
  --primary-10: #eefaf1;
  --primary-20: #cbeed5;
  --primary-60: #56c977; /* main */
  --primary-80: #3d8f54;
  --accent-cyan: #50c8e6;

  /* Neutral */
  --neutral-100: #171717;
  --neutral-80: #373737;
  --neutral-60: #5a5a5a;
  --neutral-40: #808080;
  --neutral-30: #898989;
  --neutral-20: #afafaf;
  --neutral-10: #ececec;
  --white: #fff;
  --black-5: rgba(0, 0, 0, 0.05);
  --black-20: rgba(0, 0, 0, 0.2);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-80: rgba(255, 255, 255, 0.8);
  --error: #d93f3f;

  /* Brand gradient stops (angle varies per usage) */
  --brand-stops: rgb(189, 226, 54) 0%, rgb(88, 202, 90) 24.865%, rgb(84, 201, 143) 64.84%,
    rgb(82, 200, 190) 87.284%, rgb(80, 200, 219) 101.14%, rgb(80, 200, 230) 112.38%;

  /* Effects */
  --elevation-01: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  --card-shadow: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
  --tag-shadow: 0 2px 8px 0 rgba(51, 51, 51, 0.24);
  --blur-01: blur(80px);

  /* Type */
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-en: var(--font-jp); /* design uses Poppins, but its text is Japanese, which Poppins lacks */
  /* system font for the tiny text inside product mock-ups (keeps web-font downloads small) */
  --font-ui: system-ui, -apple-system, "Hiragino Sans", "Noto Sans CJK JP", "Yu Gothic UI", Meiryo, sans-serif;

  /* Motion — matches the Figma prototype (Smart Animate, 300ms, ease in and out) */
  --motion-duration: 300ms;
  --motion-ease: cubic-bezier(0.42, 0, 0.58, 1);

  /* Layout */
  --content-w: 1240px;
  --gutter: 100px;
  --section-pad: 80px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.7;
  color: var(--neutral-100);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* keep full-width CJK punctuation spacing, as Figma does */
  text-spacing-trim: space-all;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--primary-80);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--primary-80);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--content-w), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- Decorative illustrations (converted from Figma layers) ------- */
/* A .fx frame keeps the design aspect ratio; main.js scales the fixed-size
   stage to the frame width so the illustration stays intact at any size. */
.fx {
  position: relative;
  width: 100%;
  aspect-ratio: var(--fx-w) / var(--fx-h);
}

.fx__stage {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--fx-w) * 1px);
  height: calc(var(--fx-h) * 1px);
  transform-origin: 0 0;
  scale: var(--fx-scale, 1);
}

.fx p {
  margin: 0;
}

/* Per-state visuals (accordion items / feature tabs), exported from Figma variants.
   They sit on top of the default visual and crossfade, like Smart Animate's dissolve. */
.state-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

[data-visual-for] {
  transition: opacity var(--motion-duration) var(--motion-ease), visibility 0s;
}

[data-visual-for]:not(.is-active) {
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-duration) var(--motion-ease), visibility 0s linear var(--motion-duration);
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  white-space: nowrap;
  text-align: center;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

/* Header-size buttons: Poppins/Base 14/20 */
/* padding is 1px less than Figma because the CSS border sits outside it */
.btn--sm {
  padding: 5px 11px;
  border-radius: 10px;
  font-family: var(--font-en);
  font-size: 14px;
  line-height: 20px;
}

/* Large buttons: Noto Sans JP/Medium/SemiBold 16/27.2 */
.btn--lg {
  padding: 11px 31px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 27.2px;
  letter-spacing: 0.32px;
}

.btn--rounded {
  border-radius: 12px;
}

.btn--primary {
  background: var(--primary-60);
  color: var(--white);
  font-weight: 600;
}

.btn--primary:hover {
  background: var(--primary-80);
}

.btn--outline {
  border-color: var(--primary-60);
  color: var(--primary-60);
  font-weight: 500;
}

.btn--outline:hover {
  background: var(--primary-10);
}

.btn--secondary {
  background: var(--primary-10);
  border-color: var(--primary-20);
  color: var(--primary-80);
}

.btn--secondary:hover {
  background: var(--white);
}

.btn--reverse {
  border-color: var(--white);
  color: var(--white);
}

.btn--reverse:hover {
  background: var(--white-20);
}

/* Glass badge (Badge Text) */
.glass-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 23px;
  border: 1px solid var(--white-20);
  border-radius: 40px;
  background: var(--white-20);
  -webkit-backdrop-filter: var(--blur-01);
  backdrop-filter: var(--blur-01);
  color: var(--white);
  text-align: center;
  white-space: nowrap;
}

/* ---------- Section headings (Main Title) -------------------------------- */
.section {
  position: relative;
  padding-block: var(--section-pad);
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: min(900px, 100%);
  margin-inline: auto;
  text-align: center;
}

.section-title__heading {
  font-size: 48px;
  font-weight: 700;
  line-height: 67.2px;
}

.section-title__lead {
  width: min(682px, 100%); /* 680 + rounding tolerance so lines break as in Figma */
  font-size: 18px;
  line-height: 28.8px;
  letter-spacing: 0.36px;
}

/* Below-the-fold sections: skip layout and paint until they near the viewport, which keeps
   the first load fast. Sizes are estimates; "auto" remembers the real size once rendered.
   main.js adds .cv-off before any in-page anchor jump so the target position is exact. */
html:not(.cv-off) .problem { content-visibility: auto; contain-intrinsic-size: auto 956px; }
html:not(.cv-off) .solution { content-visibility: auto; contain-intrinsic-size: auto 1745px; }
html:not(.cv-off) .features { content-visibility: auto; contain-intrinsic-size: auto 1024px; }
html:not(.cv-off) .journey { content-visibility: auto; contain-intrinsic-size: auto 2526px; }
html:not(.cv-off) .site-footer { content-visibility: auto; contain-intrinsic-size: auto 1273px; }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: 79px; /* + 1px border = 80px */
}

.site-header__brand {
  display: flex;
  align-items: center;
  width: 280px;
  height: 36px;
  flex-shrink: 0;
}

.logo {
  position: relative;
  display: block;
  width: 154px;
  height: 36px;
  flex-shrink: 0;
}

.logo img {
  position: absolute;
  max-width: none;
}

.logo__mark {
  inset: 0 78.83% 0 0;
  width: 21.17%;
  height: 100%;
}

.logo__type {
  inset: 18.9% -0.14% 6.15% 26.97%;
  width: 73.17%;
  height: 74.95%;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1;
}

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto 24px;
}

.site-nav__link {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: var(--neutral-60);
  font-size: 14px;
  font-weight: 500;
  line-height: 23.8px;
  letter-spacing: 0.28px;
  white-space: nowrap;
  transition: color 0.2s;
}

.site-nav__link:hover {
  color: var(--primary-80);
}

.icon-chevron {
  position: relative;
  width: 20px;
  height: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.icon-chevron img {
  position: absolute;
  inset: 2.4px;
  width: calc(100% - 4.8px);
  height: calc(100% - 4.8px);
  max-width: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-block: 2px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--neutral-60);
  font-size: 14px;
  font-weight: 500;
  line-height: 23.8px;
  letter-spacing: 0.28px;
}

.lang-switch img {
  width: 20px;
  height: 20px;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 10px;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  margin-left: -11px;
  border-radius: 2px;
  background: var(--neutral-100);
  transition: transform var(--motion-duration) var(--motion-ease), background-color var(--motion-duration) var(--motion-ease);
  content: "";
}

.nav-toggle__bar {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle__bar::before {
  top: -7px;
}

.nav-toggle__bar::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 734px; /* design height; grows rather than clipping if the copy wraps more */
  overflow: hidden;
  background: linear-gradient(117.113deg, var(--brand-stops)) no-repeat 0 0 / 100% 806px;
  color: var(--white);
}

/* 1440px design stage, centred so decorations track the content column */
.hero__decor {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  height: 100%;
  margin-left: -720px;
  pointer-events: none;
}

.hero__decor > * {
  position: absolute;
}

.hero__decor img {
  display: block;
  max-width: none;
}

.hero__glow img {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero__glow--top {
  left: 376px;
  top: -1034px;
  width: 1246px;
  height: 1246px;
}

.hero__glow--top img {
  inset: -16.05%;
  width: 132.1%;
  height: 132.1%;
}

.hero__glow--bottom {
  left: -740px;
  top: 461px;
  width: 1640px;
  height: 1640px;
}

.hero__glow--bottom img {
  inset: -12.2%;
  width: 124.4%;
  height: 124.4%;
}

.hero__pattern {
  left: -1326px;
  top: -1304px;
  width: 3593px;
  height: 3967px;
}

.hero__photo {
  left: 819.94px;
  width: 1447px;
}

.hero__photo--back {
  top: 150.98px;
  height: 1872px;
}

.hero__photo--front {
  top: -5.14px;
  height: 2028.14px;
}

.hero__badge {
  height: 40px;
  font-size: 14px;
  font-weight: 700;
  line-height: 23.8px;
  letter-spacing: 0.28px;
}

.hero__badge--1 {
  top: 448px;
  right: 100px;
}

.hero__badge--2 {
  top: 511px;
  right: 156px;
}

.hero__badge--3 {
  top: 574px;
  right: 217px;
}

.hero__inner {
  position: relative;
  padding-block: 80px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: min(680px, 100%);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__top-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero__eyebrow {
  padding: 8px 24px;
  border-radius: 40px;
  background: var(--primary-10);
  color: var(--primary-80);
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.4px;
}

.hero__title {
  max-width: 622px; /* reproduces the design's line breaks */
  font-size: 56px; /* Noto Sans JP/6X-Large/Bold */
  font-weight: 700;
  line-height: 78.4px;
}

.hero__lead {
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.4px;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__note {
  font-size: 14px;
  line-height: 23.8px;
  letter-spacing: 0.28px;
}

/* ---------- Problem ------------------------------------------------------ */
.problem__body {
  display: flex;
  gap: 60px;
  margin-top: 80px;
}

.problem__visual {
  position: relative;
  flex: 0 0 500px;
  border-radius: 12px;
  overflow: hidden;
}

.problem__main {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.accordion__item + .accordion__item {
  border-top: 1px solid var(--black-5);
}

.accordion__trigger {
  --accordion-gap: 80px;
  display: flex;
  align-items: center;
  gap: var(--accordion-gap);
  width: 100%;
  padding-block: 20px;
  text-align: left;
}

.accordion__title {
  flex: 1 1 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.48px;
}

.accordion__icon {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  overflow: hidden;
  transition: opacity var(--motion-duration) var(--motion-ease), width var(--motion-duration) var(--motion-ease),
    margin var(--motion-duration) var(--motion-ease);
}

.accordion__icon img {
  position: absolute;
  inset: 2px;
  width: 20px;
  height: 20px;
  max-width: none;
}

/* The open item shows no icon in the design, and its title spans the full width */
.accordion__trigger[aria-expanded="true"] .accordion__icon {
  width: 0;
  margin-left: calc(-1 * var(--accordion-gap)); /* cancels the gap */
  opacity: 0;
}

.accordion__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--motion-duration) var(--motion-ease);
}

.accordion__panel[hidden] {
  display: grid;
  grid-template-rows: 0fr;
}

.accordion__panel > div {
  overflow: hidden;
  transition: opacity var(--motion-duration) var(--motion-ease), visibility 0s;
}

/* collapsed text fades out, then leaves the accessibility tree */
.accordion__panel[hidden] > div {
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-duration) var(--motion-ease), visibility 0s linear var(--motion-duration);
}

.accordion__panel p {
  padding-bottom: 20px;
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: 0.32px;
}

.problem__conclusion {
  padding: 16px 40px;
  border-radius: 60px;
  background: linear-gradient(151.913deg, var(--brand-stops));
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.48px;
}

/* ---------- Solution ----------------------------------------------------- */
.solution {
  overflow: hidden;
}

.solution__group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 80px;
}

.solution__pattern {
  position: absolute;
  left: -1048px;
  width: 3839px;
  height: 2124px;
  max-width: none;
  pointer-events: none;
}

.solution__pattern--top {
  top: -1476px;
}

.solution__pattern--bottom {
  top: -42px;
  scale: 1 -1;
}

.solution__group-title {
  position: relative;
  color: var(--primary-80);
  font-size: 28px;
  font-weight: 700;
  line-height: 42px;
  letter-spacing: 0.28px;
}

/* Title + intro paragraph sit closer together than the 24px group gap. */
.solution__group-head {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solution__group-lead {
  width: min(682px, 100%); /* matches .section-title__lead so lines break alike */
  font-size: 18px;
  line-height: 28.8px;
  letter-spacing: 0.36px;
}

.card-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border-radius: 20px;
  background: var(--white);
  filter: var(--card-shadow);
}

/* Cards 1–2 of the first row and card 3 of the second row stretch in Figma */
.card--stretch {
  align-self: stretch;
}

.card__media {
  border-radius: 12px;
  overflow: hidden;
}

.card__media--sm-radius {
  border-radius: 8px;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.48px;
}

.card__text {
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: 0.32px;
}

.solution__note {
  position: relative;
  color: var(--neutral-60);
  font-size: 14px;
  line-height: 23.8px;
  letter-spacing: 0.28px;
  text-align: right;
}

/* ---------- Features ----------------------------------------------------- */
.features__body {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-top: 80px;
}

.feature-visual {
  position: relative;
  display: flex;
  flex: 0 0 500px;
  flex-direction: column;
  height: 650px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(102.432deg, var(--brand-stops));
}

.feature-visual__pattern {
  position: absolute;
  left: -151.12px;
  top: -294.75px;
  width: 793.521px;
  height: 886px;
  max-width: none;
  pointer-events: none;
}

/* anchored to the card bottom: 3-line captions start at y≈504, 4-line at y≈477.
   Two stacked text layers crossfade when the tab changes. */
.feature-visual__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 32px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 27.2px;
  letter-spacing: 0.32px;
}

.feature-visual__caption-stack {
  display: grid;
}

.feature-visual__caption-text {
  grid-area: 1 / 1;
  align-self: end;
  transition: opacity var(--motion-duration) var(--motion-ease);
}

.feature-visual__caption-text:not(.is-active) {
  opacity: 0;
}

/* Per-tab footnote; collapses when the tab has no data-note. */
.feature-visual__caption-note {
  font-size: 14px;
  font-weight: 400;
  line-height: 23.8px;
  letter-spacing: 0.28px;
  opacity: 0.85;
  transition: opacity var(--motion-duration) var(--motion-ease);
}

.feature-visual__caption-note:empty {
  display: none;
}

.feature-list {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.feature-tab {
  position: relative;
  display: block;
  width: 100%;
  padding: 21px 24px;
  border-radius: 12px;
  background: var(--neutral-10);
  color: var(--neutral-60);
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.48px;
  text-align: left;
  transition: background-color var(--motion-duration) var(--motion-ease), color var(--motion-duration) var(--motion-ease),
    padding var(--motion-duration) var(--motion-ease);
}

/* Hover uses the active colours (as in the prototype) without the taller size;
   hover only applies on devices that can hover, so taps don't leave a stuck highlight */
.feature-tab[aria-selected="true"] {
  background: var(--primary-10);
  color: var(--primary-80);
}

@media (hover: hover) {
  .feature-tab:hover {
    background: var(--primary-10);
    color: var(--primary-80);
  }

  .feature-tab:hover .feature-tab__num {
    background: #b1e6c0;
  }
}

.feature-tab[aria-selected="true"] {
  padding-block: 24px;
}

/* Large numeral: the Figma SVG is used as a mask so its colour can follow the
   tab state (green when selected, grey otherwise). */
.feature-tab__num {
  position: absolute;
  left: -36.25px;
  top: -8px;
  width: 40.05px;
  height: 66.69px;
  background: var(--neutral-20);
  -webkit-mask: var(--num) no-repeat center / 100% 100%;
  mask: var(--num) no-repeat center / 100% 100%;
  pointer-events: none;
  transition: background-color var(--motion-duration) var(--motion-ease);
}

.feature-tab[aria-selected="true"] .feature-tab__num {
  background: #b1e6c0;
}

.feature-tab__num--1 { --num: url("../img/features/feature-number.svg"); }
.feature-tab__num--2 { --num: url("../img/features/feature-number1.svg"); }
.feature-tab__num--3 { --num: url("../img/features/feature-number2.svg"); }
.feature-tab__num--4 { --num: url("../img/features/feature-number3.svg"); }
.feature-tab__num--5 { --num: url("../img/features/feature-number4.svg"); }

/* Product UI overlay cards rebuilt for the dashboard visual (profile +
   timeline); geometry follows the Figma layer metadata. */
.mock-frame {
  position: absolute;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.4);
}

.mock-card {
  position: absolute;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--elevation-01);
  color: #373737;
  font-family: var(--font-ui);
}

.mock-card > * {
  position: absolute;
  white-space: nowrap;
}

.mock-card img {
  max-width: none;
}

.mock-icon-box {
  border-radius: 2px;
  background: #ecf1ff;
}

.mock-icon-box img {
  position: absolute;
}

.mock-eyebrow {
  color: #68738a;
  font-weight: 500;
  font-size: 3.4px;
  line-height: 4px;
}

.mock-title {
  font-size: 5.6px;
  font-weight: 700;
  line-height: 8px;
}

.mock-title--lg {
  font-size: 6.6px;
  line-height: 9px;
}

.mock-desc {
  color: #68738a;
  font-size: 3.956px;
  line-height: 6px;
  white-space: normal;
}

.mock-label {
  color: #68738a;
  font-size: 3.956px;
  line-height: 6px;
}

.mock-value {
  font-size: 4.35px;
  line-height: 6px;
}

.mock-divider {
  height: 0.56px;
  background: #e2e4e9;
}

.mock-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px 0 4px;
  border: 0.3px solid #e2e4e9;
  border-radius: 1.5px;
  background: var(--white);
  font-size: 4.2px;
}

.mock-connector {
  width: 0.52px;
  background: #e2e4e9;
}

.mock-event-title {
  font-size: 5.6px;
  font-weight: 600;
  line-height: 8px;
}

.mock-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.5px;
  background: #ecf1ff;
  color: #4285ff;
  font-size: 3.4px;
  font-weight: 500;
}

.mock-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-link {
  color: #4285ff;
  font-size: 3.956px;
  line-height: 6px;
}

/* ---------- Use cases + CTA + footer share one gradient (Frame 11) -------- */
.journey {
  position: relative;
  overflow: hidden;
  /* 80px gap to the footer + 260px revealed behind its rounded corner */
  padding-bottom: 340px;
  /* Frame 11 gradient as rendered by Figma (green → teal-green, bottom-up),
     re-mapped to this box: Frame 11 minus the footer, plus the 260px overlap */
  background: linear-gradient(
    0deg,
    rgb(84, 201, 143) -0.1%,
    rgb(88, 202, 90) 88.38%,
    rgb(189, 226, 54) 121.52%
  );
}

.use-cases {
  padding-bottom: 0;
}

.use-cases__top {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: min(1200px, 100%);
  margin-inline: auto;
}

.use-cases__title {
  flex: 1 1 0;
  color: var(--white);
  font-size: 48px;
  font-weight: 700;
  line-height: 67.2px;
}

.use-cases__action {
  flex: 0 0 244px;
  padding-block: 8px;
}

.use-cases__action .btn {
  width: 100%;
}

.use-cases__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 80px;
}

.case-card {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  padding: 40px 48px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--primary-10);
}

.case-card__content {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.case-card__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.48px;
}

.case-card__text {
  margin-top: 24px;
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: 0.32px;
}

.case-card__metrics {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.case-card__metrics-label {
  font-size: 16px;
  font-weight: 700;
  line-height: 27.2px;
  letter-spacing: 0.32px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--black-5);
  font-size: 14px;
  line-height: 23.8px;
  letter-spacing: 0.28px;
}

.case-card__visual {
  flex: 0 0 494px;
}

/* the photo collage intentionally bleeds; the card clips it */
.case-card__visual .fx__stage {
  overflow: visible;
}

.use-cases__note {
  color: var(--white);
  font-size: 14px;
  line-height: 23.8px;
  letter-spacing: 0.28px;
  text-align: right;
}

.cta {
  position: relative;
  width: min(900px, 100%);
  margin: 80px auto 0;
  padding-block: 80px;
  color: var(--white);
  text-align: center;
}

.cta__pattern {
  position: absolute;
  left: 50%;
  bottom: -1172.79px;
  width: 2710px;
  height: 2992.273px;
  max-width: none;
  translate: -50% 0;
  pointer-events: none;
}

.cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.cta__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 67.2px;
}

.cta__lead {
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.4px;
}

.cta__topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
}

.cta__topics li {
  font-size: 18px;
  line-height: 28.8px;
  letter-spacing: 0.36px;
}

.cta__topics li:first-child {
  width: 452px;
}

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: -260px;
  padding: 80px var(--gutter);
  border-top-left-radius: 260px;
  background: var(--white);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: min(var(--content-w), 100%);
  margin-inline: auto;
}

.contact {
  padding-bottom: 80px;
}

.contact__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: min(720px, 100%);
  margin-inline: auto;
}

.contact__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__title {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  line-height: 64px;
}

.contact__lead {
  font-size: 18px;
  line-height: 28.8px;
  letter-spacing: 0.36px;
}

.contact__lead a {
  color: var(--primary-60);
}

.contact__lead a:hover {
  text-decoration: underline;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form__fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form__row {
  display: flex;
  gap: 16px;
}

.field {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field--textarea {
  gap: 4px;
}

.field__label {
  font-size: 14px;
  font-weight: 700;
  line-height: 23.8px;
  letter-spacing: 0.28px;
}

.field__control {
  position: relative;
  display: flex;
  border: 1px solid var(--black-20);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field__control:focus-within {
  border-color: var(--primary-60);
  box-shadow: 0 0 0 3px var(--primary-10);
}

.field__control.is-invalid {
  border-color: var(--error);
}

.field__error {
  color: var(--error);
  font-size: 12px;
  line-height: 20.4px;
  letter-spacing: 0.24px;
}

.field__error:empty {
  display: none;
}

.field__optional {
  margin-left: 4px;
  color: var(--neutral-60);
  font-weight: 400;
}

/* Visual-only marker; inputs carry `required`, so screen readers announce it already */
.field__required {
  margin-left: 4px;
  color: var(--error);
}

/* Consent checkbox (not in the design; built from the form's tokens) */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 23.8px;
  letter-spacing: 0.28px;
  cursor: pointer;
}

.checkbox input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  border: 1px solid var(--black-20);
  border-radius: 4px;
  background: var(--white) no-repeat center / 12px 12px;
  appearance: none;
  cursor: pointer;
  transition: background-color var(--motion-duration) var(--motion-ease), border-color var(--motion-duration) var(--motion-ease);
}

.checkbox input:checked {
  border-color: var(--primary-60);
  background-color: var(--primary-60);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.checkbox input:focus-visible {
  outline: 2px solid var(--primary-80);
  outline-offset: 2px;
}

.checkbox.is-invalid input {
  border-color: var(--error);
}

.checkbox--consent {
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: 0.32px;
}

.checkbox--consent input {
  margin-top: 4.6px;
}

.checkbox--consent a {
  color: var(--primary-60);
  text-decoration: underline;
}

.field__input {
  width: 100%;
  height: 42px; /* + 2px border = 44px */
  padding: 0 8px 0 15px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: 0.32px;
  outline: none;
  appearance: none;
}

.field__input::placeholder {
  color: var(--neutral-30);
  opacity: 1;
}

select.field__input {
  padding-right: 36px;
  cursor: pointer;
}

select.field__input:has(option[value=""]:checked) {
  color: var(--neutral-30);
}

select.field__input option {
  color: var(--neutral-100);
}

.field__select-icon {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  pointer-events: none;
}

.field__select-icon img {
  position: absolute;
  inset: 2px;
  width: 16px;
  height: 16px;
}

.field__control--textarea {
  flex-direction: column;
  align-items: flex-end;
  padding: 7px 15px;
}

.field__textarea {
  width: 100%;
  min-height: 109.8px; /* field total 146.2px as in Figma */
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: 0.32px;
  resize: none;
  outline: none;
}

.field__textarea::placeholder {
  color: var(--neutral-30);
  opacity: 1;
}

.field__counter {
  color: var(--neutral-20);
  font-size: 12px;
  font-weight: 500;
  line-height: 20.4px;
  letter-spacing: 0.24px;
}

.form .btn--primary {
  width: 100%;
  padding-block: 11px;
  border-radius: 12px;
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 22px;
}

.form__status {
  margin-top: -24px; /* sits 16px under the button */
  font-size: 14px;
  line-height: 23.8px;
  letter-spacing: 0.28px;
  color: var(--primary-80);
}

.form__status[data-state="success"] {
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--primary-10);
  font-weight: 700;
}

.form__status[data-state="error"] {
  color: var(--error);
}

.form__recaptcha-note {
  margin-bottom: -24px; /* sits 16px above the submit button */
  color: var(--neutral-60);
  font-size: 12px;
  line-height: 20.4px;
  letter-spacing: 0.24px;
}

.form__recaptcha-note a {
  color: inherit;
  text-decoration: underline;
}

/* Google allows hiding the badge when the attribution above is shown. Use visibility,
   not display: none, which can stop reCAPTCHA from working. */
.grecaptcha-badge {
  visibility: hidden;
}

.form .btn--primary:disabled {
  opacity: 0.6;
  cursor: progress;
}

.form__status:empty {
  display: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.footer-links__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
}

.footer-links__nav a {
  color: var(--neutral-60);
  font-size: 14px;
  font-weight: 500;
  line-height: 23.8px;
  letter-spacing: 0.28px;
  transition: color 0.2s;
}

.footer-links__nav a:hover {
  color: var(--primary-80);
}

.footer-links__bottom {
  display: flex;
  align-items: flex-end;
  height: 73px;
  border-top: 1px solid var(--black-20); /* Divider: black @ 20% */
}

.footer-links__copy {
  color: var(--neutral-60);
  font-size: 12px;
  line-height: 20.4px;
  letter-spacing: 0.24px;
}

/* ==========================================================================
   Responsive — the Figma file only defines a 1440px desktop frame. Below
   that the layout scales, then stacks; these breakpoints are not designed.
   ========================================================================== */
@media (max-width: 1439px) {
  :root {
    --gutter: clamp(24px, 6.9vw, 100px);
  }

  /* keep the copy clear of the photo, which starts at 50vw + 100px */
  .hero__content {
    width: min(680px, 43vw + 88px);
  }
}

@media (max-width: 1199px) {
  /* Header collapses into a toggle menu */
  .nav-toggle {
    display: block;
  }

  .site-header__brand {
    width: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--motion-duration) var(--motion-ease), transform var(--motion-duration) var(--motion-ease),
      visibility 0s linear var(--motion-duration);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px var(--gutter) 24px;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity var(--motion-duration) var(--motion-ease), transform var(--motion-duration) var(--motion-ease),
      visibility 0s;
  }

  .site-nav__menu {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }

  .site-nav__link {
    padding-inline: 0;
    font-size: 16px;
  }

  .site-header__actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  /* Hero stacks: copy first, photo collage below */
  .hero {
    height: auto;
    background-size: 100% 100%;
  }

  .hero__content {
    width: min(680px, 100%);
  }

  .hero__title {
    font-size: clamp(40px, 3.9vw, 56px);
    line-height: 1.4;
  }

  /* the 1440×734 decoration stage is pinned to the bottom-right and scaled,
     so the photo collage sits under the copy */
  .hero__inner {
    padding-bottom: 500px;
  }

  .hero__decor {
    left: auto;
    right: 0;
    top: auto;
    bottom: 0;
    height: 734px;
    margin-left: 0;
    transform-origin: 100% 100%;
    scale: 0.75;
  }

  .hero__badge {
    display: none;
  }

  /* Two-column blocks stack */
  .problem__body,
  .features__body {
    flex-direction: column;
    align-items: stretch;
  }

  .problem__main {
    gap: 24px;
  }

  .problem__visual,
  .feature-visual {
    flex-basis: auto;
    width: min(500px, 100%);
    margin-inline: auto;
  }

  .feature-visual {
    height: auto;
  }

  .feature-visual__caption {
    position: relative;
    padding-top: 16px;
  }

  .feature-visual__caption-text {
    align-self: start;
  }

  .feature-visual__caption-note {
    font-size: 12px;
  }

  .feature-list {
    padding-left: 40px;
  }

  .card-row {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }

  .use-cases__top {
    flex-direction: column;
  }

  .use-cases__action {
    flex-basis: auto;
  }

  .case-card {
    flex-direction: column;
    gap: 32px;
  }

  /* stacked: the collage runs to the card edges and is clipped there */
  .case-card__visual {
    flex-basis: auto;
    width: calc(100% + 96px);
    margin: 0 -48px -40px;
    overflow: hidden;
  }

  .cta {
    width: min(900px, 100% - 2 * var(--gutter));
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 16px;
    --section-pad: 56px;
  }

  .section-title__heading,
  .use-cases__title,
  .cta__title {
    font-size: 30px;
    line-height: 1.4;
  }

  .section-title__lead,
  .solution__group-lead,
  .cta__topics li {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero__eyebrow {
    padding-inline: 16px;
    font-size: 14px;
    line-height: 1.6;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero__buttons .btn {
    width: 100%;
  }

  .hero__buttons {
    width: 100%;
  }

  .hero__note {
    font-size: 12px;
  }

  .hero__inner {
    padding-block: 48px 320px;
  }

  .hero__decor {
    scale: 0.5;
  }

  /* nicer Japanese wrapping where the design gives no guidance */
  .hero__title,
  .section-title__heading,
  .use-cases__title,
  .cta__title {
    word-break: auto-phrase;
    text-wrap: balance;
  }

  .use-cases__note {
    text-align: left;
  }

  .problem__body,
  .features__body,
  .solution__group,
  .use-cases__list {
    margin-top: 48px;
  }

  .accordion__title,
  .card__title,
  .case-card__title,
  .problem__conclusion {
    font-size: 20px;
    line-height: 1.6;
  }

  .accordion__trigger {
    --accordion-gap: 24px;
  }

  .problem__conclusion {
    padding: 16px 24px;
    border-radius: 24px;
  }

  .solution__group-title {
    font-size: 22px;
    line-height: 1.6;
  }

  .feature-list {
    gap: 16px;
    padding-left: 32px;
  }

  .feature-tab {
    font-size: 18px;
    line-height: 1.6;
  }

  .case-card {
    padding: 24px 20px;
  }

  .case-card__visual {
    width: calc(100% + 40px);
    margin: 0 -20px -24px;
  }

  .cta__lead {
    font-size: 16px;
    line-height: 1.7;
  }

  .cta__topics .glass-badge {
    white-space: normal;
  }

  .cta__topics li:first-child {
    width: auto;
  }

  .site-footer {
    border-top-left-radius: 120px;
    margin-top: -120px;
    padding-top: 64px;
  }

  .journey {
    padding-bottom: 176px;
  }

  .contact__title {
    font-size: 36px;
    line-height: 1.4;
  }

  .contact__lead {
    font-size: 16px;
  }

  .form__row {
    flex-direction: column;
    gap: 24px;
  }


  .footer-links {
    gap: 40px;
  }

  .footer-links__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links__nav {
    flex-direction: column;
  }

  .footer-links__bottom {
    height: 56px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
