:root {
  color-scheme: light;
  --bg: #f6f3ee;
  --surface: #fffdf9;
  --surface-soft: #f0ebe3;
  --surface-muted: #e8e1d7;
  --line: rgba(38, 43, 41, 0.12);
  --line-strong: rgba(38, 43, 41, 0.2);
  --text: #1f2523;
  --muted: #68716d;
  --muted-strong: #46504c;
  --accent: #3f756d;
  --accent-strong: #285b54;
  --accent-soft: rgba(63, 117, 109, 0.12);
  --shadow: 0 12px 28px rgba(44, 39, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-width: 320px;
  font-family: "SUIT", "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.8) 0, rgba(246, 243, 238, 0) 320px),
    var(--bg);
}

button,
a {
  font: inherit;
}

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

.page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.hero,
.panel,
.footer {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.92);
}

.hero {
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.brand-lockup {
  display: flex;
  gap: 18px;
  min-width: 0;
}

.logo-wrap {
  width: 78px;
  height: 78px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker,
.hero-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent);
}

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

h1 {
  max-width: 620px;
  margin-top: 8px;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: 0;
}

.subtitle {
  max-width: 520px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  flex: 0 0 auto;
}

.lang-btn {
  min-width: 46px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-btn.is-active {
  background: var(--accent-strong);
  color: #ffffff;
}

.hero-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-support {
  margin-top: 8px;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.55;
}

.panel {
  margin-top: 16px;
  padding: 24px;
}

.section-head {
  margin-bottom: 16px;
}

.section-head.compact {
  margin-bottom: 14px;
}

.section-head h2 {
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.section-head p:last-child {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.stack {
  display: grid;
  gap: 12px;
}

.card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.app-main {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.app-icon {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  flex: 0 0 auto;
}

.app-copy {
  min-width: 0;
}

.card h3 {
  font-size: 17px;
  line-height: 1.3;
}

.card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.btn-group,
.product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.btn,
.link-row {
  min-height: 44px;
  border-radius: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--accent-strong);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  background: var(--accent-strong);
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.btn.secondary,
.btn.subtle {
  color: var(--accent-strong);
  background: transparent;
  border-color: var(--line-strong);
}

.btn.subtle {
  color: var(--muted-strong);
}

.btn:hover,
.link-row:hover {
  transform: translateY(-1px);
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  margin-top: 16px;
}

.info-card {
  margin-top: 0;
  min-height: 100%;
  background: rgba(255, 253, 249, 0.68);
  box-shadow: none;
}

.info-copy {
  color: var(--muted);
  line-height: 1.7;
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.72);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  text-align: left;
}

.link-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.link-badge {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.link-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-copy {
  min-width: 0;
}

.link-title {
  font-size: 15px;
  font-weight: 800;
}

.link-description {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.link-arrow {
  color: var(--accent);
  flex: 0 0 auto;
}

.feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted-strong);
  line-height: 1.55;
}

.footer {
  margin-top: 16px;
  padding: 14px 18px;
  color: var(--muted);
  background: transparent;
}

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

@media (max-width: 720px) {
  .page {
    width: min(100% - 24px, 960px);
    padding-top: 12px;
  }

  .hero,
  .panel {
    padding: 18px;
  }

  .hero-top,
  .card,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero-top {
    flex-direction: column;
  }

  .brand-lockup {
    gap: 14px;
  }

  .logo-wrap {
    width: 66px;
    height: 66px;
  }

  .logo {
    width: 48px;
    height: 48px;
  }

  h1 {
    font-size: 32px;
  }

  .btn-group,
  .product-actions {
    justify-content: flex-start;
  }

  .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 460px) {
  .brand-lockup,
  .app-main {
    align-items: flex-start;
  }

  .brand-lockup {
    flex-direction: column;
  }

  .language-switch {
    width: 100%;
  }

  .lang-btn {
    flex: 1;
  }

  .btn-group,
  .product-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
