:root {
  color-scheme: light;

  /* Palette */
  --paper-100: #f8f9f3;
  --paper-0: #fffef9;
  --sage-100: #eef2e8;
  --sage-300: #cbd6c7;
  --sage-450: #81927f;
  --forest-950: #192a21;
  --forest-900: #213e30;
  --forest-800: #2d503e;
  --forest-650: #42664e;
  --forest-550: #516456;
  --sage-50: #e1eade;
  --lime-100: #dceeb1;

  /* Roles */
  --page: var(--paper-100);
  --surface: var(--paper-0);
  --tinted: var(--sage-100);
  --ink: var(--forest-950);
  --muted: var(--forest-550);
  --shade: var(--forest-650);
  --rule: var(--sage-300);
  --field-border: var(--sage-450);
  --band: var(--forest-900);
  --band-hover: var(--forest-800);
  --band-rule: var(--forest-650);
  --on-band: var(--paper-0);
  --on-band-muted: var(--sage-50);
  --accent: var(--lime-100);
  --accent-hover: var(--sage-50);
  --focus-on-surface: var(--forest-650);
  --focus: var(--focus-on-surface);

  --body-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --layout-width: 76rem;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
  --section-space: clamp(3.5rem, 7vw, 6.5rem);
  --gap: clamp(1.1rem, 3vw, 2.6rem);
  --radius-small: .35rem;
  --radius-panel: .6rem;
  --tap: 2.75rem;
  --quick: 180ms;
  --settle: 580ms;
  --ease: cubic-bezier(.22, .7, .3, 1);
}

*, *::after, *::before { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1rem/1.6 var(--body-font); }
p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: .1875rem solid var(--focus); outline-offset: .25rem; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--layout-width)); margin-inline: auto; }
section[id] { scroll-margin-top: 1.25rem; }

.skip-link {
  position: absolute;
  z-index: 2;
  top: .65rem;
  left: .65rem;
  transform: translateY(-180%);
  padding: .65rem 1rem;
  border-radius: var(--radius-small);
  background: var(--accent);
}
.skip-link:focus { transform: none; }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
}
.header-inner { min-height: 5rem; border-bottom: 1px solid var(--rule); }
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 820;
  line-height: 1;
  letter-spacing: -.065em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark > span { color: var(--shade); }
.wordmark > small {
  margin-left: .75rem;
  padding-left: .75rem;
  border-left: 1px solid var(--rule);
  color: var(--muted);
  font-size: .875rem;
  font-weight: 520;
  letter-spacing: 0;
}
nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2.15rem); }
.nav-item, .footer-contact {
  display: inline-flex;
  min-height: var(--tap);
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.nav-item:hover, .footer-contact:hover { text-decoration: underline; text-underline-offset: .24em; }

.language-menu { position: relative; flex: none; }
.language-menu summary {
  display: flex;
  min-height: var(--tap);
  align-items: center;
  gap: .45rem;
  padding-inline: .55rem;
  border-radius: var(--radius-small);
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 620;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after {
  width: .45rem;
  height: .45rem;
  margin-top: -.15rem;
  border-right: .11rem solid currentColor;
  border-bottom: .11rem solid currentColor;
  transform: rotate(45deg);
  content: "";
}
.language-menu[open] summary, .language-menu summary:hover { background: var(--tinted); }
.language-menu[open] summary::after { margin-top: .15rem; transform: rotate(225deg); }
.language-options {
  position: absolute;
  z-index: 2;
  top: calc(100% + .38rem);
  right: 0;
  min-width: 8.75rem;
  margin: 0;
  padding: .25rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-small);
  background: var(--surface);
  list-style: none;
}
.language-options a {
  display: flex;
  min-height: var(--tap);
  align-items: center;
  padding-inline: .65rem;
  border-radius: var(--radius-small);
  text-decoration: none;
  white-space: nowrap;
}
.language-options a:hover, .language-options a[aria-current="page"] { background: var(--tinted); }
.language-options a[aria-current="page"] { font-weight: 720; }

.button {
  --button-background: var(--band);
  --button-color: var(--on-band);
  --button-border: transparent;
  --button-hover: var(--band-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.125rem;
  padding: .65rem 1.12rem;
  border: 1px solid var(--button-border);
  border-radius: var(--radius-small);
  background: var(--button-background);
  color: var(--button-color);
  cursor: pointer;
  font-weight: 660;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: transform var(--quick) var(--ease), background-color var(--quick) var(--ease);
}
.button:hover { transform: translateY(-.125rem); background: var(--button-hover); }
.button:active { transform: translateY(0); }
.button:disabled { cursor: default; opacity: .68; transform: none; }
.button-outline, .button-light {
  --button-background: transparent;
  --button-color: var(--ink);
  --button-border: var(--field-border);
  --button-hover: var(--tinted);
}
.button-outline { min-height: var(--tap); padding-inline: .9rem; }
.button-green {
  --button-background: var(--accent);
  --button-color: var(--ink);
  --button-hover: var(--accent-hover);
  --button-border: var(--accent);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: min(54rem, calc(100svh - 5rem));
  padding-block: clamp(2.5rem, 7vh, 5.25rem);
}
h1, h2 {
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -.052em;
  line-height: 1.02;
}
h1 { font-size: clamp(3.2rem, 6.5vw, 6rem); }
h1 em { color: var(--shade); font-weight: inherit; white-space: nowrap; }
h2 { font-size: clamp(2.45rem, 4vw, 4.15rem); text-wrap: balance; }
h3 { font-size: 1.15rem; line-height: 1.28; letter-spacing: -.024em; }
html:lang(ja) { --display-font: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; }
html:lang(zh-Hans) { --display-font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
html:lang(zh-Hant) { --display-font: "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif; }
html:not(:lang(en)) h1 {
  font-size: clamp(2rem, 4.3vw, 4.4rem);
  font-weight: 720;
  letter-spacing: -.055em;
  line-height: 1.18;
}
html:not(:lang(en)) h1 em { font-style: normal; white-space: normal; }
html:not(:lang(en)) h2 {
  font-size: clamp(1.85rem, 3.1vw, 3.05rem);
  font-weight: 685;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.hero-description {
  max-width: 29rem;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}
.hero-action { display: flex; align-items: center; gap: .9rem 1.15rem; flex-wrap: wrap; margin-top: 1.65rem; }
.hero-price { font-size: .95rem; font-weight: 695; line-height: 1.4; }
.hero-price > small { display: block; color: var(--muted); font-size: .875rem; font-weight: 470; }
.hero-photo {
  overflow: hidden;
  aspect-ratio: 1.18;
  border-radius: var(--radius-panel) var(--radius-panel) var(--radius-panel) clamp(1.8rem, 6vw, 5.25rem);
  background: var(--ink);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  transition: transform var(--settle) var(--ease);
}
.hero-photo:hover img { transform: scale(1.025); }

.details-section { padding-block: var(--section-space); background: var(--tinted); border-block: 1px solid var(--rule); }
.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}
.pricing-intro > p, .quote-intro > p { margin-top: .8rem; }
.pricing-intro > p { max-width: 19rem; color: var(--muted); }
.price-grid { border-top: 1px solid var(--field-border); }
.price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, .59fr);
  gap: var(--gap);
  align-items: start;
  padding-block: clamp(1.35rem, 3.25vw, 2.35rem);
  border-bottom: 1px solid var(--field-border);
}
.price-copy h3 { margin-block: .28rem .48rem; font-size: clamp(1.38rem, 2.1vw, 1.95rem); }
.price-copy > p, .rate-note { color: var(--muted); }
.price-context { font-size: .9rem; font-weight: 650; }
.price-action { justify-self: start; }
.rate { font-size: clamp(2rem, 3.05vw, 2.75rem); font-weight: 730; letter-spacing: -.065em; line-height: 1.05; white-space: nowrap; }
.rate > span { margin-left: .1rem; color: var(--muted); font-size: .875rem; font-weight: 520; letter-spacing: 0; }
.rate-note { max-width: 14rem; margin-top: .55rem; font-size: .9rem; line-height: 1.45; }
.price-action > .button { margin-top: .86rem; }

.service { padding-block: var(--section-space); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin: clamp(1.65rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}
.steps li { padding-top: 1.15rem; border-top: 1px solid var(--rule); }
.steps h3 { display: flex; align-items: center; gap: .65rem; }
.step-number {
  display: inline-grid;
  flex: 0 0 1.65rem;
  height: 1.65rem;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--shade);
  font-size: .875rem;
}
.steps p { max-width: 22rem; margin-top: .6rem; color: var(--muted); }

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr);
  align-items: start;
  gap: clamp(1.2rem, 6vw, 5rem);
  padding-block: clamp(2.7rem, 6vw, 5.25rem);
  border-top: 1px solid var(--rule);
}
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary {
  position: relative;
  display: block;
  min-height: var(--tap);
  padding: .9rem 2rem .9rem 0;
  cursor: pointer;
  font-weight: 640;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  position: absolute;
  top: 1.22rem;
  right: .12rem;
  width: .58rem;
  height: .58rem;
  border-right: .1rem solid var(--shade);
  border-bottom: .1rem solid var(--shade);
  transform: rotate(45deg);
  content: "";
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-.12rem, -.12rem); }
.faq details p { max-width: 40rem; margin: -.06rem 1.7rem 1rem 0; color: var(--muted); }

.quote-section, .site-footer {
  --focus: var(--accent);
  background: var(--band);
  color: var(--on-band);
}
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(1.45rem, 6vw, 5.4rem);
  padding-block: var(--section-space);
}
.quote-intro > p { max-width: 24rem; color: var(--on-band-muted); }
.quote-intro strong { color: var(--on-band); }
.form-card {
  --focus: var(--focus-on-surface);
  min-width: 0;
  padding: clamp(1.1rem, 3.2vw, 2.3rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius-panel);
  background: var(--surface);
  color: var(--ink);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
form label { display: block; margin-bottom: 1rem; font-size: .95rem; font-weight: 650; }
.route-field { margin-bottom: 1rem; }
.route-field label { margin-bottom: 0; }
.field-optional, .field-help { color: var(--muted); font-size: .875rem; font-weight: 420; }
.field-help { margin-top: .15rem; }
input, select, textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: var(--tap);
  margin-top: .32rem;
  padding: .58rem .72rem;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 420;
}
select {
  appearance: none;
  padding-right: 2.4rem;
  background:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%) right 1rem center / .35rem .35rem no-repeat,
    linear-gradient(135deg, var(--muted) 50%, transparent 50%) right .65rem center / .35rem .35rem no-repeat,
    var(--surface);
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); }
.request-result { margin-top: 1.45rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.request-result > p { margin-block: .45rem; color: var(--muted); }
.request-result textarea { background: var(--tinted); }
.result-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .83rem; }
.copy-status:empty { display: none; }
.footer-inner { min-height: 5rem; border-top: 1px solid var(--band-rule); }
.site-footer .wordmark { color: var(--on-band); }
.site-footer .wordmark > span { color: var(--accent); }
.site-footer .wordmark > small { border-color: var(--band-rule); color: var(--on-band-muted); }
.footer-contact { color: var(--on-band-muted); }

@keyframes arrive {
  from { transform: translateY(.75rem); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive var(--settle) var(--ease) both; }
  .hero-photo { animation: arrive var(--settle) var(--ease) 80ms both; }
  @supports (animation-timeline: view()) {
    .steps {
      animation: arrive linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 44%;
    }
  }
}

@media (max-width: 850px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1.7rem;
    padding-block: 2.75rem 1.7rem;
  }
  h1 { font-size: clamp(3.1rem, 9vw, 4.6rem); }
  html:not(:lang(en)) h1 { font-size: clamp(2rem, 7.9vw, 4.4rem); }
  .hero-photo { aspect-ratio: 1.55; }
  .pricing-layout, .faq-section, .quote-layout { grid-template-columns: 1fr; }
  .pricing-intro > p { max-width: 28rem; }
}
@media (max-width: 700px) {
  .nav-item { display: none; }
}
@media (max-width: 560px) {
  .header-inner { min-height: 4.25rem; }
  .hero-inner { min-height: calc(100svh - 4.25rem); align-content: center; }
  .hero-description { margin-top: .95rem; }
  .hero-action { margin-top: 1.2rem; }
  .hero-photo { aspect-ratio: 1.32; }
  .steps { grid-template-columns: 1fr; gap: 1.05rem; }
  .price-card { grid-template-columns: 1fr; gap: .85rem; }
  .price-action .button { margin-top: .72rem; }
}
@media (max-width: 420px) {
  .header-inner { gap: .45rem; }
  .site-header .wordmark { font-size: 1.12rem; }
  .site-header .wordmark > small { display: none; }
  .site-header nav { gap: .35rem; }
  .site-header .button-outline { padding-inline: .58rem; font-size: .875rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .hero-photo img { transition: none; }
  .button:hover, .hero-photo:hover img { transform: none; }
}
