:root {
  --paper: #f4f0e8;
  --paper-deep: #e8e1d4;
  --ink: #171816;
  --muted: #6f706a;
  --line: rgba(23, 24, 22, 0.17);
  --accent: #ff5a36;
  --acid: #d8ff47;
  --white: #fffdf8;
  --serif: Georgia, "Times New Roman", "Noto Serif SC", serif;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.section-shell { margin: 0 auto; max-width: 1320px; padding-left: 5vw; padding-right: 5vw; }
.announcement { background: var(--ink); color: var(--white); font-size: 11px; letter-spacing: .08em; padding: 9px 20px; text-align: center; }

.site-header { align-items: center; border-bottom: 1px solid var(--line); display: flex; height: 74px; justify-content: space-between; padding: 0 5vw; }
.brand { align-items: center; display: inline-flex; font-size: 19px; font-weight: 800; gap: 10px; letter-spacing: -.04em; }
.brand-mark { align-items: center; background: var(--accent); border-radius: 50%; color: white; display: inline-flex; font-family: var(--serif); font-size: 16px; height: 31px; justify-content: center; width: 31px; }
.site-header nav { display: flex; font-size: 12px; gap: 30px; }
.site-header nav a { color: var(--muted); transition: color .2s; }
.site-header nav a:hover { color: var(--ink); }
.header-link { border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 700; padding-bottom: 4px; }

.hero { display: grid; gap: 5vw; grid-template-columns: 1.3fr .7fr; min-height: 650px; padding-bottom: 70px; padding-top: 72px; }
.hero-copy { align-self: center; }
.eyebrow { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .17em; margin: 0 0 24px; text-transform: uppercase; }
.hero h1, .section-heading h2, .closing h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.055em; }
.hero h1 { font-size: clamp(54px, 6.4vw, 94px); line-height: .96; margin: 0; }
.hero h1 em, .closing h2 em { color: var(--accent); font-weight: 500; }
.hero-intro { color: var(--muted); font-size: 15px; line-height: 1.9; margin: 38px 0 34px; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { align-items: center; border: 1px solid var(--ink); display: inline-flex; font-size: 12px; font-weight: 700; justify-content: center; min-height: 48px; padding: 0 24px; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.button-ghost { background: transparent; }
.button-light { background: white; border-color: white; color: var(--ink); }

.hero-card { align-self: stretch; background: var(--accent); color: white; display: flex; flex-direction: column; justify-content: space-between; min-height: 490px; overflow: hidden; padding: 28px; position: relative; }
.card-index { font-size: 9px; font-weight: 700; letter-spacing: .14em; position: relative; z-index: 2; }
.hero-orbit { align-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; display: flex; height: 290px; justify-content: center; left: 50%; position: absolute; top: 49%; transform: translate(-50%, -50%) rotate(-12deg); width: 290px; }
.hero-orbit::before, .hero-orbit::after { border: 1px solid rgba(255,255,255,.35); border-radius: 50%; content: ""; position: absolute; }
.hero-orbit::before { height: 200px; width: 330px; }
.hero-orbit::after { height: 340px; width: 150px; }
.hero-orbit span { background: var(--white); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 9px 13px; position: relative; transform: rotate(12deg); z-index: 3; }
.hero-card-foot { align-items: end; border-top: 1px solid rgba(255,255,255,.45); display: flex; justify-content: space-between; padding-top: 20px; position: relative; z-index: 2; }
.hero-card-foot strong { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.15; }
.hero-card-foot span { font-size: 9px; line-height: 1.7; text-align: right; }

.trust-strip { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip div { align-items: center; border-right: 1px solid var(--line); display: flex; gap: 18px; min-height: 104px; padding: 22px 3.5vw; }
.trust-strip div:last-child { border-right: 0; }
.trust-strip b { color: var(--accent); font-family: var(--serif); font-size: 25px; font-weight: 500; }
.trust-strip span { font-size: 11px; line-height: 1.6; }

.plans { padding-bottom: 105px; padding-top: 105px; }
.section-heading { align-items: end; display: flex; gap: 60px; justify-content: space-between; margin-bottom: 54px; }
.section-heading h2 { font-size: clamp(42px, 5vw, 68px); line-height: 1; margin: 0; }
.section-heading > p { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 390px; }
.plan-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.plan-card { border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 510px; padding: 30px; position: relative; }
.plan-free { background: var(--white); }
.plan-featured { background: var(--accent); border-color: var(--accent); color: white; transform: translateY(-16px); }
.plan-pro { background: var(--ink); color: white; }
.plan-badge { background: var(--acid); color: var(--ink); font-size: 9px; font-weight: 800; left: 30px; letter-spacing: .08em; padding: 8px 10px; position: absolute; top: -14px; }
.plan-top { border-bottom: 1px solid currentColor; display: grid; grid-template-columns: 1fr auto; padding-bottom: 24px; }
.plan-top > span { font-size: 15px; font-weight: 800; }
.plan-top strong { font-family: var(--serif); font-size: 62px; font-weight: 500; grid-row: span 2; letter-spacing: -.06em; line-height: .9; }
.plan-top strong small { font-family: var(--sans); font-size: 14px; margin-right: 2px; }
.plan-top em { align-self: end; font-size: 10px; font-style: normal; opacity: .7; }
.plan-card ul { display: grid; font-size: 12px; gap: 17px; line-height: 1.5; list-style: none; margin: 32px 0; padding: 0; }
.plan-card li::before { content: "✓"; font-weight: 800; margin-right: 10px; }
.plan-button { background: transparent; border: 1px solid currentColor; color: inherit; cursor: pointer; font-size: 11px; font-weight: 800; margin-top: auto; min-height: 48px; padding: 0 18px; text-align: center; }
.plan-button-light { align-items: center; display: flex; justify-content: center; }
.plan-button:hover { background: white; color: var(--ink); }
.plan-free .plan-button:hover { background: var(--ink); color: white; }
.credit-packs { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 60px; grid-template-columns: .75fr 1.25fr; margin-top: 55px; padding-top: 45px; }
.credit-packs h3 { font-family: var(--serif); font-size: 34px; font-weight: 500; letter-spacing: -.04em; margin: 0 0 12px; }
.credit-packs p:last-child { color: var(--muted); font-size: 12px; line-height: 1.7; }
.pack-list { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.pack { align-items: center; background: transparent; border: 1px solid var(--line); cursor: pointer; display: flex; justify-content: space-between; min-height: 74px; padding: 0 18px; }
.pack:hover { background: var(--white); }
.pack span { font-size: 12px; }
.pack b { font-family: var(--serif); font-size: 25px; font-weight: 500; }

.service { background: var(--ink); color: white; }
.service-inner { padding-bottom: 105px; padding-top: 105px; }
.light-heading .eyebrow { color: var(--acid); }
.steps { border-top: 1px solid rgba(255,255,255,.22); display: grid; grid-template-columns: repeat(4, 1fr); }
.steps article { border-right: 1px solid rgba(255,255,255,.22); min-height: 280px; padding: 30px 28px 30px 0; }
.steps article + article { padding-left: 28px; }
.steps article:last-child { border-right: 0; }
.steps span { color: var(--acid); font-family: var(--serif); font-size: 28px; }
.steps h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 55px 0 15px; }
.steps p { color: #aeafa8; font-size: 11px; line-height: 1.8; margin: 0; }

.faq { padding-bottom: 105px; padding-top: 105px; }
.compact-heading { margin-bottom: 35px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 0 4px; }
.faq-list summary { cursor: pointer; font-family: var(--serif); font-size: 21px; list-style: none; padding: 25px 45px 25px 0; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--sans); font-size: 20px; position: absolute; right: 4px; top: 23px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { color: var(--muted); font-size: 12px; line-height: 1.9; margin: -5px 0 25px; max-width: 800px; }

.closing { background: var(--accent); color: white; }
.closing-inner { padding-bottom: 95px; padding-top: 95px; }
.closing .eyebrow { color: white; }
.closing h2 { font-size: clamp(50px, 7vw, 94px); line-height: .95; margin: 0 0 45px; }
.closing h2 em { color: var(--ink); }

footer { background: #10110f; color: white; padding: 60px 5vw 22px; }
.footer-main { display: flex; gap: 50px; justify-content: space-between; margin: 0 auto; max-width: 1200px; }
.footer-brand { margin-bottom: 16px; }
.footer-main > div:first-child p { color: #8d8e88; font-size: 10px; max-width: 260px; }
.footer-links { display: grid; gap: 6vw; grid-template-columns: repeat(3, auto); }
.footer-links div { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong { color: #777873; font-size: 9px; letter-spacing: .13em; margin-bottom: 5px; text-transform: uppercase; }
.footer-links a, .footer-links span { font-size: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); color: #777873; display: flex; font-size: 9px; justify-content: space-between; margin: 45px auto 0; max-width: 1200px; padding-top: 20px; }
.icp-link:hover { color: white; }

.dialog-backdrop { align-items: center; background: rgba(15,16,14,.75); display: flex; inset: 0; justify-content: center; padding: 20px; position: fixed; z-index: 20; }
.dialog-backdrop[hidden] { display: none; }
.dialog { background: var(--paper); max-width: 480px; padding: 45px; position: relative; width: 100%; }
.dialog-close { background: transparent; border: 0; cursor: pointer; font-size: 27px; position: absolute; right: 18px; top: 13px; }
.dialog-icon { align-items: center; background: #1677ff; border-radius: 13px; color: white; display: flex; font-size: 31px; font-weight: 700; height: 58px; justify-content: center; margin-bottom: 28px; width: 58px; }
.dialog h2 { font-family: var(--serif); font-size: 34px; font-weight: 500; letter-spacing: -.04em; margin: 0 0 15px; }
.dialog > p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 1.8; }
.dialog .button { margin-top: 15px; width: 100%; }

.policy-page { background: var(--white); }
.policy-header { background: var(--paper); }
.policy-main { margin: 0 auto; max-width: 900px; padding: 80px 5vw 100px; }
.policy-main h1 { font-family: var(--serif); font-size: clamp(45px, 6vw, 72px); font-weight: 500; letter-spacing: -.05em; margin: 0 0 16px; }
.policy-date { color: var(--muted); font-size: 11px; margin-bottom: 55px; }
.policy-main h2 { border-top: 1px solid var(--line); font-family: var(--serif); font-size: 25px; font-weight: 500; margin: 36px 0 15px; padding-top: 28px; }
.policy-main p, .policy-main li { color: #555750; font-size: 13px; line-height: 1.9; }
.policy-main ul { padding-left: 20px; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-card { min-height: 440px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip div:nth-child(2) { border-right: 0; }
  .trust-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { align-items: start; display: block; }
  .section-heading > p { margin-top: 25px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .credit-packs { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps article:nth-child(2) { border-right: 0; }
  .steps article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
}

@media (max-width: 600px) {
  .announcement { font-size: 9px; }
  .site-header { height: 64px; padding: 0 20px; }
  .header-link { font-size: 9px; }
  .section-shell { padding-left: 20px; padding-right: 20px; }
  .hero { min-height: auto; padding-bottom: 45px; padding-top: 55px; }
  .hero h1 { font-size: 49px; }
  .hero-intro { font-size: 13px; }
  .hero-card { min-height: 400px; }
  .hero-orbit { height: 235px; width: 235px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div { border-bottom: 1px solid var(--line); border-right: 0; min-height: 88px; padding-left: 20px; }
  .plans, .service-inner, .faq { padding-bottom: 75px; padding-top: 75px; }
  .section-heading h2 { font-size: 43px; }
  .plan-card { min-height: 480px; padding: 26px; }
  .pack-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps article, .steps article + article { border-bottom: 1px solid rgba(255,255,255,.22); border-right: 0; min-height: 230px; padding: 28px 0; }
  .steps h3 { margin-top: 38px; }
  .footer-main { display: block; }
  .footer-links { gap: 35px; grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 10px; }
  .dialog { padding: 36px 25px 28px; }
}
