:root {
  color-scheme: light;
  --paper: #fcfbf6;
  --white: #fffefa;
  --ink: #1d322b;
  --green: #173f35;
  --forest: #153c32;
  --muted: #53625a;
  --rule: #ced3c8;
  --clay: #ac4d32;
  --pale-clay: #f4e9dc;
  --serif: Georgia, "Noto Serif HK", "Songti TC", "Noto Serif CJK TC", PMingLiU, serif;
  --sans: "Noto Sans HK", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.8 var(--sans); }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .25em; }
button, input, summary { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, fieldset { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.28; }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); letter-spacing: -.055em; }
h3, h4 { line-height: 1.45; }
.error-title { margin-block: 1rem; font-size: clamp(2.3rem, 6vw, 5rem); }
::selection { color: #fff; background: #376850; }
:focus-visible { outline: 3px solid #bf592d; outline-offset: 4px; }
[id] { scroll-margin-top: 2rem; }
[hidden] { display: none !important; }
.wrap { width: min(100% - clamp(3rem, 11vw, 11rem), 75rem); margin-inline: auto; }
.section-space { padding-block: clamp(4.25rem, 7vw, 7.2rem); }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; z-index: 10; inset: 1rem auto auto 1rem; padding: .55rem 1rem; background: white; }
.site-header { position: relative; z-index: 3; border-bottom: 1px solid var(--rule); background: var(--paper); }
.header-inner { display: flex; gap: 2rem; align-items: center; min-height: 5.15rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--green); text-decoration: none; }
.brand img { width: 1.7rem; height: auto; }
.brand span { font: 600 1.85rem/1 Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.7vw, 2.7rem); margin-left: auto; }
.desktop-nav a, .mobile-menu nav a { font-size: .94rem; text-decoration: none; }
.desktop-nav a:hover, .mobile-menu nav a:hover { text-decoration: underline; text-underline-offset: .4em; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: .65rem;
  min-height: 3.1rem; padding: .68rem 1.55rem; border: 1px solid transparent; border-radius: .3rem;
  font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none;
  transition: background-color .16s, color .16s, border-color .16s;
}
.button-primary, .header-contact { color: white; background: var(--green); }
.button-primary:hover, .header-contact:hover { background: #2d5949; }
.header-contact { min-height: 2.55rem; padding: .45rem 1.05rem; font-size: .9rem; }
.mobile-menu { display: none; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; column-gap: clamp(2.3rem, 5vw, 5.5rem);
  padding-block: clamp(3.2rem, 5vw, 5.2rem) clamp(3.2rem, 5vw, 5rem);
}
.hero-copy { padding-bottom: 1.5rem; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--clay); font-size: .89rem; font-weight: 650; letter-spacing: .12em; line-height: 1.5; }
.eyebrow > span { width: 1.75rem; height: 2px; flex: none; background: currentColor; }
.hero h1 { margin-top: 1.35rem; font-size: clamp(3.2rem, 5.7vw, 5.5rem); letter-spacing: -.062em; line-height: 1.17; color: var(--ink); }
.hero h1 em { color: var(--green); font-style: normal; white-space: nowrap; }
.full-stop { color: var(--clay); }
.hero-intro { max-width: 28em; margin-top: 1.6rem; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.7rem; margin-top: 2.1rem; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650; color: var(--green); text-underline-offset: .36em; }
.text-link:hover { color: var(--clay); }
.cover-figure { width: 100%; max-width: 35rem; justify-self: end; }
.doorframe { --arch: 50% 50% 0 0 / 54% 54% 0 0; position: relative; margin: .7rem .65rem 0 0; }
.doorframe::before { content: ""; position: absolute; inset: -.7rem -.65rem .55rem .65rem; border: 1px solid #aaba9c; border-radius: var(--arch); }
.doorframe picture { position: relative; display: block; overflow: hidden; border-radius: var(--arch); background: #d4d4bd; }
.doorframe img { width: 100%; aspect-ratio: 1.13; object-fit: cover; object-position: center 55%; }
.cover-figure figcaption { display: flex; align-items: center; gap: .7rem; margin-top: .75rem; color: var(--muted); font-size: .8125rem; letter-spacing: .06em; line-height: 1.5; }
.cover-figure figcaption::after { content: ""; flex: 1; height: 1px; background: var(--rule); order: 1; }
.cover-figure figcaption span:last-child { order: 2; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 2.5rem; margin-top: .8rem; }
.section-intro > p { max-width: 26rem; line-height: 1.85; }
.service-section { background: var(--forest); color: #fbf9ee; }
.service-section .eyebrow, .contact-section .eyebrow { color: #e7b793; }
.service-section .section-intro > p, .service-grid p { color: #d2dfd3; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; margin-top: clamp(2.7rem, 5vw, 4.3rem); }
.service-grid article { border-top: 1px solid #658175; padding-top: 1.35rem; }
.line-icon { width: 2rem; height: 2rem; display: block; fill: none; stroke: #e5be9b; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.service-grid h3 { margin: 1.25rem 0 .65rem; font: 600 clamp(1.35rem, 2vw, 1.7rem)/1.4 var(--serif); }
.service-grid p { line-height: 1.85; }
.example-section { background: #f0f0e7; }
.example-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.preview-window { display: block; overflow: hidden; border: 1px solid #b6beb0; border-radius: .45rem; text-decoration: none; }
.preview-window:hover { box-shadow: 0 .6rem 1.6rem #25362b19; }
.preview-bar { display: flex; align-items: center; gap: .65rem; padding: .65rem 1rem; background: #fffef7; color: var(--muted); font-size: .8125rem; }
.preview-bar i { display: inline-block; width: .48rem; height: .48rem; margin-right: 1.3rem; border-radius: 50%; background: #ae6550; box-shadow: .65rem 0 #ccad6e, 1.3rem 0 #82977a; }
.preview-scene { position: relative; display: grid; align-items: end; isolation: isolate; }
.preview-scene img { width: 100%; aspect-ratio: 1.9; object-fit: cover; object-position: center 60%; }
.preview-scene::after { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, #14251cd6, transparent 80%); }
.preview-type { position: absolute; z-index: 1; bottom: 12%; left: 8%; color: #fffdf1; font: 600 clamp(1.7rem, 3.5vw, 3.2rem)/1.26 var(--serif); letter-spacing: -.055em; }
.example-copy h2 { margin: .9rem 0 1.1rem; }
.example-copy > p:not(.eyebrow) { color: var(--muted); }
.example-copy .text-link { margin-top: 1.2rem; }
.pricing-section .section-intro > p { color: var(--muted); }
.setup-panel { display: grid; grid-template-columns: .84fr 1.5fr; align-items: center; gap: 2rem; margin-top: 2.1rem; padding: clamp(1.7rem, 3.5vw, 3rem); border-left: .28rem solid var(--clay); background: var(--pale-clay); }
.setup-panel h3 { font-size: 1.05rem; }
.price { display: flex; gap: .18em; flex-wrap: wrap; align-items: baseline; font: 500 clamp(2.55rem, 4.5vw, 4.1rem)/1.17 Georgia, "Times New Roman", serif; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.06em; }
.price span { font: 600 .35em/1 var(--sans); letter-spacing: 0; }
.price small { font: 400 1rem/1.4 var(--sans); letter-spacing: 0; }
.setup-price .price { margin-top: .3rem; color: #833e28; }
.setup-copy p + p { margin-top: .45rem; color: var(--muted); }
.pilot-note { color: var(--muted); margin: .75rem 0 0; font-size: .9375rem; }
.pilot-note strong { color: var(--ink); }
.plans-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin: 2.8rem 0 1.15rem; }
.plans-heading h3 { font: 600 1.65rem/1.45 var(--serif); }
.billing-switch { display: inline-flex; padding: .22rem; border: 1px solid var(--rule); background: #eeefe7; border-radius: .4rem; }
.billing-switch label { position: relative; cursor: pointer; }
.billing-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.billing-switch span { display: block; padding: .55rem 1rem; border-radius: .24rem; font-size: .95rem; line-height: 1.5; }
.billing-switch input:checked + span { background: var(--green); color: #fff; }
.billing-switch input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.plan { display: flex; flex-direction: column; padding: clamp(1.6rem, 3.5vw, 3rem); border: 1px solid var(--rule); background: var(--white); }
.plan h4 { font: 600 clamp(1.7rem, 2.8vw, 2.3rem)/1.4 var(--serif); }
.plan-description { color: var(--muted); margin-top: .45rem; }
.plan-prices { margin: 1.45rem 0 1.25rem; }
.plan-prices .price + .price:not([hidden]) { margin-top: .4rem; }
.plan-prices .price[hidden] + .price { margin-top: 0; }
.feature-list { list-style: none; margin: 0 0 1.8rem; padding: 1.15rem 0 0; border-top: 1px solid var(--rule); }
.feature-list li { position: relative; padding-left: 1.55rem; }
.feature-list li + li { margin-top: .4rem; }
.feature-list li::before { content: ""; position: absolute; width: .62rem; height: .35rem; top: .63rem; left: .12rem; border-left: 1.7px solid; border-bottom: 1.7px solid; transform: rotate(-45deg); }
.plan-link { align-self: start; margin-top: auto; border-color: var(--green); color: var(--green); }
.plan-link:hover { background: var(--green); color: #fff; }
.plan-green { background: var(--green); border-color: var(--green); color: var(--paper); }
.plan-green .plan-description { color: #d4e1d5; }
.plan-green .feature-list { border-color: #628074; }
.plan-green .plan-link, .button-light { color: var(--green); background: #f9f6e9; border-color: #f9f6e9; }
.plan-green .plan-link:hover, .button-light:hover { color: var(--green); background: #e4e7d9; border-color: #e4e7d9; }
.modules { margin-top: 3rem; }
.modules h3 { font: 600 1.65rem/1.4 var(--serif); }
.modules > p, .module-ideas p { margin-top: .55rem; color: var(--muted); }
.module-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 1.35rem 0; }
.module-list > div { border-top: 1px solid var(--rule); padding-top: .85rem; }
.modules dt { font-weight: 650; }
.modules dd { color: var(--muted); margin: .3rem 0 0; }
.module-ideas > summary { padding-block: .55rem; width: fit-content; color: var(--green); font-weight: 650; text-decoration: underline; text-underline-offset: .3rem; }
.module-ideas > summary::before { content: "+"; display: inline-block; margin-right: .65rem; text-decoration: none; }
.module-ideas[open] > summary::before { content: "−"; }
.module-ideas dl > div + div { margin-top: .85rem; }
.faq-section { border-top: 1px solid var(--rule); }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 6vw, 6rem); }
.faq-grid h2 { margin-top: 1rem; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { position: relative; padding: 1.25rem 2.25rem 1.25rem 0; font-size: 1.07rem; font-weight: 650; line-height: 1.65; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: .25rem; top: 50%; width: 1rem; height: 1.5px; background: var(--green); }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] > summary::after { display: none; }
.faq-list summary:hover { color: var(--clay); }
.faq-list details p { margin: -.15rem 1.8rem 1.3rem 0; color: var(--muted); }
.contact-section { background: var(--forest); color: var(--paper); padding-block: clamp(3.4rem, 6vw, 5.4rem); }
.contact-grid { display: flex; justify-content: space-between; align-items: center; gap: 2.4rem; }
.contact-section h2 { margin: .8rem 0; }
.contact-section h2 .full-stop { color: #e7b793; }
.contact-section p:not(.eyebrow) { color: #d4e1d5; }
.contact-actions { display: grid; gap: .55rem; justify-items: start; flex: none; }
.button svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.email-address { color: #f3f3e6; padding-block: .24rem; font-size: 1rem; }
.site-footer > div { display: flex; align-items: center; gap: 1.25rem; padding-block: 1.65rem; color: var(--muted); font-size: .9rem; }
.site-footer .brand span { font-size: 1.35rem; }
.site-footer .brand img { width: 1.25rem; }
.top-link { margin-left: auto; padding: .4rem 0; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 3.5rem); }
  .header-inner, .desktop-nav { gap: 1.3rem; }
  .section-intro { align-items: start; }
  .section-intro > p { max-width: 21rem; }
  .service-grid { gap: 1.7rem; }
  .hero { column-gap: 1.8rem; }
  .hero-actions { gap: 1.2rem; }
  .hero h1 { font-size: clamp(3rem, 6vw, 4.2rem); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.75rem); }
  .header-inner { min-height: 4.15rem; }
  .brand span { font-size: 1.58rem; }
  .brand img { width: 1.45rem; }
  .desktop-nav { display: none; }
  .header-contact { margin-left: auto; min-height: 2.75rem; }
  .mobile-menu { position: relative; display: block; }
  .mobile-menu > summary { display: flex; align-items: center; gap: .42rem; min-height: 2.75rem; font-size: .9rem; }
  .menu-lines { width: 1rem; height: .65rem; border-block: 1.5px solid var(--green); }
  .mobile-menu[open] .menu-lines { transform: rotate(-12deg); }
  .mobile-menu nav { display: grid; position: absolute; top: calc(100% + .4rem); right: 0; min-width: 11rem; padding: .4rem .9rem; border: 1px solid var(--rule); background: var(--white); box-shadow: 0 .5rem 1.5rem #1c39221a; }
  .mobile-menu nav a { padding: .58rem .3rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; padding-block: 2.75rem 2.8rem; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { margin-top: 1.05rem; font-size: clamp(3rem, 9.7vw, 4.4rem); }
  .hero-intro { margin-top: 1.05rem; }
  .hero-actions { margin-top: 1.4rem; }
  .cover-figure { max-width: 32rem; justify-self: center; }
  .doorframe img { aspect-ratio: 1.36; object-position: center 52%; }
  .section-intro { display: block; }
  .section-intro > p { max-width: 34rem; margin-top: .9rem; }
  .service-grid { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
  .service-grid article { display: grid; grid-template-columns: 2.2rem 1fr; column-gap: 1rem; align-items: start; padding-top: 1.15rem; }
  .service-grid h3 { margin: 0; }
  .service-grid p { margin-top: .35rem; grid-column: 2; }
  .line-icon { width: 1.65rem; height: 1.65rem; margin-top: .15rem; }
  .example-grid, .faq-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .example-copy { grid-row: 1; }
  .example-copy .text-link { margin-top: .65rem; }
  .setup-panel { grid-template-columns: 1fr; gap: .7rem; }
  .plans { grid-template-columns: 1fr; }
  .module-list { grid-template-columns: 1fr; gap: 1rem; }
  .contact-grid { display: grid; gap: 1.5rem; }
}
@media (max-width: 440px) {
  .wrap { width: calc(100% - 2.4rem); }
  .header-inner { gap: .95rem; }
  .header-contact { padding-inline: .7rem; }
  .section-space { padding-block: 3.65rem; }
  .hero h1 { font-size: clamp(2.65rem, 10.8vw, 3.5rem); }
  .plans-heading { align-items: start; flex-direction: column; }
  .site-footer > div { flex-wrap: wrap; gap: .35rem .8rem; }
  .site-footer > div > span { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
