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

/* 英語ページは日本語版のゴシックに近いトーンの Figtree を使う（日本語表記のフォールバックは維持） */
html[lang="en"] {
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.lang-menu {
  position: relative;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.lang-menu-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.lang-menu-toggle:hover {
  color: var(--text);
  background: var(--primary-soft);
}

.lang-menu-toggle:focus-visible {
  outline: 3px solid rgba(245, 214, 61, 0.8);
  outline-offset: 1px;
}

.lang-menu-globe {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}

.lang-menu-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-left: auto;
  fill: currentColor;
  transition: transform 180ms ease;
}

.lang-menu.is-open .lang-menu-chevron {
  transform: rotate(180deg);
}

.lang-menu-list {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-menu.is-open .lang-menu-list {
  display: block;
}

.lang-menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 10px 38px;
}

.lang-menu-list a[aria-current="true"]::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

.section {
  padding-block: 72px;
}

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

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

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

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

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 8.6vw, 4.9rem);
  font-weight: 900;
}

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

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

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

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

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

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

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

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

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

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

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

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

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

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

.solution {
  scroll-margin-top: 72px;
}

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

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

.problem-grid article:hover,
.feature-card:hover,
.flow-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 174, 155, 0.38);
  box-shadow: 0 22px 54px rgba(33, 33, 33, 0.1);
}

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

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

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

.problem-head h3 {
  margin: 0;
}

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

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

.feature-card {
  padding: 24px;
}

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

.feature-head h3 {
  margin: 0;
}

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

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

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

.value-grid article {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 28px;
  backdrop-filter: blur(2px);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.value-grid article::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.value-grid article::after {
  position: absolute;
  right: 20px;
  bottom: 10px;
  content: attr(data-value);
  color: rgba(74, 174, 155, 0.1);
  font-size: clamp(4rem, 14vw, 7.2rem);
  font-weight: 900;
  line-height: 1;
}

.value-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 174, 155, 0.38);
  box-shadow: 0 22px 54px rgba(33, 33, 33, 0.1);
}

.value-grid h3 {
  position: relative;
  z-index: 1;
  max-width: 18rem;
  margin-bottom: 14px;
  padding-top: 22px;
  font-size: 1.14rem;
}

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

.value-grid p {
  position: relative;
  z-index: 1;
  max-width: 26rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

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

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

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

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

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

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

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

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

.store-button {
  display: inline-flex;
  min-width: 158px;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 9px 13px;
  border-radius: 14px;
  color: #ffffff;
  background: #111111;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
  user-select: none;
}

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

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

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

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

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

.store-button-disabled {
  cursor: not-allowed;
  color: rgba(33, 33, 33, 0.56);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(33, 33, 33, 0.12);
  box-shadow: none;
}

.store-button-disabled:hover {
  transform: none;
  box-shadow: none;
}

.site-footer {
  display: grid;
  gap: 28px;
  padding-block: 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 750;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 900;
}

.footer-description {
  max-width: 18rem;
  color: var(--muted);
}

.footer-copyright {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-column h2 {
  margin: 0 0 2px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.footer-column a {
  width: fit-content;
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: var(--text);
}

.legal-main {
  width: min(960px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 72px;
}

.legal-hero {
  margin-bottom: 42px;
  text-align: center;
}

.legal-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.5rem, 9vw, 4.4rem);
}

.legal-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.legal-content {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(224, 224, 224, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

.legal-content h2 {
  margin: 2.4rem 0 0.9rem;
  font-size: clamp(1.24rem, 4vw, 1.62rem);
  letter-spacing: 0;
  line-height: 1.45;
}

.legal-content h3 {
  margin: 1.6rem 0 0.45rem;
  font-size: 1.05rem;
}

.legal-content p,
.legal-content li {
  color: var(--text);
}

.legal-content p {
  margin-bottom: 1.05rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1.2rem;
  padding-left: 1.35rem;
}

.legal-content li + li {
  margin-top: 0.55rem;
}

.legal-content a {
  color: #187a6f;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(74, 174, 155, 0.34);
  text-underline-offset: 0.18em;
}

.legal-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0;
}

.legal-content code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--secondary-soft);
}

.about-main {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 72px;
}

.about-hero {
  margin-bottom: 56px;
  text-align: center;
}

.about-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 11vw, 5.2rem);
}

.about-hero .lead {
  margin-inline: auto;
}

.about-content {
  display: grid;
  gap: 28px;
}

.about-block {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(224, 224, 224, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

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

.about-block h2 {
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 6vw, 2.6rem);
  letter-spacing: -0.04em;
}

.about-block p {
  margin-bottom: 1.1rem;
  color: var(--text);
  text-wrap: pretty;
}

.about-block p:last-child {
  margin-bottom: 0;
}

.about-chain {
  display: grid;
  gap: 10px;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  counter-reset: chain;
}

.about-chain li {
  position: relative;
  padding: 16px 18px 16px 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-warm);
  color: var(--text);
  font-weight: 700;
  counter-increment: chain;
}

.about-chain li::before {
  position: absolute;
  top: 50%;
  left: 16px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  content: counter(chain);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
  background: var(--primary);
  transform: translateY(-50%);
}

.about-challenges {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: challenge;
}

.about-challenges li {
  position: relative;
  padding: 22px 22px 22px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 44px rgba(33, 33, 33, 0.06);
  counter-increment: challenge;
}

.about-challenges li::before {
  position: absolute;
  top: 22px;
  left: 22px;
  content: counter(challenge);
  color: var(--secondary);
  font-size: 1.3rem;
  font-weight: 900;
}

.about-challenges h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.about-challenges p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.about-steps {
  display: grid;
  gap: 14px;
  margin-top: 1.6rem;
}

.about-steps div {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--secondary-soft);
}

.about-steps span {
  display: block;
  margin-bottom: 6px;
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-steps p {
  margin-bottom: 0;
  color: var(--text);
  font-weight: 700;
}

.plans-main {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 72px;
}

.plans-hero {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.plans-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 11vw, 5.2rem);
}

.plans-hero .lead {
  margin-inline: auto;
}

.plan-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.plan-card,
.plan-compare,
.plan-notes,
.plan-cta {
  border: 1px solid rgba(224, 224, 224, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 5vw, 42px);
  box-shadow: 0 14px 44px rgba(33, 33, 33, 0.06);
}

.plan-card-featured {
  border-color: rgba(74, 174, 155, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 243, 179, 0.54), rgba(234, 246, 242, 0.74)),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.plan-badge {
  width: fit-content;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--primary);
}

.plan-card-head {
  margin-bottom: 22px;
}

.plan-card h2,
.plan-compare h2,
.plan-notes h2,
.plan-cta h2 {
  letter-spacing: -0.04em;
}

.plan-card h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 8vw, 3.5rem);
}

.plan-tagline {
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 800;
}

.plan-price {
  display: grid;
  gap: 4px;
  margin-bottom: 0;
}

.plan-price strong {
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.plan-price span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.plan-features {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-weight: 700;
}

.plan-features li::before {
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 20px;
  height: 20px;
  content: "";
  border-radius: 999px;
  background: var(--primary);
}

.plan-features li::after {
  position: absolute;
  top: calc(0.35em + 3px);
  left: 6px;
  width: 5px;
  height: 9px;
  content: "";
  border-right: 3px solid var(--text);
  border-bottom: 3px solid var(--text);
  transform: rotate(45deg);
}

.plan-card .button {
  width: 100%;
  margin-top: auto;
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(33, 33, 33, 0.14);
  box-shadow: 0 14px 30px rgba(33, 33, 33, 0.08);
}

.button-ghost:hover {
  background: var(--primary-soft);
}

.plan-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.plan-compare,
.plan-notes,
.plan-cta {
  margin-top: 28px;
  padding: clamp(28px, 5vw, 48px);
}

.plan-compare h2,
.plan-notes h2,
.plan-cta h2 {
  margin-bottom: 20px;
  font-size: clamp(1.6rem, 6vw, 2.6rem);
}

.plan-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.plan-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.plan-table th,
.plan-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.plan-table thead th {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper-warm);
}

.plan-table tbody th {
  width: 44%;
  font-weight: 900;
}

.plan-table td {
  color: var(--muted);
  font-weight: 750;
}

.plan-table tr:last-child th,
.plan-table tr:last-child td {
  border-bottom: 0;
}

.plan-faq {
  display: grid;
  gap: 14px;
  margin: 0;
}

.plan-faq div {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
}

.plan-faq dt {
  margin-bottom: 6px;
  font-weight: 900;
}

.plan-faq dd {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.plan-legal {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.plan-legal a {
  color: #187a6f;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(74, 174, 155, 0.34);
  text-underline-offset: 0.18em;
}

.plan-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 243, 179, 0.64), rgba(234, 246, 242, 0.72)),
    rgba(255, 255, 255, 0.88);
}

.plan-cta p:not(.eyebrow) {
  max-width: 32rem;
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 750;
}

.plan-cta .hero-actions {
  justify-content: center;
  margin-top: 0;
}

.app-store-button {
  display: inline-flex;
  min-width: 172px;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 14px;
  color: #ffffff;
  background: #111111;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.28);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
  user-select: none;
}

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

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

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

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

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

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

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

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

  .site-footer {
    grid-template-columns: minmax(260px, 1.35fr) repeat(2, minmax(150px, 0.55fr));
    align-items: start;
  }

  .legal-main {
    max-width: 960px;
  }

  .about-main {
    width: min(820px, calc(100% - 64px));
  }

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

  .plans-main {
    width: min(1080px, calc(100% - 64px));
  }

  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

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

  .hero-actions {
    justify-content: flex-start;
  }

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

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

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

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

  .values {
    padding: 64px 28px;
  }

}

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

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

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

  .lang-menu {
    margin-top: 0;
    margin-left: 4px;
    padding: 0 0 0 12px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .lang-menu-toggle {
    width: auto;
    padding: 10px 12px;
    border-radius: 999px;
  }

  .lang-menu-list {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 160px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(33, 33, 33, 0.12);
    backdrop-filter: blur(14px);
  }

  .lang-menu-list a {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .feature-card {
    padding: 30px;
  }

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

}

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

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

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

  .feature-head {
    gap: 10px;
  }

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

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

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

  .store-button {
    min-width: 154px;
    gap: 10px;
    padding-inline: 11px;
  }

  .quote {
    padding: 24px;
  }

  .site-footer {
    padding-block: 34px;
  }

  .legal-main {
    padding-block: 54px;
  }

  .legal-content {
    padding: 24px;
    border-radius: var(--radius-md);
  }

  .about-main {
    width: min(100% - 28px, 1120px);
    padding-block: 54px;
  }

  .about-block {
    padding: 24px;
    border-radius: var(--radius-md);
  }

  .about-challenges li {
    padding: 20px 18px 20px 52px;
  }

  .about-challenges li::before {
    top: 18px;
    left: 18px;
  }
}

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

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

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