/* Zukan — getzukan.com
   Colours are the app's own tokens (src/theme/tokens.ts). Dark only, like the app. */

:root {
  --bg: #131218;
  --surface: #1b1a22;
  --surface-2: #22212b;
  --ink: #ece9e0;
  --muted: #9b97a6;
  --line: #302e3b;
  --accent: #8b98f0;
  --gain: #5bc689;
  --gold: #e8a33d;
  --hanko: #e06055;
  --serif: 'Shippori Mincho', 'Hiragino Mincho ProN', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header ───────────────────────────────────────────────────────────── */

header.site {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  margin-bottom: 3.5rem;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
}

nav.site {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-size: 0.92rem;
}
nav.site a {
  color: var(--muted);
  text-decoration: none;
}
nav.site a:hover,
nav.site a:focus-visible {
  color: var(--ink);
}
nav.site a[aria-current='page'] {
  color: var(--ink);
}

.lang {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}
.lang:hover,
.lang:focus-visible {
  color: var(--ink);
  border-color: var(--muted);
}

/* ── Type ─────────────────────────────────────────────────────────────── */

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 6vw, 2.9rem);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 1.4rem;
  margin: 3rem 0 0.8rem;
}
h3 {
  font-size: 1.08rem;
  margin: 2rem 0 0.5rem;
}

p {
  margin: 0 0 1.1rem;
}
a {
  color: var(--accent);
}
a:hover {
  color: var(--ink);
}

.lede {
  font-size: 1.18rem;
  color: var(--ink);
  opacity: 0.92;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.9rem;
}

ul {
  padding-left: 1.2rem;
  margin: 0 0 1.1rem;
}
li {
  margin-bottom: 0.5rem;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

/* ── Blocks ───────────────────────────────────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  margin: 0 0 1rem;
}
.card h3 {
  margin-top: 0;
}
.card p:last-child {
  margin-bottom: 0;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.5rem;
}

.plans {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 34rem) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

.price {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--ink);
  display: block;
  margin-bottom: 0.2rem;
}
.price .per {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--muted);
}

.trial {
  color: var(--gain);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mail {
  font-family: var(--serif);
  font-size: 1.25rem;
  word-break: break-word;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 5rem;
  padding: 2rem 0 4rem;
  color: var(--muted);
  font-size: 0.9rem;
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
footer.site a {
  color: var(--muted);
  text-decoration: none;
}
footer.site a:hover {
  color: var(--ink);
}
footer.site nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

main {
  padding-bottom: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  a {
    transition: color 0.15s ease;
  }
}

.tight {
  margin: 0;
}
