:root {
  /* Core palette: paper, ink, and one restrained red accent. */
  --paper: #fbfaf7;
  --paper-warm: #f4efe7;
  --ink: #12100e;
  --ink-soft: #3d3933;
  --muted: #716a60;
  --line: #ded5c8;
  --red: #a91f1f;
  --red-dark: #821818;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(27, 23, 18, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  /* Subtle paper grain built with CSS so the site works without image assets. */
  background:
    radial-gradient(circle at 10% 8%, rgba(169, 31, 31, 0.045), transparent 22rem),
    linear-gradient(90deg, rgba(18, 16, 14, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 22px 22px, auto;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: calc(100% - 32px);
  max-width: 1120px;
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.section-pad {
  padding: 72px 0;
}

.section-pad[id] {
  scroll-margin-top: 112px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 14px max(16px, calc((100vw - 1120px) / 2));
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid rgba(222, 213, 200, 0.75);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: var(--red);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
}

.nav-links,
.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--red);
}

.hero {
  position: relative;
  min-height: clamp(680px, calc(100vh - 140px), 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background:
    linear-gradient(180deg, transparent, rgba(244, 239, 231, 0.76)),
    repeating-linear-gradient(105deg, rgba(18, 16, 14, 0.035) 0 1px, transparent 1px 14px);
  pointer-events: none;
}

.hero-ink {
  position: absolute;
  right: clamp(-64px, 4vw, 84px);
  top: 8%;
  width: min(54vw, 530px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: rgba(18, 16, 14, 0.055);
  border: 1px solid rgba(18, 16, 14, 0.05);
  border-radius: 50%;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(9rem, 28vw, 21rem);
  line-height: 1;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: block;
}

.hero-copy {
  width: 100%;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 600;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5.4vw, 4rem);
  font-weight: 600;
}

h3 {
  font-size: 1.08rem;
}

.hero-lede {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2.4vw, 1.36rem);
}

.hero-subcopy {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(27, 23, 18, 0.12);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.pricing-currency-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.problem-section {
  background: var(--ink);
  color: var(--paper);
}

.problem-section p:not(.eyebrow) {
  color: rgba(251, 250, 247, 0.78);
  font-size: 1.12rem;
}

.check-grid,
.pricing-grid,
.steps-grid {
  display: grid;
  gap: 16px;
}

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

.check-card,
.price-card,
.steps-grid article,
.sample-card,
.legal-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(27, 23, 18, 0.045);
}

.check-card {
  padding: 22px;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.check-card:hover,
.price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(169, 31, 31, 0.48);
}

.check-card span {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
}

.check-card h3 {
  margin-top: 16px;
}

.check-card p,
.price-card p,
.steps-grid p,
.sample-card p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.reviewer-section {
  background: var(--paper-warm);
  border-block: 1px solid var(--line);
}

.reviewer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.84fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.reviewer-image-frame {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(244, 239, 231, 0.68)),
    repeating-linear-gradient(95deg, rgba(18, 16, 14, 0.055) 0 1px, transparent 1px 16px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reviewer-image-frame img,
.image-fallback {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.reviewer-image-frame img {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 180ms ease;
}

.reviewer-image-frame img.is-loaded {
  opacity: 1;
}

.image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(18, 16, 14, 0.14);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(4rem, 16vw, 8rem);
  line-height: 1;
}

.reviewer-image-frame img.is-loaded + .image-fallback {
  display: none;
}

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

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.price-card.featured {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 250, 247, 0.86)),
    radial-gradient(circle at top right, rgba(169, 31, 31, 0.12), transparent 16rem);
  border-color: rgba(169, 31, 31, 0.58);
  box-shadow: 0 22px 48px rgba(169, 31, 31, 0.12);
}

.premium-card {
  color: var(--paper);
  background:
    linear-gradient(150deg, rgba(18, 16, 14, 0.96), rgba(61, 57, 51, 0.96)),
    repeating-linear-gradient(110deg, rgba(251, 250, 247, 0.06) 0 1px, transparent 1px 18px);
  border-color: rgba(251, 250, 247, 0.18);
  box-shadow: 0 18px 48px rgba(18, 16, 14, 0.16);
}

.calligraphy-card {
  background:
    linear-gradient(150deg, rgba(18, 16, 14, 0.98), rgba(130, 24, 24, 0.9)),
    repeating-linear-gradient(110deg, rgba(251, 250, 247, 0.06) 0 1px, transparent 1px 18px);
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 5px 8px;
  color: var(--white) !important;
  background: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.badge-subtle {
  color: var(--ink) !important;
  background: var(--paper-warm);
}

.price {
  margin: 14px 0 10px;
  color: var(--ink) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.2vw, 3.2rem);
  line-height: 1;
}

.price span {
  margin-left: 3px;
  font-size: 0.52em;
  vertical-align: 0.34em;
}

.plan-note {
  min-height: 76px;
  margin: 0 0 18px;
  font-weight: 700;
}

.premium-card h3,
.premium-card .price,
.premium-card .plan-note {
  color: var(--paper) !important;
}

.premium-card li,
.premium-card p:not(.badge) {
  color: rgba(251, 250, 247, 0.74) !important;
}

.premium-card .button-primary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.premium-card .button-primary:hover {
  color: var(--white);
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.pricing-notes {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-top: 26px;
  padding: 18px 20px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pricing-notes p {
  position: relative;
  margin: 0;
  padding-left: 18px;
}

.pricing-notes p::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--red);
  transform: translateY(-50%) rotate(45deg);
}

.plan-guidance {
  max-width: 760px;
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--ink);
  border-radius: 8px;
}

.plan-guidance p {
  margin: 0;
  color: rgba(251, 250, 247, 0.86);
  font-weight: 800;
}

.plan-samples-section {
  background: var(--paper-warm);
  border-block: 1px solid var(--line);
}

.plan-samples-section .section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.plan-samples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.plan-sample-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(27, 23, 18, 0.045);
}

.compact-sample-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 24px;
}

.compact-sample-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2.4vw, 1.65rem);
  line-height: 1.12;
}

.compact-sample-card p,
.compact-sample-card ul {
  margin: 0;
}

.compact-sample-card p,
.compact-sample-card li,
.sample-output {
  color: var(--muted);
}

.compact-sample-card strong {
  color: var(--ink);
}

.sample-output {
  display: grid;
  gap: 8px;
}

.compact-sample-list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.sample-footer {
  margin-top: auto !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.plan-sample-card summary {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 22px 54px 22px 22px;
  cursor: pointer;
  list-style: none;
}

.plan-sample-card summary::-webkit-details-marker {
  display: none;
}

.plan-sample-card summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--red);
  border: 1px solid rgba(169, 31, 31, 0.32);
  font-size: 1.35rem;
  line-height: 1;
}

.plan-sample-card[open] summary::after {
  content: "−";
}

.sample-plan-tag {
  width: fit-content;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-title {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.12;
}

.sample-toggle {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.sample-toggle::after {
  content: "View sample";
}

.plan-sample-card[open] .sample-toggle {
  color: var(--red);
}

.plan-sample-card[open] .sample-toggle::after {
  content: "Hide sample";
}

.plan-sample-body {
  display: grid;
  gap: 18px;
  padding: 0 22px 24px;
}

.sample-block {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.sample-block-title {
  margin: 0 0 10px;
  color: var(--red) !important;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-meta {
  display: grid;
  gap: 10px;
  margin: 0;
}

.sample-meta div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 14px;
}

.sample-meta dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-meta dd {
  margin: 0;
}

.sample-kanji,
.kanji-option h3 {
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  line-height: 1.08;
}

.sample-kanji {
  margin: 0;
  font-size: 3rem;
}

.kanji-option {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

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

.kanji-option h3 {
  margin-bottom: 10px;
  font-size: 2.2rem;
}

.kanji-option h3 span {
  color: var(--muted);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.48em;
  font-weight: 800;
}

.kanji-option p,
.plan-sample-body p,
.sample-list li {
  color: var(--muted);
}

.sample-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.sample-list strong {
  display: block;
  color: var(--ink);
}

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

.deliverables-section .section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.deliverable-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(27, 23, 18, 0.045);
}

.deliverable-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 12px;
  object-fit: contain;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 239, 231, 0.72)),
    repeating-linear-gradient(95deg, rgba(18, 16, 14, 0.055) 0 1px, transparent 1px 16px);
  border-bottom: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
}

.deliverable-card div {
  padding: 22px;
}

.deliverable-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px !important;
  padding: 5px 8px;
  color: var(--white) !important;
  background: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.deliverable-card h3 {
  font-size: 1.12rem;
}

.deliverable-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 19px;
}

li + li {
  margin-top: 9px;
}

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

.steps-grid article {
  padding: 24px;
}

.steps-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.sample-section {
  background: var(--ink);
  color: var(--paper);
}

.sample-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 34px;
}

.sample-card {
  padding: 26px;
  background: rgba(251, 250, 247, 0.98);
  color: var(--ink);
}

.sample-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.sample-row:last-child {
  border-bottom: 0;
}

.sample-row span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-row p {
  margin: 0;
}

.warning strong,
.recommended strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 2rem;
  line-height: 1.1;
}

.warning strong {
  color: var(--muted);
}

.recommended strong {
  color: var(--red);
}

.disclaimer-section {
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  position: relative;
  min-height: 58px;
  padding: 18px 54px 18px 18px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--red);
  font-size: 1.5rem;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 18px 20px;
  color: var(--muted);
}

.site-footer {
  padding: 42px 0;
  color: rgba(251, 250, 247, 0.78);
  background: var(--ink);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  margin: 0 0 6px;
  color: var(--paper);
  font-weight: 900;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer a,
.site-footer .footer-links a {
  color: rgba(251, 250, 247, 0.84);
}

.site-footer a:hover,
.site-footer .footer-links a:hover {
  color: var(--white);
}

.legal-hero {
  padding: 70px 0 34px;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}

.legal-layout {
  padding: 42px 0 80px;
}

.legal-card {
  padding: clamp(22px, 5vw, 42px);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-meta {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .reviewer-grid,
  .sample-grid,
  .plan-samples-grid,
  .deliverables-grid {
    grid-template-columns: 1fr;
  }

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

  .plan-note {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .section-pad {
    padding: 56px 0;
  }

  .container,
  .narrow {
    width: 100%;
    max-width: 390px;
    margin-inline: 0;
    padding-inline: 16px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.84rem;
  }

  .hero-actions,
  .footer-grid,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.35rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.9rem, 8.2vw, 2.35rem);
  }

  .hero-copy,
  .hero-lede,
  .hero-subcopy,
  .hero-actions,
  .section-heading,
  .problem-section .narrow,
  .problem-section p {
    max-width: min(100%, 340px);
  }

  .check-grid,
  .pricing-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .sample-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .plan-sample-card summary {
    min-height: auto;
    padding: 20px 50px 20px 20px;
  }

  .plan-sample-body {
    padding: 0 20px 22px;
  }

  .sample-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.24rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  .brand {
    font-size: 0.94rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
