/* ==========================================================================
   Bottio ― Shared Stylesheet
   ========================================================================== */

:root {
  --ink: #101627;
  --ink-soft: #2c3549;
  --muted: #667085;
  --muted-soft: #8a93a6;
  --line: #e7ebf5;
  --line-soft: #eef1f8;
  --bg: #f7f8fd;
  --surface: #ffffff;

  --teal: #14c7b4;
  --cyan: #2bb4e0;
  --blue: #3f7cf6;
  --violet: #8a5cf6;
  --purple: #a54ce8;

  --brand-gradient: linear-gradient(100deg, var(--teal) 0%, var(--cyan) 30%, var(--blue) 62%, var(--violet) 88%, var(--purple) 100%);
  --brand-gradient-soft: linear-gradient(100deg, rgba(20, 199, 180, 0.14) 0%, rgba(63, 124, 246, 0.14) 55%, rgba(165, 76, 232, 0.14) 100%);
  --brand-wash: radial-gradient(circle at 12% 8%, rgba(20, 199, 180, 0.16), transparent 32%),
    radial-gradient(circle at 88% 4%, rgba(165, 76, 232, 0.14), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(63, 124, 246, 0.10), transparent 40%);

  --shadow-sm: 0 2px 10px rgba(16, 22, 39, 0.05);
  --shadow-md: 0 14px 34px rgba(23, 43, 99, 0.09);
  --shadow-lg: 0 26px 60px rgba(23, 43, 99, 0.14);
  --shadow-glow: 0 18px 44px rgba(63, 124, 246, 0.22);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  color: var(--ink);
  background: var(--brand-wash), var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

svg {
  display: block;
}

ul {
  margin: 0;
  padding: 0;
}

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

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 60px 0;
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }
  .section {
    padding: 56px 0;
  }
  .section-tight {
    padding: 42px 0;
  }
}

/* ------------------------------ Utilities ------------------------------ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
  max-width: 720px;
}

.section-title {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.32;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.grad-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------- Buttons ------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn-primary {
  color: #fff;
  background: var(--brand-gradient);
  background-size: 160% 100%;
  background-position: 0% 0%;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 0%;
  box-shadow: 0 22px 50px rgba(63, 124, 246, 0.3);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: #cfd8ee;
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  padding: 10px 18px;
  min-height: 42px;
  font-size: 14px;
  background: rgba(63, 124, 246, 0.08);
  color: var(--blue);
}

.btn-ghost:hover {
  background: rgba(63, 124, 246, 0.14);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

/* --------------------------------- Nav ---------------------------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 253, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(231, 235, 245, 0.9);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

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

.nav-brand img {
  height: 30px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 6px 2px;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-actions .btn-secondary {
    display: none;
  }
}

/* -------------------------------- Hero ----------------------------------- */

.hero {
  padding: 64px 0 40px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.hero-badge .dot-chip {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--brand-gradient);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
}

.hero-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.28;
  letter-spacing: -0.04em;
  font-weight: 850;
  text-wrap: balance;
}

.hero-sub {
  margin: 20px 0 0;
  max-width: 560px;
  font-size: clamp(15.5px, 1.6vw, 18px);
  color: var(--muted);
  font-weight: 500;
  text-wrap: balance;
}

.cta-row {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-proof .stat b {
  display: block;
  font-size: 24px;
  letter-spacing: -0.03em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-proof .stat span {
  font-size: 12.5px;
  color: var(--muted-soft);
  font-weight: 700;
}

/* Hero chat mockup */

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40px -10px auto auto;
  width: 260px;
  height: 260px;
  background: var(--brand-gradient);
  filter: blur(64px);
  opacity: 0.35;
  z-index: 0;
  border-radius: 50%;
}

.phone-shot {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0 auto;
  padding: 4px;
  border-radius: 36px;
  background: var(--brand-gradient);
  box-shadow: var(--shadow-lg);
}

.phone-shot-inner {
  background: #0d1424;
  border-radius: 32px;
  overflow: hidden;
  border: 5px solid #0d1424;
}

.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.float-chip {
  position: absolute;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 800;
  border: 1px solid var(--line-soft);
}

.float-chip.chip-a {
  top: -7%;
  left: -6%;
}

.float-chip.chip-b {
  bottom: -6%;
  right: -6%;
}

.float-chip .icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: 0 0 auto;
}

.float-chip.chip-a .icon {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.float-chip.chip-b .icon {
  background: linear-gradient(135deg, var(--violet), var(--purple));
}

.float-chip .icon svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }
  .float-chip.chip-a {
    left: 0;
  }
  .float-chip.chip-b {
    right: 0;
  }
}

@media (max-width: 480px) {
  .float-chip {
    display: none;
  }
  .hero-visual::before {
    display: none;
  }
}

/* ------------------------------- Surfaces -------------------------------- */

.surface {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}

.surface-pad {
  padding: clamp(28px, 4.5vw, 48px);
}

/* -------------------------------- Grids ----------------------------------- */

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------ Feature card ------------------------------ */

.feature-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #dbe3f5;
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  flex: 0 0 auto;
  background: var(--brand-gradient);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.feature-card.tone-1 .icon-badge {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}
.feature-card.tone-2 .icon-badge {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}
.feature-card.tone-3 .icon-badge {
  background: linear-gradient(135deg, var(--blue), var(--violet));
}
.feature-card.tone-4 .icon-badge {
  background: linear-gradient(135deg, var(--violet), var(--purple));
}

.card-title {
  margin: 0 0 8px;
  font-size: 17.5px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.card-text {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.03em;
  background: rgba(63, 124, 246, 0.1);
  color: var(--blue);
  white-space: nowrap;
}

.speed-card .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

/* ------------------------------ Two column ------------------------------- */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 40px;
  align-items: center;
}

.two-col.reverse {
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
}

@media (max-width: 960px) {
  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
  }
}

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

.mini-card {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 18px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: var(--shadow-sm);
}

.mini-card .icon-badge {
  width: 44px;
  height: 44px;
  margin: 0;
}
.mini-card h4 {
  margin: 0 0 4px;
  font-size: 16.5px;
  font-weight: 800;
}
.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* -------------------------------- Flow shot -------------------------------- */

.flow-shot {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.flow-shot::before {
  content: "";
  display: block;
  height: 7px;
  background: var(--brand-gradient);
}

.flow-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* -------------------------------- Pricing --------------------------------- */

.price-top {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 26px;
}

.pill,
.price-top-note {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 18px;
}

.pill {
  padding: 18px 20px;
  background: var(--brand-gradient-soft);
  font-weight: 850;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--ink);
}

.price-top-note {
  border: 1px solid var(--line-soft);
  padding: 16px 18px;
  background: #fff;
  font-weight: 700;
  color: var(--ink-soft);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.plan {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.plan-head {
  padding: 34px 26px 26px;
  text-align: center;
  position: relative;
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 220px;
}

.plan-light .plan-head {
  background: linear-gradient(180deg, #eef4ff, #e4edff);
  color: var(--ink);
}
.plan-strong .plan-head {
  background: linear-gradient(160deg, var(--blue), var(--violet) 120%);
  color: #fff;
}

.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(180deg, #ffdf7a, #ffbc2f);
  color: #7a4a00;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(250, 178, 43, 0.32);
  white-space: nowrap;
}

.plan-name {
  margin: 0;
  font-size: clamp(21px, 2.6vw, 25px);
  line-height: 1.3;
  font-weight: 800;
}
.plan-price {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 850;
}
.plan-price small {
  font-size: 15px;
  font-weight: 750;
}
.price-note-sub {
  font-size: 12px;
  opacity: 0.92;
  font-weight: 750;
}

.plan-label {
  justify-self: center;
  display: inline-flex;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
  font-weight: 750;
}

.plan-strong .plan-label {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.plan-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plan-list {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: grid;
  gap: 13px;
}

.plan-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-weight: 650;
  font-size: 14.5px;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--brand-gradient);
}

.plan-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 6.5px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.trust-row {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 750;
}

.trust-item {
  min-width: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.trust-item .dot {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand-gradient-soft);
  color: var(--blue);
  flex: 0 0 auto;
  font-weight: 900;
}

@media (max-width: 960px) {
  .pricing,
  .trust-row,
  .price-top {
    grid-template-columns: 1fr;
  }
  .trust-item {
    justify-content: flex-start;
    text-align: left;
  }
}

/* --------------------------------- CTA panel -------------------------------- */

.cta-panel {
  text-align: center;
  padding: clamp(34px, 5vw, 56px) 24px;
  background: linear-gradient(180deg, #ffffff, #f8faff);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 340px;
  height: 340px;
  background: var(--brand-gradient);
  opacity: 0.14;
  filter: blur(60px);
  border-radius: 50%;
}

.cta-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  text-wrap: balance;
  font-weight: 850;
  position: relative;
}

.cta-panel > p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--muted);
  position: relative;
}

/* -------------------------------- Contact form ------------------------------ */

.contact-form {
  margin-top: 34px;
  text-align: left;
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 750;
  font-size: 14px;
  color: var(--ink);
}

.form-field label span {
  color: #e74c6c;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(63, 124, 246, 0.12);
}

.form-field textarea {
  resize: vertical;
}

.contact-form button {
  display: block;
  margin: 24px auto 0;
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* --------------------------------- Footer ------------------------------------ */

.site-footer {
  padding: 52px 0 30px;
  background: #0d1424;
  color: #fff;
  margin-top: 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 30px;
  margin-bottom: 14px;
}

.footer-brand p {
  margin: 0;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  line-height: 1.8;
}

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

.footer-col h5 {
  margin: 0 0 14px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 800;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.footer-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 199, 180, 0.18);
}

/* Simple footer variant used on legal pages */
.site-footer.simple {
  text-align: center;
  padding: 40px 0;
}
.site-footer.simple .footer-logo img {
  height: 28px;
  margin: 0 auto 18px;
}
.site-footer.simple .footer-links {
  justify-content: center;
  gap: 26px;
  margin-bottom: 16px;
}
.site-footer.simple .footer-col a {
  margin: 0;
}

@media (max-width: 640px) {
  .footer-top {
    flex-direction: column;
  }
  .footer-links {
    gap: 28px;
  }
}

/* ==========================================================================
   Legal pages (company / privacy / terms)
   ========================================================================== */

.legal-hero {
  padding: 56px 0 40px;
  background: linear-gradient(160deg, rgba(20, 199, 180, 0.85) 0%, rgba(63, 124, 246, 0.85) 52%, rgba(165, 76, 232, 0.88) 100%);
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.15;
}

.legal-hero-inner {
  position: relative;
  text-align: center;
}

.legal-kicker {
  display: inline-flex;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.legal-title {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #fff;
  font-weight: 850;
}

.legal-lead {
  margin: 14px auto 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

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

.legal-nav a {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 14px;
  font-weight: 750;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.legal-nav a:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.legal-nav a.primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.legal-main {
  padding: 56px 0 80px;
}

.legal-surface {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 5vw, 52px);
}

.legal-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
}

.article {
  padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
}

.article:first-of-type {
  padding-top: 0;
}

.article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.article h2 {
  margin: 0 0 14px;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  font-weight: 800;
}

.article p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

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

.article .list-line {
  position: relative;
  padding-left: 1.25em;
  color: var(--ink-soft);
}

.article .list-line::before {
  content: "";
  position: absolute;
  left: 0.25em;
  top: 0.86em;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue);
}

@media (max-width: 760px) {
  .legal-hero {
    padding: 44px 0 32px;
  }
  .legal-main {
    padding: 42px 0 56px;
  }
  .legal-nav a {
    width: 100%;
    max-width: 280px;
  }
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}
.company-table th {
  width: 180px;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}
.company-table td {
  color: var(--ink-soft);
  font-weight: 650;
}
.company-table a {
  color: var(--blue);
  font-weight: 800;
}
@media (max-width: 760px) {
  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }
  .company-table th {
    padding: 18px 0 4px;
    border-bottom: 0;
  }
  .company-table td {
    padding: 0 0 18px;
  }
}
