/* あの子のうた — landing styles. Mobile first. */

:root {
  --paper: #fbf7f1;
  --paper-2: #f4ede3;
  --card: #ffffff;
  --ink: #2f2924;
  --ink-soft: #6b6259;
  --ink-faint: #9a8f84;
  --line: #e6dccf;
  --accent: #a4623f;
  --accent-deep: #8a4f31;
  --accent-soft: #f3e3d6;
  --gold: #c9a46b;
  --focus: #2f6f8f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(47, 41, 36, 0.04), 0 8px 24px rgba(47, 41, 36, 0.06);
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --wrap: 1080px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 40px, 720px);
  margin-inline: auto;
}

/* ---------- top bar & header ---------- */

.topbar {
  background: var(--ink);
  color: #f7efe6;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.06em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 241, 0.92);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.logo svg {
  width: 28px;
  height: 28px;
}

.nav {
  display: none;
  gap: 28px;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

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

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(164, 98, 63, 0.28);
  transition: background 0.15s, transform 0.15s;
}

.btn:hover {
  background: var(--accent-deep);
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  box-shadow: none;
}

.btn-block {
  width: 100%;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn-ghost:hover {
  background: var(--card);
}

.fineprint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- sections ---------- */

section {
  padding: 72px 0;
}

.section-alt {
  background: var(--paper-2);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
}

h1,
h2,
h3,
.hero-lead,
.section-head p,
.receive-sub,
.quote-main,
.quote-body,
.quote-sign,
.final-lead,
.thanks p,
.order-hero p {
  word-break: auto-phrase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0;
}

h2 {
  font-size: clamp(24px, 5.6vw, 34px);
  line-height: 1.6;
}

h3 {
  font-size: 18px;
  line-height: 1.6;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head p {
  margin: 14px auto 0;
  max-width: 34em;
  color: var(--ink-soft);
}

.section-head .eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
}

.nowrap {
  white-space: nowrap;
}

.center {
  text-align: center;
}

.cta-block {
  margin-top: 44px;
  text-align: center;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
}

.hero-arc {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: max(880px, 120%);
  height: auto;
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.5;
}

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

.hero h1 {
  font-size: clamp(28px, 7.4vw, 50px);
  line-height: 1.55;
  letter-spacing: 0.08em;
}

.hero h1 .line {
  display: block;
}

.hero-lead {
  max-width: 32em;
  margin: 24px auto 0;
  font-size: 16px;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-actions .btn {
  width: min(100%, 360px);
}

.text-link {
  font-size: 14px;
  color: var(--ink-soft);
  text-underline-offset: 4px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

.badges svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

/* ---------- receive ---------- */

.receive-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .receive-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
  }
}

.memorial {
  position: relative;
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px 24px 24px;
  text-align: center;
  border: 1px solid var(--line);
}

.sample-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-soft);
}

.memorial-kicker {
  margin: 0;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.memorial-photo {
  width: 112px;
  height: 112px;
  margin: 18px auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #f6e6d3, #e7c9a8 60%, #d9b38c);
  color: #fff;
  font-family: var(--serif);
  font-size: 40px;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.6);
}

.memorial-name {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.16em;
  margin: 0;
}

.memorial-meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-faint);
}

.memorial-story {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2.1;
  color: var(--ink-soft);
  text-align: left;
}

.memorial .player {
  margin-top: 18px;
  text-align: left;
}

.receive-copy h3 {
  margin-top: 4px;
}

.receive-sub {
  margin: 14px 0 28px;
  color: var(--ink-soft);
}

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

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

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 18px 16px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 10px;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  font-size: 16px;
}

.feature p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ---------- player ---------- */

.player {
  display: flex;
  align-items: center;
  gap: 12px;
}

.play-btn {
  flex: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

.play-btn:hover {
  background: var(--accent-deep);
}

.play-btn svg {
  width: 18px;
  height: 18px;
}

.play-btn .icon-pause {
  display: none;
}

.player.is-playing .icon-play {
  display: none;
}

.player.is-playing .icon-pause {
  display: block;
}

.player-body {
  flex: 1;
  min-width: 0;
}

.player-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: var(--paper-2);
  cursor: pointer;
}

.track-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: var(--accent);
}

.player-time {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

/* ---------- samples ---------- */

.samples {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .samples {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sample {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
}

.sample-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.sample-name {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.14em;
}

.sample-meta {
  font-size: 13px;
  color: var(--ink-faint);
}

.sample-style {
  margin: 6px 0 16px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.sample-lyrics {
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px dashed var(--line);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2.1;
  color: var(--ink-soft);
}

.sample-lyrics span {
  display: block;
}

.samples-note {
  margin: 20px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--serif);
  font-size: 15px;
  margin-bottom: 12px;
}

.step p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- styles (genres) ---------- */

.genres {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .genres {
    grid-template-columns: repeat(4, 1fr);
  }
}

.genre {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
}

.genre h3 {
  font-size: 15px;
}

.genre p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------- pricing ---------- */

.plans {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.plan.is-featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.plan-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 3px 14px;
  border-radius: 999px;
}

.plan-name {
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.plan-price {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.plan-price small {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-faint);
  margin-left: 4px;
}

.plan ul {
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 14px;
  color: var(--ink-soft);
}

.plan li {
  position: relative;
  padding-left: 22px;
  margin: 6px 0;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.75em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.plan-options {
  margin: 22px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- guarantee ---------- */

.guarantee {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.seal {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  color: var(--gold);
}

.guarantee p {
  margin: 14px auto 0;
  max-width: 30em;
  color: var(--ink-soft);
}

.guarantee .eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
}

/* ---------- faq ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-weight: 600;
  font-size: 15px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-1px);
}

.faq details p {
  margin: 0;
  padding: 0 4px 22px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- quote & final ---------- */

.quote {
  text-align: center;
}

.quote-main {
  font-family: var(--serif);
  font-size: clamp(22px, 5vw, 30px);
  letter-spacing: 0.1em;
  margin: 0;
}

.quote-body {
  max-width: 30em;
  margin: 20px auto 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2.2;
  color: var(--ink-soft);
}

.quote-sign {
  margin: 28px 0 0;
  font-size: 15px;
}

.final {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final h2 .line {
  display: block;
}

.final-lead {
  max-width: 30em;
  margin: 20px auto 0;
  color: var(--ink-soft);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #e9dfd3;
  padding: 48px 0 110px;
  font-size: 13px;
}

.site-footer .logo {
  color: #fff;
}

.footer-about {
  margin: 14px 0 0;
  color: #cdbfb0;
}

.footer-note {
  margin: 8px 0 0;
  color: #a99a8a;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #e9dfd3;
  text-underline-offset: 4px;
}

.copyright {
  margin: 28px 0 0;
  color: #8f8173;
}

@media (min-width: 900px) {
  .site-footer {
    padding-bottom: 56px;
  }
}

/* ---------- sticky mobile CTA ---------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 247, 241, 0.96);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta .btn {
  width: 100%;
  min-height: 52px;
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}

/* ---------- order form ---------- */

.order-hero {
  padding: 48px 0 8px;
  text-align: center;
}

.order-hero h1 {
  font-size: clamp(26px, 6.4vw, 38px);
  line-height: 1.6;
}

.order-hero p {
  margin: 14px auto 0;
  max-width: 30em;
  color: var(--ink-soft);
}

.test-banner {
  margin: 0;
  padding: 10px 16px;
  background: #fff4d6;
  color: #6a4b00;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid #f0dca0;
}

.order-form {
  padding: 24px 0 72px;
}

.fieldset {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px 8px;
  margin: 0 0 18px;
}

.fieldset legend {
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.fieldset legend + * {
  clear: both;
}

.field {
  margin: 0 0 22px;
}

.field > label,
.field-label {
  display: block;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.req,
.opt {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: 2px;
}

.req {
  background: var(--accent);
  color: #fff;
}

.opt {
  background: var(--paper-2);
  color: var(--ink-soft);
}

.help {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.7;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fffdfa;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  transition: border-color 0.15s, box-shadow 0.15s;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error .choices {
  border-color: #b3261e;
}

.error-text {
  display: none;
  margin: 6px 0 0;
  font-size: 13px;
  color: #b3261e;
}

.field.has-error .error-text {
  display: block;
}

.field.has-error .choices {
  padding: 6px;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: 14px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fffdfa;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.choice input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.choice input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.suffix-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.suffix-field input {
  max-width: 180px;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.8;
}

.consent input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}

.counter {
  margin: 4px 0 0;
  text-align: right;
  font-size: 12px;
  color: var(--ink-faint);
}

.submit-area {
  text-align: center;
  margin-top: 8px;
}

.form-error {
  display: none;
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fbe9e7;
  color: #8c1d18;
  font-size: 14px;
}

.form-error.is-visible {
  display: block;
}

.thanks {
  display: none;
  padding: 72px 0;
  text-align: center;
}

.thanks.is-visible {
  display: block;
}

.thanks p {
  margin: 16px auto 0;
  max-width: 28em;
  color: var(--ink-soft);
}

.thanks [data-bundle-only] {
  margin: 32px auto 0;
  max-width: 32em;
  padding: 24px;
  border-radius: 16px;
  background: var(--card);
}

.thanks h2 {
  font-size: 18px;
}

.thanks [data-bundle-only] p {
  margin-top: 10px;
}

/* ---------- legal pages ---------- */

.legal {
  padding: 48px 0 80px;
}

.legal h1 {
  font-size: clamp(24px, 5.6vw, 32px);
  line-height: 1.6;
}

.legal .updated {
  margin: 8px 0 32px;
  font-size: 13px;
  color: var(--ink-faint);
}

.legal h2 {
  font-size: 18px;
  margin: 36px 0 10px;
}

.legal p,
.legal li {
  font-size: 15px;
  color: var(--ink-soft);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 14px;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
}

.legal th {
  width: 34%;
  background: var(--paper-2);
  font-weight: 600;
}

.todo {
  background: #fff4d6;
  color: #6a4b00;
  padding: 0 4px;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .legal th,
  .legal td {
    display: block;
    width: 100%;
  }

  .legal th {
    border-bottom: 0;
    padding-bottom: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
