:root {
  --ink: #17211c;
  --muted: #5f6d66;
  --line: #dfe7e2;
  --soft-line: #edf2ef;
  --surface: #ffffff;
  --wash: #f6f8f5;
  --wash-strong: #eef4ef;
  --green: #2f6f4f;
  --green-dark: #204e38;
  --brick: #d94f33;
  --brick-dark: #bd3d24;
  --focus: #2f6f4f;
  --shadow: 0 18px 50px rgba(23, 33, 28, 0.10);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
summary,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding: 84px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--soft-line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 28px;
  color: #35423b;
  font-size: 0.95rem;
}

.nav a,
.footer-inner a {
  transition: color 160ms ease;
}

.nav a:hover,
.footer-inner a:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.locale-select {
  width: auto;
  min-width: 128px;
  padding: 0.68rem 0.86rem;
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.header-cta,
button {
  border: 0;
  border-radius: 8px;
  background: var(--brick);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease;
}

.header-cta {
  padding: 0.75rem 1.1rem;
}

button {
  padding: 0.9rem 1.15rem;
}

.header-cta:hover,
button:hover {
  background: var(--brick-dark);
  transform: translateY(-1px);
}

.hero {
  padding-top: 52px;
  padding-bottom: 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 74px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero .eyebrow {
  display: inline-flex;
  max-width: 100%;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--wash);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11em;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4.5vw, 3.8rem);
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  line-height: 1.24;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.35;
}

.lead {
  max-width: 34rem;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.domain-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  direction: ltr;
  max-width: 600px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(23, 33, 28, 0.07);
  overflow: hidden;
}

.domain-form input {
  min-width: 0;
  border: 0;
  direction: ltr;
  padding: 1.05rem 1.15rem;
}

.domain-form .suffix {
  padding: 0 1.15rem;
  color: var(--green-dark);
  font-size: 1.15rem;
  font-weight: 800;
}

.domain-form button {
  height: 100%;
  border-radius: 0;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  color: var(--green-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-notes span {
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

.hero-notes span:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-media {
  margin: 0;
  min-width: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.result {
  max-width: 600px;
  margin: 12px 0 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: var(--wash-strong);
  color: var(--ink);
}

.result.taken {
  background: #fff0ed;
  color: #8f2d1f;
}

.result.available {
  background: #edf8f1;
  color: var(--green-dark);
}

.trust-band,
.muted {
  background: var(--wash);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.service-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 980px;
  margin-inline: auto;
}

.service-points article {
  padding: 20px 34px;
  text-align: center;
}

.service-points article + article {
  border-left: 1px solid var(--line);
}

.service-points p,
.process-list p,
.price-panel li,
.maintenance-copy p,
.faq-list p,
.privacy-note {
  color: var(--muted);
}

.scope-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.scope-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.scope-row + .scope-row {
  border-top: 1px solid var(--line);
}

.scope-row > div {
  padding: 16px 22px;
}

.scope-row > div:first-child {
  border-right: 1px solid var(--line);
  color: var(--green-dark);
  font-weight: 800;
}

.scope-head {
  background: var(--wash-strong);
  color: var(--green-dark);
  font-weight: 800;
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 116px;
}

.process-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.process-list li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 24px;
  padding: 26px;
}

.process-list li + li {
  border-top: 1px solid var(--line);
}

.process-list span {
  color: var(--brick);
  font-weight: 900;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 0.92fr 0.92fr 1.25fr;
  gap: 28px;
  align-items: stretch;
}

.price-panel,
.maintenance-copy,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.price-panel,
.maintenance-copy {
  padding: 28px;
}

.price-panel.primary {
  border-color: color-mix(in srgb, var(--green) 35%, var(--line));
}

.price {
  margin-bottom: 18px;
  color: var(--green);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}

.price-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.1rem;
}

.plain-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.plain-list p {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--soft-line);
}

.faq-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.9fr);
  gap: 64px;
  align-items: start;
}

.faq-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

details + details {
  border-top: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 0;
  padding: 0 22px 20px;
}

.contact-panel {
  padding: 28px;
  box-shadow: 0 12px 36px rgba(23, 33, 28, 0.08);
}

.intake-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.intake-form textarea,
.intake-form select,
.intake-form .cf-turnstile,
.intake-form button {
  grid-column: 1 / -1;
}

.intake-form textarea {
  min-height: 108px;
  resize: vertical;
}

input,
textarea,
select {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0.88rem 0.95rem;
}

input::placeholder,
textarea::placeholder {
  color: #8a968f;
}

input[readonly] {
  background: var(--wash);
}

.privacy-note {
  margin: 12px 0 0;
  font-size: 0.88rem;
}

.site-footer {
  border-top: 1px solid var(--soft-line);
  background: #fff;
}

.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 14px 20px;
    padding: 14px 0;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .two-column,
  .faq-contact-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-copy,
  .lead,
  .section-heading {
    max-width: none;
  }

  .sticky-copy {
    position: static;
  }

  .service-points {
    grid-template-columns: 1fr;
  }

  .service-points article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .container {
    width: 100%;
    padding-inline: 28px;
  }

  .section {
    padding: 58px 0;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .locale-select {
    min-width: 116px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .domain-form,
  .intake-form,
  .scope-row,
  .process-list li {
    grid-template-columns: 1fr;
  }

  .domain-form {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    border: 0;
    box-shadow: none;
    gap: 10px;
    background: transparent;
  }

  .domain-form input,
  .domain-form .suffix,
  .domain-form button {
    width: 100%;
    min-width: 0;
    border-radius: 8px;
  }

  .domain-form input {
    border: 1px solid var(--line);
  }

  .domain-form .suffix {
    width: max-content;
    padding: 0.25rem 0;
  }

  .scope-row > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
    padding-bottom: 8px;
  }

  .scope-row > div:last-child {
    padding-top: 8px;
  }

  .contact-panel,
  .price-panel,
  .maintenance-copy {
    padding: 22px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 9vw, 2.2rem);
  }

  h2 {
    font-size: clamp(1.5rem, 7vw, 1.85rem);
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 1rem;
  }

  p,
  h3,
  summary,
  li {
    line-break: anywhere;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .lead,
  .section-heading p,
  .service-points p,
  .process-list p,
  .maintenance-copy p,
  .faq-list p {
    max-width: 28ch;
  }

  .centered,
  .service-points article {
    text-align: left;
  }

  .service-points article {
    padding-inline: 0;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
