:root {
  --bg: #faf7f2;
  --bg-soft: #f4efe8;
  --paper: #fffdfc;
  --text: #5c5149;
  --text-strong: #40372f;
  --muted: #786c63;
  --line: #e8e0d7;
  --green: #74cac3;
  --green-dark: #167763;
  --green-hover: #105f50;
  --green-soft: #e1f4f1;
  --beige: #f1e4d3;
  --shadow: 0 20px 48px rgba(74, 60, 46, .1);
  --shadow-soft: 0 10px 26px rgba(74, 60, 46, .065);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: ui-rounded, "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--green-dark);
  transform: translateY(-180%);
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 242, .94);
  border-bottom: 1px solid rgba(232, 224, 215, .9);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-strong);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .04em;
}

.brand-icon {
  width: 44px;
  height: 44px;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 12px;
}

.brand-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-links > a:not(.nav-cta) { padding: 12px 0; }
.nav-links > a:not(.nav-cta):hover { color: var(--text-strong); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 999px;
  color: #fff;
  background: var(--green-dark);
  box-shadow: var(--shadow-soft);
}

.nav-links .nav-cta:hover { color: #fff; background: var(--green-hover); }

.lang-banner {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.lang-banner.show { display: block; }

.lang-banner-inner {
  min-height: 60px;
  padding-block: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lang-banner-copy { color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.6; }
.lang-banner-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.lang-link,
.lang-dismiss {
  min-height: 42px;
  padding-inline: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.lang-link { color: #fff; background: var(--green-dark); }
.lang-dismiss { color: var(--text-strong); background: var(--paper); border: 1px solid var(--line); cursor: pointer; }

main { display: block; }
section { padding: 96px 0; }

section[id],
#top { scroll-margin-top: 92px; }

.hero { overflow: hidden; padding: 78px 0 82px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
  gap: 44px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  color: var(--green-dark);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  box-shadow: var(--shadow-soft);
}

.badge-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-dark);
  box-shadow: 0 0 0 5px var(--green-soft);
}

h1,
h2,
h3 { color: var(--text-strong); }

h1 {
  margin: 24px 0 20px;
  font-size: clamp(48px, 5.25vw, 64px);
  line-height: 1.12;
  letter-spacing: .01em;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.22;
  letter-spacing: .015em;
}

.lead {
  max-width: 590px;
  margin: 0;
  color: var(--text);
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 650;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button,
.join-button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 900;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

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

.button-primary,
.join-button {
  color: #fff;
  background: var(--green-dark);
  box-shadow: 0 14px 30px rgba(22, 119, 99, .2);
}

.button-primary:hover,
.join-button:hover { background: var(--green-hover); }

.button-secondary { color: var(--text-strong); background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-soft); }

.hero-note {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.mini-pill {
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 252, .75);
}

.hero-visual { position: relative; min-height: 605px; }
.phone-stage { position: absolute; inset: 0; }

.phone {
  position: absolute;
  width: 248px;
  height: 502px;
  overflow: hidden;
  border: 1px solid rgba(92, 81, 73, .12);
  border-radius: 36px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.phone-main { top: 6px; left: 50%; z-index: 3; width: 272px; height: 550px; transform: translateX(-50%) rotate(.5deg); }
.phone-left { top: 54px; left: 0; z-index: 2; opacity: .94; transform: rotate(-4deg) scale(.88); }
.phone-right { top: 60px; right: 0; z-index: 2; opacity: .94; transform: rotate(4deg) scale(.9); }
.phone-content { height: 100%; padding: 17px; }
.shot-image { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; border-radius: 27px; }

.hero-image-note {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  max-width: 430px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .11em;
}

.section-head { margin-bottom: 44px; text-align: center; }
.section-desc { max-width: 700px; margin: 17px auto 0; color: var(--muted); font-weight: 650; line-height: 1.85; }

.news-section { padding: 54px 0 76px; }
.news-layout { display: grid; grid-template-columns: minmax(180px, 24%) minmax(0, 1fr); gap: 40px; align-items: start; }
.news-heading { padding-top: 22px; }

.news-list {
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.news-row {
  min-height: 98px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  transition: background-color .2s ease;
}

.news-list li + li { border-top: 1px solid var(--line); }
.news-row[href]:hover { background: var(--bg-soft); }
.news-row-static { grid-template-columns: 196px minmax(0, 1fr); }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.news-date { color: var(--muted); font-size: 13px; font-weight: 750; }
.new-label { padding: 5px 8px; color: var(--green-dark); background: var(--green-soft); border-radius: 999px; font-size: 10px; font-weight: 950; letter-spacing: .08em; }
.news-title { color: var(--text-strong); font-size: 16px; font-weight: 850; line-height: 1.6; }
.news-arrow { color: var(--green-dark); font-size: 14px; font-weight: 850; }

.features-section { background: var(--bg-soft); border-block: 1px solid var(--line); }
.value-stories { display: grid; gap: 30px; }

.value-story {
  min-height: 0;
  padding: 38px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr);
  gap: 44px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.value-story-reverse .value-copy { order: 2; }
.value-story-reverse .value-image { order: 1; }
.value-number { display: block; margin-bottom: 16px; color: var(--green-dark); font-size: 13px; font-weight: 950; letter-spacing: .12em; }
.value-copy h3 { margin: 0 0 16px; font-size: clamp(28px, 3vw, 38px); line-height: 1.3; }
.value-copy p { margin: 0; color: var(--muted); font-size: 16px; font-weight: 650; line-height: 1.9; }

.value-image {
  width: min(100%, 220px);
  justify-self: center;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.value-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.feature-chips {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
}

.feature-chips li { padding: 10px 15px; color: var(--text); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 800; }

.join-number {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-weight: 950;
}

.download-section { background: var(--bg); border-block: 1px solid var(--line); }
.download-section .container { width: min(1240px, calc(100% - 40px)); }
.download-heading { margin-bottom: 42px; }
.download-heading h2 { font-size: clamp(38px, 4.4vw, 54px); }
.download-heading .section-desc { margin-left: 0; }

.beta-guide {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.platform-row {
  min-height: 210px;
  padding: 34px 36px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) 190px;
  gap: 20px;
  align-items: center;
}

.platform-row + .platform-row { border-top: 1px solid var(--line); }
.platform-name h3 { margin: 0; font-size: 20px; line-height: 1.4; white-space: nowrap; }
.platform-requirement { margin: 8px 0 0; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.55; }

.join-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.join-steps li { min-width: 0; display: flex; align-items: center; gap: 8px; color: var(--text-strong); font-size: 13.5px; font-weight: 750; line-height: 1.55; }
.join-number { width: 36px; height: 36px; font-size: 15px; }
.join-action { display: flex; align-items: center; justify-content: flex-end; }
.join-button { width: 100%; padding-inline: 16px; text-align: center; }
.join-status { width: 100%; margin: 0; padding: 14px 12px; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; font-size: 13px; font-weight: 850; line-height: 1.45; text-align: center; }

.beta-notes { padding: 22px 34px; background: #f8f3ec; border-top: 1px solid var(--line); }
.beta-notes p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 650; line-height: 1.75; }
.beta-notes p + p { margin-top: 4px; }
.faq { max-width: 850px; margin: 0 auto; display: grid; gap: 12px; }

details {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 7px 18px rgba(74, 60, 46, .045);
}

summary { padding: 20px 22px; color: var(--text-strong); cursor: pointer; font-weight: 900; line-height: 1.55; }
details p { margin: 0; padding: 0 22px 22px; color: var(--muted); font-weight: 650; line-height: 1.85; }

.final-cta { padding: 92px 0; }

.cta-panel {
  padding: 58px 34px;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 40px;
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-panel h2 { margin-bottom: 18px; }
.cta-panel > p:not(.eyebrow) { max-width: 680px; margin: 0 auto 28px; color: var(--muted); font-weight: 650; line-height: 1.9; }

.footer { padding: 32px 0 44px; color: var(--muted); font-size: 13px; font-weight: 700; }
.footer-inner { padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 18px; }
.footer-links a:hover { color: var(--text-strong); text-decoration: underline; text-underline-offset: 3px; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions,
  .hero-note { justify-content: center; }
  .hero-visual { min-height: 620px; }

  .news-layout { grid-template-columns: 1fr; gap: 20px; }
  .news-heading { padding-top: 0; }

  .value-story { padding: 34px 40px; grid-template-columns: minmax(0, 1fr) minmax(210px, .55fr); gap: 34px; }

  .platform-row { grid-template-columns: 240px minmax(0, 1fr); gap: 24px 30px; }
  .platform-name h3 { white-space: normal; }
  .join-action { grid-column: 2; justify-content: flex-start; }
  .join-button,
  .join-status { width: min(100%, 250px); }
}

@media (max-width: 720px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav { min-height: 68px; }
  .brand { font-size: 18px; }
  .brand-icon { width: 40px; height: 40px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { min-height: 44px; padding-inline: 14px; font-size: 13px; }

  .lang-banner-inner { align-items: stretch; flex-direction: column; }
  .lang-banner-actions { width: 100%; }
  .lang-link,
  .lang-dismiss { flex: 1; }

  section { padding: 68px 0; }
  .hero { padding: 48px 0 52px; }
  .hero-copy { text-align: left; }
  h1 { font-size: clamp(39px, 12.2vw, 46px); line-height: 1.16; }
  h2 { font-size: clamp(30px, 9vw, 36px); }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-note { justify-content: flex-start; }
  .hero-visual { min-height: 550px; margin-top: 10px; }
  .phone-main { top: 6px; width: 238px; height: 482px; }
  .phone-left { top: 70px; left: -58px; transform: rotate(-5deg) scale(.69); opacity: .62; }
  .phone-right { top: 76px; right: -58px; transform: rotate(5deg) scale(.7); opacity: .62; }
  .phone-content { padding: 15px; }

  .news-section { padding: 44px 0 60px; }
  .news-row { min-height: 112px; padding: 20px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  .news-meta { grid-column: 1; }
  .news-title { grid-column: 1; }
  .news-arrow { grid-column: 2; grid-row: 1 / 3; }
  .news-row-static { grid-template-columns: minmax(0, 1fr); }

  .section-head { margin-bottom: 34px; text-align: left; }
  .section-desc { margin-left: 0; }

  .value-stories { gap: 18px; }
  .value-story { min-height: 0; padding: 28px 22px; grid-template-columns: 1fr; gap: 28px; }
  .value-story-reverse .value-copy,
  .value-story-reverse .value-image { order: initial; }
  .value-image { width: min(100%, 190px); }
  .value-copy h3 { font-size: 28px; }
  .feature-chips { justify-content: flex-start; }

  .download-heading { margin-bottom: 28px; }
  .download-section .container { width: min(100% - 28px, 1240px); }
  .platform-row { padding: 28px 20px; grid-template-columns: 1fr; gap: 24px; }
  .join-steps { grid-template-columns: 1fr; gap: 12px; }
  .join-steps li { min-height: 42px; }
  .join-action { grid-column: 1; }
  .join-button,
  .join-status { width: 100%; min-height: 50px; }
  .beta-notes { padding: 20px; }

  summary { padding: 18px; }
  details p { padding: 0 18px 20px; }
  .cta-panel { padding: 46px 22px; border-radius: 30px; }
  .cta-panel .button { width: 100%; }

  .footer-inner { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 380px) {
  .nav-cta { padding-inline: 12px; }
  .hero-visual { min-height: 520px; }
  .phone-main { width: 224px; height: 454px; }
  .phone-left { left: -72px; }
  .phone-right { right: -72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
