:root {
  --ink: #182126;
  --muted: #5f6b77;
  --brand: #075e54;
  --brand-deep: #054d44;
  --brand-darker: #033a34;
  --cta: #1fa855;
  --warm: #f6f3ee;
  --chip: #e8f6ee;
  --line: #d9e5df;
  --white: #ffffff;
  --mint: #a8d5c4;
  --font-display: "Funnel Sans", "Noto Sans TC", system-ui, sans-serif;
  --font-body: "Newsreader", "Noto Serif TC", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--warm);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Nav ——— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-nav.is-scrolled {
  box-shadow: 0 4px 18px rgba(24, 33, 38, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand);
}

.brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  padding: 0.7rem 1.15rem;
  transition: transform 120ms ease, filter 120ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-cta {
  background: var(--brand);
  color: var(--white);
}

.btn-cta:hover {
  filter: brightness(1.08);
}

.btn-store {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.btn-store:hover {
  filter: brightness(0.98);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ——— Hero (EV-BOY-style split, SeekCourt green ground) ——— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(31, 168, 85, 0.22), transparent 55%),
    linear-gradient(180deg, var(--brand-deep) 0%, var(--brand) 55%, #0a6b5c 100%);
  color: var(--white);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  text-align: left;
  padding-top: 0.35rem;
}

.hero h1 {
  margin: 0;
  max-width: 14em;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.2vw, 3.15rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-lead {
  margin: 0;
  max-width: 34rem;
  font-size: 1.1rem;
  color: #d5ebe3;
  line-height: 1.5;
}

.hero-checklist {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  text-align: left;
}

.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.hero-check-icon {
  flex-shrink: 0;
  width: 1.5rem;
  margin-top: 0.1rem;
  font-size: 1.05rem;
  line-height: 1.3;
  text-align: center;
}

.hero-checklist strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

.hero-checklist p {
  margin: 0.28rem 0 0;
  max-width: 34rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #c5ddd4;
}

.hero-copy .store-row {
  margin-top: 0.5rem;
  justify-content: flex-start;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  justify-content: center;
  align-items: center;
}

.hero-visual {
  min-height: 32rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.hero-devices {
  position: relative;
  width: min(100%, 560px);
  height: 620px;
}

.device {
  position: absolute;
  margin: 0;
  width: 272px;
}

.device-back {
  left: 0;
  top: 2.75rem;
  transform: rotate(-5deg);
  z-index: 1;
}

.device-front {
  right: 0;
  top: 0;
  transform: rotate(3.5deg);
  z-index: 2;
}

.iphone {
  position: relative;
  width: 100%;
}

.iphone-bezel {
  position: relative;
  aspect-ratio: 9 / 19.5;
  width: 100%;
  border-radius: 2.55rem;
  padding: 0.42rem;
  background:
    linear-gradient(145deg, #3a3a3c 0%, #1c1c1e 38%, #0a0a0a 100%);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 2.15rem;
  overflow: hidden;
  background: #000;
}

.iphone-island {
  position: absolute;
  z-index: 3;
  top: 0.72rem;
  left: 50%;
  width: 28%;
  height: 1.15rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.iphone-home {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0.45rem;
  width: 34%;
  height: 0.28rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.iphone-btn {
  position: absolute;
  z-index: 0;
  display: block;
  background: #2a2a2c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.iphone-silent {
  left: -0.14rem;
  top: 6.2rem;
  width: 0.14rem;
  height: 1.15rem;
  border-radius: 2px 0 0 2px;
}

.iphone-vol-up {
  left: -0.14rem;
  top: 8.1rem;
  width: 0.14rem;
  height: 2.1rem;
  border-radius: 2px 0 0 2px;
}

.iphone-vol-down {
  left: -0.14rem;
  top: 10.6rem;
  width: 0.14rem;
  height: 2.1rem;
  border-radius: 2px 0 0 2px;
}

.iphone-power {
  right: -0.14rem;
  top: 9rem;
  width: 0.14rem;
  height: 3.2rem;
  border-radius: 0 2px 2px 0;
}

.device-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #e8efec;
}

.device-shot.is-missing {
  min-height: 100%;
  background:
    linear-gradient(160deg, #e8efec 0%, #d5e6df 100%);
}

/* ——— Shared section type ——— */
.section-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
}

.section-lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  color: var(--muted);
}

/* ——— How-to hub ——— */
.how-hub {
  background: var(--white);
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.how-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.how-card {
  display: block;
  padding: 1.5rem 1.35rem;
  background: var(--warm);
  border-radius: 0.35rem;
  transition: background 160ms ease, transform 160ms ease;
}

.how-card:hover {
  background: var(--chip);
  transform: translateY(-2px);
}

.how-card-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cta);
  text-transform: uppercase;
}

.how-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand);
}

.how-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.how-card-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand);
}

.how-card-host {
  box-shadow: inset 3px 0 0 var(--cta);
}

/* ——— Guide pages ——— */
.guide-hero {
  padding: 3rem 0 1.5rem;
}

.guide-eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cta);
  text-transform: uppercase;
}

.guide-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  color: var(--brand);
  line-height: 1.2;
}

.guide-steps {
  padding: 0 0 3rem;
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.15rem;
}

.step-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border-radius: 0.35rem;
  border: 1px solid var(--line);
}

.step-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--cta);
  min-width: 2rem;
  margin-top: 0.15rem;
}

.step-list h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.step-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.98rem;
}

.step-path {
  margin: 0.65rem 0 0 !important;
  font-family: var(--font-display);
  font-size: 0.88rem !important;
  font-weight: 600;
  color: var(--brand) !important;
  line-height: 1.4;
}

.step-outcome {
  margin: 0.55rem 0 0 !important;
  color: var(--ink) !important;
  font-size: 0.98rem !important;
  line-height: 1.5;
}

.step-sub {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.step-sub:first-of-type {
  border-top: none;
  padding-top: 0.35rem;
}

.step-sub h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--brand);
}

.step-sub p {
  margin: 0;
}

.step-note {
  margin: 0.55rem 0 0 !important;
  padding-left: 0.65rem;
  border-left: 2px solid var(--cta);
  font-size: 0.9rem !important;
  color: var(--ink) !important;
  line-height: 1.45;
}

.step-list .how-compare {
  margin-top: 0.75rem;
}

.how-compare-3 .how-compare-row {
  grid-template-columns: 0.9fr 1.05fr 1.15fr;
}

@media (max-width: 640px) {
  .how-compare-3 .how-compare-head {
    display: none;
  }

  .how-compare-3 .how-compare-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .how-compare-3 .how-compare-q {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.15rem;
  }

  .how-compare-3 .how-compare-public,
  .how-compare-3 .how-compare-invite {
    color: var(--muted);
  }

  .how-compare-3 .how-compare-public::before,
  .how-compare-3 .how-compare-invite::before {
    content: attr(data-col) "：";
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--brand);
  }
}

.guide-compare {
  padding: 0 0 1.75rem;
}

.guide-section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brand);
}

.how-compare {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  overflow: hidden;
  background: var(--white);
}

.how-compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.4;
}

.how-compare-row:first-child {
  border-top: none;
}

.how-compare-head {
  background: var(--warm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand);
}

.how-compare-row span:last-child {
  color: var(--muted);
}

.how-compare-head span:last-child {
  color: var(--brand);
}

.guide-cross-inline {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
}

.guide-cross-inline a {
  color: var(--brand);
}

.guide-cross-inline a:hover {
  color: var(--cta);
}

.faq-guide-link {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--brand);
}

.faq-guide-link:hover {
  color: var(--cta);
}

@media (max-width: 640px) {
  .how-compare-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.guide-cross {
  margin: 1.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
}

.final-cta .guide-cross {
  margin: 1.75rem 0 0;
  color: inherit;
}

.guide-cross a {
  color: var(--mint);
}

.guide-cross a:hover {
  color: #fff;
}

/* ——— FAQ ——— */
.faq {
  background: var(--warm);
  padding: 4rem 0;
}

.faq-list {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--cta);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  max-width: 48rem;
  line-height: 1.5;
}

/* ——— Press ——— */
.press {
  background: var(--white);
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.press-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem 1.35rem;
  background: var(--warm);
  border-radius: 0.35rem;
  box-shadow: inset 3px 0 0 var(--cta);
  transition: background 160ms ease, transform 160ms ease;
}

.press-card:hover {
  background: var(--chip);
  transform: translateY(-2px);
}

.press-outlet {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cta);
  text-transform: uppercase;
}

.press-headline {
  margin: 0 0 1.15rem;
  flex: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--brand);
}

.press-cta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand);
}

.press-card:hover .press-cta {
  color: var(--cta);
}

@media (max-width: 900px) {
  .press-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Final CTA ——— */
.final-cta {
  background: var(--brand);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.final-cta h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
}

.final-cta p {
  margin: 0 0 1.5rem;
  color: var(--mint);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--brand-darker);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.footer-tag {
  margin: 0;
  color: #7a9a80;
  max-width: 18rem;
  font-size: 0.95rem;
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint);
}

.footer-col a {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: #e8efec;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-copy {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7a9a80;
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.45rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--brand);
  cursor: pointer;
}

@media (max-width: 900px) {
  .footer-grid,
  .hero-grid,
  .how-cards {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 0;
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  .hero-devices {
    height: 480px;
    width: min(100%, 400px);
    margin: 0 auto;
  }

  .device {
    width: 220px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

  .site-nav.is-open .nav-links a {
    padding: 0.75rem 0;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 2rem);
  }

  .hero-copy .store-row {
    width: 100%;
  }

  .store-row .btn {
    width: 100%;
  }

  .nav-actions .btn-cta span {
    display: none;
  }

  .hero-devices {
    width: 100%;
    height: 420px;
  }

  .device {
    width: 180px;
  }

  .device-back {
    left: 4%;
  }

  .device-front {
    right: 4%;
  }
}

.store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.store-badge img {
  display: block;
  height: 40px;
  width: auto;
}

.final-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  text-align: left;
}

.final-copy h2 {
  text-align: left;
}

.final-copy > p {
  text-align: left;
}

.store-row-final {
  justify-content: flex-start;
}

.qr-block {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
}

.qr-img {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  background: #fff;
  border-radius: 0.5rem;
}

.qr-caption {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--mint);
}

.footer-contact {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.footer-contact a {
  color: var(--mint);
}

.footer-contact a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .final-grid {
    grid-template-columns: 1fr;
  }

  .final-grid {
    text-align: center;
    justify-items: center;
  }

  .final-copy h2,
  .final-copy > p {
    text-align: center;
  }

  .store-row-final {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .store-row {
    align-items: center;
  }

  .store-badge img {
    height: 40px;
  }
}
