:root {
  --ink: #001f26;
  --ink-soft: #3c4a42;
  --teal: #006c49;
  --mint: #10b981;
  --gold: #fea619;
  --ice: #f0fbff;
  --foam: #e8fff6;
  --paper: #ffffff;
  --line: rgba(0, 31, 38, 0.08);
  --shadow: 0 28px 60px rgba(0, 31, 38, 0.16);
  --radius: 28px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #d8ffe9 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #d6f4ff 0%, transparent 50%),
    var(--ice);
  font-family: "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans JP", "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(240, 251, 255, 0.78);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--teal); }
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(100%, 420px);
  row-gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 6px 8px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  border: 0;
  cursor: pointer;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 108, 73, 0.28);
}
.btn-primary[aria-disabled="true"] {
  cursor: default;
  opacity: 0.88;
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero {
  padding: 56px 0 24px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.18; margin: 0; }
h1 { font-size: clamp(36px, 5vw, 58px); margin: 12px 0 16px; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 38em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.hint { font-size: 13px; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.chips li {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
}

.hero-visual { display: flex; justify-content: center; }
.hero-visual .phone { transform: rotate(-6deg); }

.phone {
  width: min(290px, 72vw);
  filter: drop-shadow(var(--shadow));
}
.phone-shell {
  position: relative;
  padding: 11px;
  background: linear-gradient(160deg, #2a2a2a, #111);
  border-radius: 42px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.phone-shell::before,
.phone-shell::after {
  content: "";
  position: absolute;
  right: -3px;
  width: 3px;
  background: #1a1a1a;
  border-radius: 2px;
}
.phone-shell::before { top: 92px; height: 52px; }
.phone-shell::after { top: 156px; height: 78px; }
.phone-shell img {
  width: 100%;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  border-radius: 32px;
  background: #e8f4f2;
}

.section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--ink-soft); margin: 12px 0 0; }

.point-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-soft); }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 28px 0;
}
.feature:nth-child(even) { direction: rtl; }
.feature:nth-child(even) > * { direction: ltr; }
.feature-copy .kicker { margin-bottom: 10px; }
.feature-copy h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.feature-copy p { margin: 0; color: var(--ink-soft); font-size: 17px; }

.download {
  background: linear-gradient(135deg, var(--teal), #0b8a5c);
  color: #fff;
  border-radius: 36px;
  padding: 48px 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.download p { color: rgba(255, 255, 255, 0.86); max-width: 42em; }
.download .btn-primary {
  background: #fff;
  color: var(--teal);
  box-shadow: none;
  white-space: nowrap;
}

.site-footer {
  padding: 28px 0 48px;
  color: var(--ink-soft);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; font-weight: 650; }
.footer-links a:hover { color: var(--teal); }

.legal-wrap { width: min(760px, calc(100% - 40px)); margin: 28px auto 64px; }
.legal-doc {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 36px 48px;
}
.legal-doc h1 { font-size: 32px; margin: 0 0 10px; }
.legal-doc h2 { font-size: 20px; margin: 28px 0 10px; }
.legal-doc p { color: var(--ink-soft); margin: 0 0 12px; }
.legal-doc ul { margin: 0 0 16px; padding-left: 1.2em; color: var(--ink-soft); }
.legal-doc li { margin: 0 0 6px; }
.legal-doc a { color: var(--teal); font-weight: 650; }
.legal-meta { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
@media (max-width: 860px) {
  .legal-doc { padding: 24px 20px 36px; }
}

@media (max-width: 860px) {
  .nav-links,
  .header-actions .btn { display: none; }
  .hero-grid,
  .feature,
  .point-grid,
  .why-grid { grid-template-columns: 1fr; }
  .feature:nth-child(even) { direction: ltr; }
  .hero { padding-top: 28px; }
  .hero-visual .phone { transform: none; }
  .download { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .lang-switch button { padding: 6px 8px; font-size: 11px; }
}
