:root {
  color: #22203b;
  background: #f8f7fc;
  font: 16px/1.55 system-ui, sans-serif;
  --ink: #22203b;
  --muted: #534f69;
  --accent: #4c36a3;
  --line: #ded9ea;
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
p { color: var(--muted); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell { width: min(100% - 2rem, 69rem); margin-inline: auto; }
.topbar { border-bottom: 1px solid var(--line); background: white; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 4rem; }
.topbar a { color: var(--ink); text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.15rem; font-weight: 750; }
.brand span { padding: .05rem .45rem; border-radius: .45rem; color: var(--accent); background: #eee9ff; }
.topbar .access { padding: .55rem .75rem; border: 1px solid var(--line); border-radius: .55rem; font-size: .9rem; font-weight: 650; }
.topbar .access:hover { background: #eee9ff; }

main { padding-block: clamp(2.5rem, 6vw, 4.75rem); }
.intro { max-width: 48rem; margin: 0 auto 2rem; text-align: center; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.1; letter-spacing: -.06em; }
.intro > p { margin-top: .9rem; font-size: clamp(1rem, 2.2vw, 1.13rem); }
.intro .notice {
  display: inline-block;
  padding: .48rem .85rem;
  border-radius: .5rem;
  color: #433185;
  background: #eee9fb;
  font-size: .86rem;
}

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.plan, .permanent { padding: clamp(1.15rem, 3vw, 1.65rem); border: 1px solid var(--line); border-radius: 1rem; background: white; }
.plan { display: flex; flex-direction: column; gap: .5rem; }
.plan h2, .permanent h3 { font-size: 1.1rem; }
.annual { border-color: #9f8de3; background: #f3efff; }
.price { color: var(--ink); font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 780; letter-spacing: -.055em; line-height: 1.15; }
.price span { color: var(--muted); font-size: .9rem; font-weight: 600; letter-spacing: normal; white-space: nowrap; }
.plan ul { display: grid; gap: .6rem; margin: .6rem 0 1rem; padding-inline-start: 1.15rem; }
.plan li::marker { color: var(--accent); }
.button {
  align-self: flex-start;
  margin-top: auto;
  padding: .62rem 1rem;
  border-radius: .55rem;
  color: white;
  background: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #3d278c; }

.validity { margin-top: clamp(2.4rem, 6vw, 4rem); }
.validity h2 { font-size: clamp(1.55rem, 4vw, 2.25rem); letter-spacing: -.035em; }
.validity > p { margin-top: .5rem; max-width: 45rem; }
.validity-grid { display: grid; grid-template-columns: 1.5fr 1fr; align-items: start; gap: 1rem; margin-top: 1.2rem; }
table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: .9rem; background: white; }
th, td { padding: .67rem 1rem; text-align: left; }
thead th { color: var(--muted); font-size: .86rem; }
tbody th { font-weight: 550; }
tbody th, td { border-top: 1px solid var(--line); }
td, thead th:last-child { text-align: right; white-space: nowrap; }
td { font-weight: 700; }
.permanent { border-color: #c0b3ef; background: #f3efff; }
.permanent p { margin-top: .65rem; }
.validity .fine-print { margin-top: .85rem; font-size: .9rem; }

@media (max-width: 46rem) {
  .plan-grid, .validity-grid { grid-template-columns: minmax(0, 1fr); }
  .intro { text-align: left; }
}

.file-download { max-width: 36rem; padding-block: 4rem; }
.file-download .plan { gap: 1rem; overflow-wrap: anywhere; }
.file-download h1 { font-size: clamp(1.5rem, 5vw, 2.5rem); }
.file-download button { font: inherit; border: 0; cursor: pointer; }
