@font-face {
  font-family: "Clashdisplay";
  src: url("../fonts/ClashDisplay-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Clashdisplay";
  src: url("../fonts/ClashDisplay-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0d0d0d;
  --paper: #ffffff;
  --muted: #a7a7a7;
  --line: #333333;
  --brand: #e5192a;
  --panel: #161616;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Clashdisplay, "Noto Sans TC", Arial, sans-serif;
  line-height: 1.65;
}

a { color: inherit; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: rgba(13,13,13,.9);
  backdrop-filter: blur(14px);
}

.nav, .container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 148px;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--brand); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  transition: .2s ease;
}

.button:hover { background: var(--paper); color: var(--ink); }
.button.primary { border-color: var(--brand); background: var(--brand); }
.button.primary:hover { background: #ff3041; color: var(--paper); }

.hero {
  padding: 112px 0 92px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 20%, rgba(229,25,42,.2), transparent 31%),
    var(--ink);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(52px, 8vw, 104px);
  line-height: .98;
  letter-spacing: -.035em;
}

.hero-copy {
  max-width: 700px;
  margin: 30px 0 0;
  color: #d0d0d0;
  font-size: clamp(18px, 2vw, 24px);
}

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

.section { padding: 88px 0; border-bottom: 1px solid var(--line); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
  gap: 48px;
  margin-bottom: 42px;
}

h2 { margin: 0; font-size: clamp(34px, 5vw, 62px); line-height: 1.05; }
.lead { margin: 0; color: #c8c8c8; font-size: 20px; }

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

.card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.card-number { color: var(--brand); font-size: 14px; letter-spacing: .1em; }
.card h3 { margin: 48px 0 12px; font-size: 25px; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; }
.steps li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-no { color: var(--brand); font-size: 18px; }
.steps h3 { margin: 0 0 8px; font-size: 26px; }
.steps p { margin: 0; color: var(--muted); }

.notice {
  padding: 28px;
  border-left: 4px solid var(--brand);
  background: var(--panel);
  color: #d5d5d5;
}

.faq-list { max-width: 920px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 24px 0; font-size: 21px; font-weight: 600; }
details p { max-width: 760px; margin: -6px 0 26px; color: var(--muted); }

.prose { max-width: 840px; }
.prose h2 { margin-top: 58px; font-size: 32px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #c2c2c2; }
.prose li + li { margin-top: 8px; }

.cta { text-align: center; background: var(--brand); }
.cta h2 { max-width: 800px; margin: 0 auto; }
.cta p { max-width: 640px; margin: 20px auto 0; }
.cta .button { margin-top: 28px; }

.site-footer { padding: 38px 0; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--paper); }

@media (max-width: 760px) {
  .nav, .container { width: min(100% - 28px, 1180px); }
  .nav { min-height: 70px; }
  .brand img { width: 116px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 0 16px; min-height: 42px; }
  .hero { padding: 78px 0 66px; }
  .section { padding: 64px 0; }
  .section-heading, .grid, .grid.three { grid-template-columns: 1fr; gap: 18px; }
  .steps li { grid-template-columns: 50px 1fr; }
  .card { min-height: auto; }
  .card h3 { margin-top: 32px; }
}
