/* SORAVAN — licence translation service landing page. Same palette as cc.css. */
:root {
  --bg: #fbf8f3;
  --bg-alt: #f2ece2;
  --surface: #ffffff;
  --text: #1b2431;
  --text-2: #5a6472;
  --text-3: #8a93a0;
  --line: rgba(27, 36, 49, 0.1);
  --line-strong: rgba(27, 36, 49, 0.2);
  --green: #183858;
  --green-2: #27507a;
  --green-soft: #e4ecf4;
  --accent: #d94b2f;
  --accent-hover: #bd3d23;
  --accent-soft: #fbe6df;
  --gold: #f2a541;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(24, 56, 88, 0.08);
  --shadow-lg: 0 20px 50px rgba(24, 56, 88, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1160px;
  --pad: clamp(16px, 4vw, 40px);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", "PingFang TC", "Noto Sans TC", sans-serif;
  --display: "Outfit", "Inter", system-ui, "PingFang TC", "Noto Sans TC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: var(--green-2); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 820px; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  font-weight: 650; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { background: var(--surface); }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn:focus-visible, .lang:focus-visible, summary:focus-visible { outline: 2px solid var(--green-2); outline-offset: 2px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, 0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: 0.22em; }
.brand__mark { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hdr__right { display: flex; align-items: center; gap: 10px; }
.lang { font: inherit; font-size: 14px; padding: 7px 10px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--text); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(1200px 500px at 85% 10%, var(--green-soft), transparent 60%); }
.hero__in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--green); background: var(--green-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; color: var(--text-2); }
.ticks .ti { color: var(--green-2); }

/* Document illustration */
.hero__art { position: relative; min-height: 340px; }
.doc { position: absolute; right: 6%; top: 10%; width: 74%; aspect-ratio: 0.72; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 9% 9%; display: flex; flex-direction: column; gap: 10px; transform: rotate(2deg); }
.doc--back { right: 26%; top: 2%; width: 58%; aspect-ratio: 1.58; transform: rotate(-7deg); background: linear-gradient(135deg, #f7f1e6, #e9dfcd);
  box-shadow: var(--shadow); padding: 6%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr 1fr; gap: 8px; }
.doc__flag { grid-column: 1; width: 34px; height: 22px; border-radius: 3px; background: linear-gradient(90deg, #2b4ea2 33%, #fff 33% 66%, #e1393e 66%); }
.doc__photo { grid-column: 2; grid-row: 1 / span 3; width: 54px; border-radius: 6px; background: #cfc3ad; }
.doc__jp { font-family: "Hiragino Sans", "Noto Sans JP", sans-serif; font-weight: 700; font-size: clamp(15px, 1.6vw, 19px); margin: 0; color: var(--green); }
.doc__en { font-size: 12px; color: var(--text-3); margin: 0 0 6px; }
.doc__line { display: block; height: 9px; border-radius: 6px; background: var(--bg-alt); }
.doc__line--s { width: 60%; }
.doc__row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.doc__stamp { width: 52px; height: 52px; border-radius: 50%; border: 2.5px solid var(--accent); color: var(--accent); display: grid; place-items: center;
  font-weight: 800; font-size: 20px; transform: rotate(-12deg); opacity: .85; }
.badge { position: absolute; left: 0; bottom: 4%; background: var(--green); color: #fff; border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; line-height: 1.2; }
.badge b { font-family: var(--display); font-size: 26px; }
.badge span { font-size: 13px; opacity: .85; }

/* Sections */
.sec { padding: clamp(48px, 7vw, 88px) 0; }
.sec--alt { background: var(--bg-alt); }
.sec__lead { font-size: 17px; color: var(--text-2); max-width: 70ch; }
.chips { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; box-shadow: var(--shadow); }
.flag { font-size: 18px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card > .ti { font-size: 28px; color: var(--accent); display: block; margin-bottom: 10px; }
.card p { color: var(--text-2); margin: 0; }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.steps__n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps p { color: var(--text-2); margin: 0; }

/* Price */
.price { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.price__card { background: var(--surface); border-radius: 24px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-lg); border: 2px solid var(--accent-soft); }
.price__label { font-weight: 600; color: var(--green); margin: 0; }
.price__amount { font-family: var(--display); font-size: 64px; font-weight: 800; line-height: 1; margin: 8px 0 6px; }
.list { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-direction: column; gap: 10px; }
.list li { display: flex; gap: 10px; align-items: flex-start; }
.list .ti { color: var(--green-2); font-size: 20px; flex: none; margin-top: 1px; }
.list--plain { margin-top: 12px; }
.price__side h3 { margin-top: 28px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.faq details { background: var(--surface); border-radius: var(--radius-sm); padding: 0 18px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); padding-bottom: 16px; margin: 0; }

/* Final CTA + footer */
.cta-band { background: var(--green); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band p { opacity: .85; margin: 0; }
.ftr { padding: 32px 0 40px; font-size: 14px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

@media (max-width: 900px) {
  .hero__in, .price { grid-template-columns: 1fr; }
  .hero__art { min-height: 0; aspect-ratio: 0.95; max-width: 420px; width: 100%; margin: 0 auto; }
  .cards3, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hdr [data-cta] { display: none; }
  .hero__cta .btn { width: 100%; }
  .price__amount { font-size: 52px; }
  h1, h2 { hyphens: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
