@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/BebasNeue-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0b0a10;
  --panel: #16141e;
  --line: #2a2735;
  --text: #f4f2f8;
  --body: #d7d3e2;
  --muted: #b3aec2;
  --gold: #f0b429;
  --pink: #ff3d8b;
  --cyan: #2ce5f2;
  --link-hover: #ffd166;
  --gutter: 2rem;
  --content: 72.5rem;
  --display-font: "Bebas Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text);
  font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
}

main { flex: 1; }

a { color: var(--gold); }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

h1, h2, h3 { font-weight: 900; }

.container {
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.tone-gold { --tone: var(--gold); }
.tone-pink { --tone: var(--pink); }
.tone-cyan { --tone: var(--cyan); }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner,
.header-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.header-inner {
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.125rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display-font);
}

.brand:hover { color: var(--text); }

.brand-mark {
  display: grid;
  width: 2.375rem;
  height: 2.375rem;
  place-items: center;
  transform: skew(-8deg);
  background: var(--gold);
  color: var(--background);
  font-size: 1.5rem;
}

.brand-name { font-size: 1.875rem; letter-spacing: 1px; }

.header-nav { gap: 1.5rem; font-size: .9375rem; }
.header-nav a { color: var(--muted); text-decoration: none; }
.header-nav a:hover, .header-nav a[aria-current] { color: var(--gold); }
nav a[aria-current] { font-weight: 700; }

.language-switch { display: inline-flex; align-items: center; color: var(--muted); }
.language-switch a, .language-switch [aria-current] {
  display: inline-grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  padding-inline: .5rem;
}
.language-switch a { color: var(--text); }
.language-switch a:hover, .language-switch [aria-current] { color: var(--gold); }
.language-switch [aria-current] { font-weight: 700; }

.site-footer {
  padding-block: 3rem;
  border-top: 1px solid var(--line);
}

.footer-inner { display: grid; gap: 1rem; }
.footer-nav { gap: 1.5rem; font-size: .875rem; }
.footer-inner p { margin: 0; font-size: .8125rem; color: var(--muted); }
.footer-legal { max-width: 56.25rem; line-height: 1.7; }

.kicker {
  display: inline-block;
  margin: 0 0 .875rem;
  padding: .375rem .75rem;
  transform: skew(-8deg);
  background: var(--tone);
  color: var(--background);
  font-size: .875rem;
  font-weight: 700;
}

.actions { display: flex; flex-wrap: wrap; gap: .875rem; }

.button {
  display: inline-block;
  padding: .875rem 1.625rem;
  border: 2px solid transparent;
  transform: skew(-8deg);
  text-align: center;
  text-decoration: none;
}

.button-primary { background: var(--gold); color: var(--background); font-weight: 900; }
a.button-primary:hover { background: var(--link-hover); color: var(--background); }
.button-outline { border-color: var(--text); color: var(--text); font-weight: 700; }
.button-outline:hover { border-color: var(--gold); color: var(--gold); }
.button-compact { padding: .625rem 1rem; }

.hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  padding-block: 4.5rem 6rem;
}

.hero::before, .hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.hero { isolation: isolate; }
.hero::before { top: 2.5rem; right: 7.5rem; width: 11.25rem; height: 11.25rem; background: var(--pink); opacity: .18; }
.hero::after { top: 18.75rem; right: 2.5rem; width: 5.625rem; height: 5.625rem; background: var(--cyan); opacity: .2; }

.hero-copy { flex: 999 1 31.25rem; min-width: 0; }
.hero-copy .kicker { margin-bottom: 1.125rem; }

.hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.875rem, 9.6vw, 3.75rem);
  line-height: 1.15;
}

.hero-highlight { position: relative; isolation: isolate; display: inline-block; }

.hero-highlight::before {
  position: absolute;
  z-index: -1;
  inset-inline: -.13em;
  bottom: .1em;
  height: .37em;
  transform: skew(-12deg);
  background: var(--pink);
  content: "";
}

.hero-description { max-width: 33.75rem; margin: 0 0 2.25rem; color: var(--muted); font-size: 1.125rem; line-height: 1.75; }
.hero-preview { flex: 1 1 18.75rem; min-width: 0; display: grid; justify-items: center; }

.phone { display: flex; flex-direction: column; max-width: 100%; border: solid var(--line); }
.phone img { display: block; width: 100%; height: auto; }
.phone-home { width: 18.125rem; padding: .75rem; border-width: 8px; border-radius: 2.625rem; background: var(--panel); }
.quick-steps, .removal-steps { margin: 0; padding: 0; list-style: none; }

.section-title { margin: 0; font-size: clamp(1.625rem, 5vw, 2.25rem); }
.feature-band { padding-block: 5rem; background: var(--panel); }
.feature-band .section-title { margin-bottom: 2.25rem; }

.features, .quick-steps, .principles, .walkthrough { display: grid; }
.features { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.25rem), 1fr)); gap: 1.25rem; }
.feature-card { display: grid; align-content: start; gap: .75rem; padding: 1.875rem; border: 1px solid var(--line); background: var(--background); }
.feature-card h3 { margin: 0; font-size: 1.3125rem; }
.feature-stripe { width: 3rem; height: .5rem; transform: skew(-20deg); background: var(--tone); }
.feature-card p, .quick-steps p, .faq-item p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.75; }

.quick-start { padding-block: 5rem; }
.section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.25rem; }
.section-heading a { font-weight: 700; }
.quick-steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.5rem; }
.quick-steps li { display: grid; align-content: start; gap: .75rem; }
.quick-steps h3 { margin: 0; font-size: 1.25rem; }
.step-number { color: var(--tone, var(--gold)); font-family: var(--display-font); font-size: 4rem; line-height: 1; }

.principle-band { padding-block: 4.5rem; background: var(--gold); color: var(--background); }
.principle-band .section-title { margin-bottom: 1.75rem; }
.principles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; }
.principle { padding-top: .875rem; border-top: 4px solid var(--background); }
.principle h3 { margin: 0 0 .5rem; font-size: 1.125rem; }
.principle p { margin: 0; color: #3b2c05; font-size: .9375rem; line-height: 1.7; }

.page-intro, .legal { padding-top: 4rem; }
.page-intro h1, .legal h1 { margin: 0 0 1.125rem; font-size: clamp(1.875rem, 7vw, 3rem); line-height: 1.2; }
.how-intro { padding-bottom: 2.5rem; }
.how-intro > p:not(.kicker) { max-width: 45rem; margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.75; }

.walkthrough { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.75rem; margin-block: 0; padding-bottom: 4.5rem; list-style: none; }
.walkthrough-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; border: 1px solid var(--line); background: var(--panel); }
.walkthrough-heading { display: flex; align-items: center; gap: .75rem; }
.walkthrough-heading .step-number { font-size: 3rem; }
.walkthrough-heading h2, .how-notice h2 { margin: 0; font-size: 1.375rem; }
.walkthrough-card > p, .callout p { margin: 0; color: var(--body); font-size: .9375rem; line-height: 1.75; }
.phone-guide { align-self: center; width: 12.5rem; padding: .5rem; border-width: 6px; border-radius: 1.875rem; background: var(--background); }
.how-notice { padding-bottom: 5rem; }
.callout { display: grid; gap: .625rem; padding: 1.75rem; border: 2px solid var(--cyan); }
.callout h2 { margin: 0; color: var(--cyan); }

.split-layout { display: flex; flex-wrap: wrap; gap: 2.5rem; padding-bottom: 3.5rem; }
.split-main { flex: 999 1 32.5rem; min-width: 0; }
.split-main > p:not(.kicker) { margin: 0 0 .875rem; color: var(--body); font-size: 1.0625rem; line-height: 1.8; }
.split-main > p:last-child { margin-bottom: 0; }
.side-card { flex: 1 1 18.75rem; min-width: 0; display: flex; flex-direction: column; gap: .875rem; padding: 1.75rem; border: 1px solid var(--line); background: var(--panel); }
.side-card h2 { margin: 0; font-size: 1.25rem; }
.side-label, .side-description { margin: 0; color: var(--muted); font-size: .875rem; }
.side-description { line-height: 1.7; }
.side-card hr { width: 100%; margin: 0; border: 0; border-top: 1px solid var(--line); }
.contact-email { font-size: 1.0625rem; font-weight: 700; overflow-wrap: anywhere; }

.faq-band { padding-block: 4.5rem; background: var(--panel); }
.faq { max-width: calc(56.25rem + 2 * var(--gutter)); }
.faq .section-title { margin-bottom: 1.75rem; }
.faq-item { display: flex; gap: 1.125rem; padding-block: 1.375rem; border-top: 1px solid var(--line); }
.faq-marker { flex: none; color: var(--pink); font-family: var(--display-font); font-size: 1.75rem; line-height: 1.1; }
.faq-item h3 { margin: 0 0 .5rem; font-size: 1.125rem; }

.legal { max-width: calc(53.75rem + 2 * var(--gutter)); padding-bottom: 5rem; }
.legal h1 { margin-bottom: .75rem; }
.legal h1, .removal-layout h1 { font-size: clamp(1.875rem, 7vw, 2.75rem); }
.legal-date { margin: 0 0 2.5rem; color: var(--muted); font-size: .875rem; }
.privacy-date { margin-bottom: 2rem; }
.privacy-summary { margin-bottom: 2.5rem; padding: 1.375rem 1.5rem; }
.privacy-summary h2 { font-size: 1.125rem; }
.legal-section { margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 .75rem; font-size: 1.25rem; }
.legal-number { margin-right: .625rem; color: var(--pink); }
.legal-section p, .privacy-summary p { margin: 0; color: var(--body); font-size: .9375rem; line-height: 1.85; }
.keep-lines { white-space: pre-line; }

.split-main > .removal-description { margin-bottom: 2.25rem; }
.removal-step { display: flex; gap: 1.25rem; padding-bottom: 1.625rem; }
.removal-step .step-number { flex: 0 0 3.25rem; font-size: 2.75rem; }
.removal-step h2 { margin: 0 0 .5rem; font-size: 1.25rem; }
.removal-step p { margin: 0; color: var(--body); font-size: .9375rem; line-height: 1.8; }
.removal-card { flex-basis: 20rem; align-self: flex-start; gap: 1rem; }
.button-mail { padding: .75rem 1rem; }
.removal-card dl { display: grid; gap: 1rem; margin: 0; }
.removal-card dd { margin: 0; font-size: .9375rem; font-weight: 700; }

.not-found { padding-bottom: 5rem; }
.not-found p:not(.kicker) { margin: 0 0 1.5rem; color: var(--body); line-height: 1.75; }

@media (max-width: 42rem) {
  :root { --gutter: 1.25rem; }
  .header-inner { align-items: flex-start; flex-direction: column; }
  .header-nav, .footer-nav { column-gap: 1rem; row-gap: .75rem; }
  .hero { padding-block: 3rem 3.5rem; gap: 2rem; }
  .hero::before { right: 2.5rem; width: 8rem; height: 8rem; }
  .hero::after { top: 23rem; right: var(--gutter); width: 4rem; height: 4rem; }
  .feature-band, .quick-start, .principle-band, .faq-band { padding-block: 3rem; }
  .page-intro, .legal { padding-top: 2.75rem; }
  .split-layout { gap: 1.5rem; }
  .walkthrough, .how-notice, .legal, .not-found { padding-bottom: 3rem; }
  .feature-card, .walkthrough-card, .callout, .side-card { padding: 1.25rem; }
  .removal-step { gap: .875rem; }
  .removal-step .step-number { flex-basis: 2.25rem; }
  .site-footer { padding-block: 2rem; }
}
