:root {
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f3f4f2;
  --color-bg-tertiary: #fafaf8;
  --color-text-primary: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-border: #e6e6e3;
  --color-border-strong: #d6d6d2;
  --ac: #2d6a4f;
  --ac-dark: #1a4d2e;
  --ac-mid: #357a5b;
  --ac-soft: #e8f3ec;
  --ink-deep: #14483c;
  --ink-mid: #1f6f5c;
  --muted-green: #6b7c77;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 12px rgba(16, 24, 40, 0.06);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t: 0.18s var(--ease);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(1000px 560px at 50% -8%, rgba(31, 111, 92, 0.16), transparent 60%),
    linear-gradient(180deg, #f6f8f5, #eaf0ea);
}

a {
  color: var(--ac);
  text-decoration: none;
}

a:hover {
  color: var(--ac-dark);
  text-decoration: underline;
}

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

/* ——— Shell ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(246, 248, 245, 0.86);
  border-bottom: 0.5px solid rgba(16, 24, 40, 0.06);
}

.site-header-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand-link:hover {
  text-decoration: none;
  opacity: 0.88;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: flex-end;
  font-size: 12.5px;
  font-weight: 600;
}

.header-nav a {
  color: var(--muted-green);
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a[aria-current="page"] {
  color: var(--ink-mid);
  text-decoration: none;
}

.site-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.site-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 40px;
  color: var(--color-text-secondary);
  font-size: 12.5px;
}

.site-footer-inner {
  border-top: 0.5px solid var(--color-border);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-nav a {
  color: var(--muted-green);
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink-mid);
}

.footer-meta {
  margin: 0;
  line-height: 1.55;
}

/* ——— Coming soon ——— */

.soon {
  min-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 48px;
  text-align: center;
}

.soon-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 40px 32px 30px;
  box-shadow: 0 18px 50px -12px rgba(20, 72, 60, 0.28);
  animation: cardIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.soon-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #fff, #eef4f1);
  box-shadow:
    0 10px 26px -10px rgba(31, 111, 92, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.soon-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.soon-word {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.7px;
  color: var(--ink-deep);
  margin: 0;
  line-height: 1;
}

.soon-word b {
  color: var(--ink-mid);
  font-weight: 800;
}

.soon-tag {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted-green);
}

.soon-badge {
  display: inline-flex;
  margin-top: 22px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ac-soft);
  color: var(--ac-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.soon-lead {
  margin: 18px auto 0;
  max-width: 28ch;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.soon-cta {
  margin-top: 22px;
}

.soon-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--ac-mid), var(--ac));
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12);
  transition: filter var(--t), transform var(--t);
}

.soon-cta a:hover {
  filter: brightness(1.05);
  text-decoration: none;
  color: #fff;
}

.soon-cta a:active {
  transform: scale(0.98);
}

.soon-legal {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  font-size: 12px;
  font-weight: 600;
}

.soon-legal a {
  color: var(--muted-green);
  text-decoration: none;
}

.soon-legal a:hover {
  color: var(--ink-mid);
}

.soon-company {
  margin-top: 36px;
  max-width: 420px;
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

.soon-company strong {
  color: var(--color-text-primary);
  font-weight: 650;
}

/* ——— Legal article ——— */

.legal-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 28px 26px 32px;
  animation: cardIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.legal-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 650;
  color: var(--ink-mid);
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink-deep);
}

.legal-meta {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.toc {
  margin: 0 0 28px;
  padding: 14px 16px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 18px;
  background: var(--color-bg-secondary);
  border-radius: 12px;
  border: 0.5px solid var(--color-border);
}

@media (min-width: 560px) {
  .toc {
    grid-template-columns: 1fr 1fr;
  }
}

.toc a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

.legal-card h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-deep);
  scroll-margin-top: 72px;
}

.legal-card h3 {
  margin: 1.15rem 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--color-text-primary);
}

.legal-card p,
.legal-card li {
  font-size: 14.5px;
  color: var(--color-text-primary);
}

.legal-card p {
  margin: 0 0 0.85rem;
}

.legal-card ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.legal-card li {
  margin: 0.35rem 0;
}

.legal-card li::marker {
  color: var(--ac);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 1.1rem;
  border-radius: 12px;
  border: 0.5px solid var(--color-border);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 480px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 0.5px solid var(--color-border);
}

th {
  background: var(--color-bg-secondary);
  font-weight: 700;
  color: var(--ink-deep);
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

.note {
  margin: 0 0 1rem;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ac-soft);
  color: var(--ac-dark);
  font-size: 13.5px;
}

@media (max-width: 520px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-nav {
    justify-content: flex-start;
  }

  .legal-card {
    padding: 22px 16px 26px;
  }

  .soon-card {
    padding: 32px 22px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .soon-card,
  .legal-card {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
