:root {
  --paper: #f7f3ea;
  --paper-2: #efe8da;
  --paper-3: #e7ddcb;
  --ink: #1d1a16;
  --ink-soft: #3a352d;
  --muted: #6f6759;
  --line: #d9cfbc;
  --line-strong: #c3b69e;
  --vermilion: #b23a2b;
  --vermilion-dark: #8f2c20;
  --gold: #a8823c;
  --gold-soft: #e6d3a7;
  --white: #fffdf8;
  --shadow: 0 24px 60px rgba(46, 36, 22, 0.16);
  --radius: 18px;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 12% 8%, rgba(178, 58, 43, 0.05), transparent 34%),
    radial-gradient(circle at 88% 2%, rgba(168, 130, 60, 0.08), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(120, 96, 60, 0.05), transparent 45%);
}

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

a {
  color: inherit;
  text-decoration-color: rgba(178, 58, 43, 0.4);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--vermilion);
}

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

p {
  margin: 0;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.wrap.narrow {
  width: min(820px, calc(100% - 48px));
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
}

.skip:focus {
  left: 16px;
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 243, 234, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(217, 207, 188, 0.7);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

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

.brand img {
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.nav a {
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-bottom-color: var(--vermilion);
}

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

.lang {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lang:hover {
  border-color: var(--ink);
  color: var(--ink);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--vermilion);
  border-color: var(--vermilion);
  color: var(--white);
}

button.btn {
  font-family: inherit;
  cursor: pointer;
}

.legal-page .legal {
  max-width: 760px;
  padding: 48px 0 72px;
  line-height: 1.85;
  color: var(--ink-soft, #4a4238);
}

.legal-page .legal h1 {
  font-family: var(--serif, inherit);
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px;
  color: var(--ink, #2b241c);
}

.legal-page .legal h2 {
  font-size: 18px;
  margin: 32px 0 8px;
  color: var(--ink, #2b241c);
}

.legal-page .legal p,
.legal-page .legal li {
  font-size: 15px;
}

.legal-page .legal ul {
  padding-left: 20px;
}

.legal-page .legal a {
  color: var(--ink, #2b241c);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-meta {
  color: var(--ink-faint, #8a7f70);
  font-size: 13px;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-small {
  padding: 9px 18px;
  font-size: 14px;
}

.plan-pro .btn {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--ink);
}

.plan-pro .btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.plan-pro .btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 253, 248, 0.42);
}

.plan-pro .btn-ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

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

.hero {
  padding: 84px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vermilion);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--vermilion);
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  letter-spacing: -0.02em;
}

.lede {
  margin-top: 22px;
  font-size: 17.5px;
  color: var(--muted);
  max-width: 34em;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.badges span {
  font-size: 12.5px;
  color: var(--ink-soft);
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.6);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.fineprint {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-art {
  position: relative;
  min-height: 380px;
}

.frame {
  border: 1px solid var(--line-strong);
  background: var(--white);
  padding: 8px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.frame-main {
  transform: rotate(-1.4deg);
}

.frame-mini {
  position: absolute;
  width: 46%;
  right: -4%;
  bottom: -12%;
  transform: rotate(2.4deg);
  box-shadow: 0 18px 40px rgba(46, 36, 22, 0.2);
}

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

.section {
  padding: 88px 0;
}

.section-quiet {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16.5px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 34px rgba(46, 36, 22, 0.09);
}

.card .num {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.card h3 {
  font-size: 20px;
  margin: 12px 0 8px;
}

.card p {
  font-size: 14px;
  line-height: 1.68;
  color: var(--muted);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.shot {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 10px 16px;
  overflow: hidden;
}

.shot img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.shot figcaption {
  padding: 12px 8px 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- tiers table ---------- */

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow-x: auto;
}

.tiers {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 14.5px;
}

.tiers th,
.tiers td {
  padding: 15px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.tiers thead th {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
}

.tiers tbody th {
  font-weight: 500;
  width: 46%;
  color: var(--ink-soft);
}

.tiers td {
  width: 27%;
  color: var(--ink-soft);
}

.tiers .pro-col,
.tiers td:last-child {
  background: rgba(230, 211, 167, 0.22);
  color: var(--ink);
}

.tiers tbody tr:last-child th,
.tiers tbody tr:last-child td {
  border-bottom: 0;
}

.tiers tbody tr:hover th,
.tiers tbody tr:hover td {
  background: rgba(168, 130, 60, 0.08);
}

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

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

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

.plan h3 {
  font-size: 24px;
  letter-spacing: 0.04em;
}

.amount {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.amount span {
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
}

.amount em {
  font-style: normal;
  font-size: 15px;
  color: var(--muted);
}

.plan-desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}

.plan li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.plan-pro {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.plan-pro .plan-desc,
.plan-pro li,
.plan-pro .fineprint,
.plan-pro .amount em {
  color: rgba(247, 243, 234, 0.66);
}

.plan-pro li::before {
  background: var(--gold-soft);
}

.plan-flag {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid rgba(230, 211, 167, 0.5);
  border-radius: 999px;
  color: var(--gold-soft);
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.plan-pro .fineprint a {
  color: var(--gold-soft);
}

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

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details:last-of-type {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
}

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

summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 64ch;
}

/* ---------- privacy ---------- */

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

.privacy-list li {
  padding-left: 26px;
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
}

.privacy-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--vermilion);
  opacity: 0.7;
}

.support {
  margin-top: 26px;
  font-size: 15px;
}

.support a {
  color: var(--vermilion);
}

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

.site-foot {
  background: var(--ink);
  color: var(--paper);
  padding: 46px 0 28px;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
}

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

.foot-brand img {
  width: 26px;
  height: 26px;
}

.foot-brand strong {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.06em;
}

.foot-brand p {
  font-size: 13px;
  color: rgba(247, 243, 234, 0.6);
}

.foot-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
}

.foot-links a {
  color: rgba(247, 243, 234, 0.78);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--gold-soft);
}

.foot-legal {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 243, 234, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(247, 243, 234, 0.5);
}

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

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

  .btn,
  .card,
  .reveal,
  summary::after {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-art {
    min-height: 0;
    max-width: 640px;
  }

  .frame-mini {
    width: 42%;
    bottom: -16%;
  }

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

  .nav {
    display: none;
  }

  .head-inner {
    justify-content: space-between;
  }

  .head-actions {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .wrap,
  .wrap.narrow {
    width: calc(100% - 32px);
  }

  .section {
    padding: 62px 0;
  }

  .shot-grid,
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .lede {
    font-size: 16px;
  }

  .amount span {
    font-size: 40px;
  }

  .tiers th,
  .tiers td {
    padding: 13px 14px;
  }
}
