/* HKONE — site stylesheet (light, blue + white) */

:root {
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --tint: #F1F5FD;
  --tint-2: #E3EBFB;
  --ink: #0E1A2B;
  --ink-2: #465265;
  --ink-3: #6A7587;
  --rule: #DCE3EE;
  --brand: #1747B5;
  --brand-press: #0F2F7A;
  --on-blue-2: #D5E1FA;
  --deep: #0F2F7A;

  --f-head: "Noto Serif TC", "Songti TC", serif;
  --f-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --f-mark: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 20px;
  --r: 6px;
  --r-card: 14px;
  --shadow: 0 1px 2px rgba(15, 47, 122, 0.06), 0 10px 30px rgba(15, 47, 122, 0.08);
  --shadow-hover: 0 2px 4px rgba(15, 47, 122, 0.08), 0 18px 40px rgba(15, 47, 122, 0.14);
  color-scheme: light;
}

html[lang="en"] {
  --f-head: "Source Serif 4", Georgia, serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.8;
  overflow-wrap: break-word;
}

h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.35; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.05rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-press); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }
.band-blue :focus-visible, .hero :focus-visible, .page-head :focus-visible,
.cta-panel :focus-visible, .site-footer :focus-visible, .contact-info :focus-visible, .aside-service :focus-visible { outline-color: #FFFFFF; }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink);
  padding: 8px 14px; border: 1px solid var(--rule); border-radius: var(--r);
}
.skip:focus { top: 12px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.clause { display: inline-block; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand .sq { fill: var(--brand); }
.brand .fg { fill: #FFFFFF; }
.wordmark { font-family: var(--f-mark); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1; }
.wordmark .hk { color: #0E1A2B; }
.wordmark .one { color: var(--brand); }
.site-footer .brand .sq { fill: #FFFFFF; }
.site-footer .brand .fg { fill: var(--brand); }
.site-footer .wordmark .hk { color: #FFFFFF; }
.site-footer .wordmark .one { color: #8FB0F4; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.nav-main { display: flex; gap: 26px; margin-right: auto; margin-left: 16px; }
.nav-main a, .nav-tools .lang { color: var(--ink-2); text-decoration: none; font-size: 0.97rem; font-weight: 500; padding: 6px 0; }
.nav-main a:hover, .nav-tools .lang:hover { color: var(--brand); }
.nav-main a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }
.nav-tools { display: flex; align-items: center; gap: 20px; }

.menu { display: none; margin-left: auto; }
.menu > summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--rule); border-radius: var(--r); font-size: 0.95rem; color: var(--ink); }
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary { background: var(--tint); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 70px; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow);
  padding: 8px var(--gutter) 20px;
}
.menu-panel a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.menu-panel .btn { margin-top: 16px; border-bottom: 0; color: #FFFFFF; text-align: center; }

@media (max-width: 1020px) {
  .site-header .wrap { position: relative; }
  .nav-main, .nav-tools { display: none; }
  .menu { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--brand); color: #FFFFFF; text-decoration: none;
  font-weight: 500; font-size: 0.98rem; line-height: 1.4; padding: 12px 22px;
  border-radius: var(--r); border: 1px solid var(--brand); cursor: pointer; font-family: inherit;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--brand-press); border-color: var(--brand-press); color: #FFFFFF; }
.btn-sm { padding: 8px 16px; font-size: 0.92rem; }
.btn-ghost { background: var(--white); color: var(--brand); border-color: #C9D3E3; }
.btn-ghost:hover { background: var(--tint); color: var(--brand-press); border-color: var(--brand); }
.btn-white { background: #FFFFFF; color: var(--brand); border-color: #FFFFFF; }
.btn-white:hover { background: var(--tint-2); color: var(--brand-press); border-color: var(--tint-2); }
.btn-outline-white { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: #FFFFFF; border-color: #FFFFFF; }
.link-arrow { font-weight: 500; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 30px; }

/* ---------- Bands ---------- */
.band { padding: 84px 0; }
.band-white { background: var(--white); }
.band-tint { background: var(--tint); }
.band-blue { background: var(--brand); color: #FFFFFF; }
.band-blue h2, .band-blue h3 { color: #FFFFFF; }
@media (max-width: 860px) { .band { padding: 56px 0; } }

.band-head { max-width: 700px; margin-bottom: 40px; }
.band-head p { color: var(--ink-2); margin-top: 12px; font-size: 1.05rem; }
.band-blue .band-head p { color: var(--on-blue-2); }
.band-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; margin-bottom: 40px; }
.band-head-row .band-head { margin-bottom: 0; }
.kicker-line { width: 44px; height: 4px; background: var(--brand); border-radius: 2px; margin-bottom: 18px; }
.band-blue .kicker-line { background: #8FB0F4; }

/* ---------- Hero (home) ---------- */
.hero { background: var(--brand); color: #FFFFFF; padding: 72px 0 150px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -140px; top: -180px; width: 560px; height: 560px;
  border-radius: 50%; border: 80px solid rgba(255,255,255,0.05); pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #FFFFFF; font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.6rem); line-height: 1.25; }
.hero .lede { margin-top: 22px; font-size: 1.1rem; color: var(--on-blue-2); max-width: 34em; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 18px; box-shadow: 0 24px 60px rgba(4, 20, 60, 0.35); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -24px; bottom: -26px; background: #FFFFFF; color: var(--ink);
  border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow); font-size: 0.9rem; line-height: 1.5; max-width: 270px;
}
.hero-badge strong { display: block; color: var(--brand); font-size: 1rem; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.95rem; color: var(--on-blue-2); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; stroke: #8FB0F4; flex: none; }

.overlap { margin-top: -96px; position: relative; z-index: 2; padding-bottom: 80px; }
.overlap-title { color: #FFFFFF; font-family: var(--f-head); font-size: 1.15rem; font-weight: 600; margin-bottom: 16px; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 130px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-badge { left: 12px; bottom: -22px; }
}

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1020px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.icon-badge { width: 50px; height: 50px; border-radius: 12px; background: var(--tint-2); display: grid; place-items: center; margin-bottom: 18px; }
.icon-badge svg { width: 24px; height: 24px; stroke: var(--brand); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 0.97rem; }

.svc-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--ink); }
.svc-card .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint-2); }
.svc-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.svc-card .bd { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: 1.15rem; }
.svc-card .price { color: var(--brand); font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.svc-card p { color: var(--ink-2); font-size: 0.93rem; line-height: 1.7; margin-top: 10px; flex: 1; }
.svc-card .more { margin-top: 14px; color: var(--brand); font-weight: 500; font-size: 0.95rem; }
.svc-card:hover .more { text-decoration: underline; }
.note-small { font-size: 0.87rem; color: var(--ink-3); margin-top: 18px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; border-radius: var(--r-card); padding: 26px 24px; background: var(--white); border: 1px solid var(--rule); box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step, decimal-leading-zero); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #FFFFFF;
  font-family: var(--f-head); font-weight: 700; font-size: 0.98rem; margin-bottom: 16px;
}
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--ink-2); font-size: 0.95rem; margin-top: 8px; }
.band-blue .steps li { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); box-shadow: none; }
.band-blue .steps li::before { background: #FFFFFF; color: var(--brand); }
.band-blue .steps p { color: var(--on-blue-2); }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split .photo img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .text p { color: var(--ink-2); }
.split .text h2 { margin-bottom: 18px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } }

.ticks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.ticks.one { grid-template-columns: 1fr; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; line-height: 1.6; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--tint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231747B5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}
@media (max-width: 640px) { .ticks { grid-template-columns: 1fr; } }

/* ---------- Page head (inner pages) ---------- */
.page-head { background: var(--brand); color: #FFFFFF; padding: 36px 0 72px; position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -140px; bottom: -220px; width: 460px; height: 460px;
  border-radius: 50%; border: 60px solid rgba(255,255,255,0.05); pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #FFFFFF; }
.page-head .lede { margin-top: 18px; font-size: 1.1rem; color: var(--on-blue-2); max-width: 42em; }
.page-head.has-photo .inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.page-head .photo img { border-radius: 18px; box-shadow: 0 24px 60px rgba(4, 20, 60, 0.35); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .page-head.has-photo .inner { grid-template-columns: 1fr; gap: 32px; } .page-head { padding-bottom: 56px; } }

.crumbs { font-size: 0.87rem; color: var(--on-blue-2); margin-bottom: 30px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.crumbs a { color: var(--on-blue-2); text-decoration: none; }
.crumbs a:hover { color: #FFFFFF; text-decoration: underline; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 30px 0 0; }
.facts > div { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22); border-radius: 12px; padding: 14px 18px; }
.facts dt { font-size: 0.85rem; color: var(--on-blue-2); }
.facts dd { margin: 2px 0 0; font-weight: 500; line-height: 1.6; }
.facts .price { font-family: var(--f-head); font-size: 1.25rem; font-weight: 700; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Plans (cards) ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.plan { display: flex; flex-direction: column; border-top: 4px solid var(--brand); }
.plan .name { font-family: var(--f-head); font-size: 1.2rem; font-weight: 700; }
.plan .price { font-size: 1.65rem; font-weight: 700; color: var(--brand); margin-top: 8px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.plan .fit { color: var(--ink-2); font-size: 0.93rem; margin: 10px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.plan .ticks { font-size: 0.95rem; }
.extras { margin-top: 24px; font-size: 0.95rem; color: var(--ink-2); }
.note { background: var(--tint-2); border-left: 4px solid var(--brand); padding: 16px 20px; border-radius: 0 var(--r) var(--r) 0; color: var(--ink); font-size: 0.95rem; margin-top: 16px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.65; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); }
thead th { font-size: 0.85rem; font-weight: 500; color: var(--ink-3); border-bottom: 2px solid var(--brand); padding-top: 0; padding-bottom: 10px; }
tbody th { font-weight: 700; word-break: keep-all; min-width: 4.5em; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--brand); font-weight: 700; }
table ul { margin: 0; padding-left: 1.1em; }
.table-note { font-size: 0.92rem; color: var(--ink-2); margin-top: 14px; }

@media (max-width: 680px) {
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: 100%; }
  table.stack tr { border-bottom: 1px solid var(--rule); padding: 14px 0; }
  table.stack tr:last-child { border-bottom: 0; }
  table.stack th, table.stack td { border: 0; padding: 3px 0; }
  table.stack td[data-label]::before { content: attr(data-label); display: block; font-size: 0.8rem; color: var(--ink-3); font-weight: 400; }
  table.stack tbody th { font-size: 1.05rem; }
}

.price-block { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.price-block + .price-block { margin-top: 28px; }
.price-block .side img { border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: 18px; }
.price-block .side h2 { font-size: 1.5rem; }
.price-block .side p { color: var(--ink-2); margin-top: 10px; font-size: 0.97rem; }
@media (max-width: 900px) { .price-block { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.faq-grid.one { grid-template-columns: 1fr; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 22px 24px; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; display: flex; gap: 12px; }
.faq-item h3::before {
  content: "Q"; flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--brand); color: #FFFFFF;
  font-family: var(--f-body); font-size: 0.8rem; font-weight: 700; display: grid; place-items: center; margin-top: 2px;
}
.faq-item p { color: var(--ink-2); font-size: 0.97rem; padding-left: 38px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { margin-bottom: 20px; font-size: 1.5rem; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 0.93rem; }
.jump a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: #FFFFFF; text-decoration: none; }
.jump a:hover { background: rgba(255,255,255,0.22); color: #FFFFFF; }

/* ---------- Posts ---------- */
.post-card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.post-card .ph { aspect-ratio: 16 / 9; overflow: hidden; background: var(--tint-2); }
.post-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.post-card .bd { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: 0.83rem; color: var(--ink-3); }
.post-card .cat { display: inline-block; background: var(--tint-2); color: var(--brand); font-weight: 500; border-radius: 999px; padding: 2px 10px; margin-right: 8px; }
.post-card h3, .post-card h2 { font-size: 1.12rem; margin: 12px 0 8px; line-height: 1.45; }
.post-card h3 a, .post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h3 a::after, .post-card h2 a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover h3 a, .post-card:hover h2 a { color: var(--brand); }
.post-card p { color: var(--ink-2); font-size: 0.93rem; line-height: 1.7; }

/* ---------- Article ---------- */
.article-meta { margin-top: 20px; color: var(--on-blue-2); font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.page-head.for-article { padding-bottom: 96px; }
.article-cover { margin-top: -56px; position: relative; z-index: 2; }
.article-cover img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; max-height: 400px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 48px; padding-bottom: 72px; }
.prose { max-width: 740px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: 1.55rem; scroll-margin-top: 90px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose .table-wrap { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-card); padding: 10px 22px; margin-top: 1.4em; box-shadow: var(--shadow); }
.prose .faq-item { margin-top: 14px; }
.summary { background: var(--tint); border: 1px solid var(--tint-2); border-left: 4px solid var(--brand); padding: 22px 26px; border-radius: 0 var(--r-card) var(--r-card) 0; }
.summary h2 { font-size: 1.1rem; margin: 0 0 10px; }
.summary ol { margin: 0; padding-left: 1.2em; }
.summary li + li { margin-top: 0.5em; }
.author-box { background: var(--tint); border-radius: var(--r-card); padding: 20px 24px; margin-top: 3em !important; color: var(--ink-2); font-size: 0.95rem; }
.author-box strong { color: var(--ink); }

.aside-block { position: sticky; top: 94px; display: grid; gap: 20px; }
.aside-block .card { padding: 22px; }
.aside-block h2 { font-size: 1rem; font-family: var(--f-body); font-weight: 700; margin-bottom: 8px; }
.aside-block ol, .aside-block ul { list-style: none; margin: 0; padding: 0; font-size: 0.93rem; }
.aside-block li + li { border-top: 1px solid var(--rule); }
.aside-block li a { display: block; padding: 9px 0; text-decoration: none; color: var(--ink-2); line-height: 1.5; }
.aside-block li a:hover { color: var(--brand); }
.aside-service { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.aside-service h2 { color: #FFFFFF; }
.aside-service .price { color: var(--on-blue-2); font-size: 0.93rem; margin: 4px 0 16px; }
.aside-service .btn { display: block; text-align: center; }
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
  .aside-block { position: static; }
  .aside-block .toc-block { display: none; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px; align-items: start; }
.contact-info { background: var(--brand); color: #FFFFFF; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
.contact-info img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.contact-info .bd { padding: 26px; }
.contact-info h2 { color: #FFFFFF; font-size: 1.35rem; }
.contact-list { margin: 16px 0 0; }
.contact-list > div { border-top: 1px solid rgba(255,255,255,0.22); padding: 12px 0; }
.contact-list dt { font-size: 0.85rem; color: var(--on-blue-2); }
.contact-list dd { margin: 0; font-weight: 500; }
.contact-list a { color: #FFFFFF; }
.form-card h2 { font-size: 1.35rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

form .field { margin-bottom: 20px; }
form label, form legend { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.95rem; }
form .req { color: var(--brand); }
input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid #C9D3E3; border-radius: var(--r); padding: 11px 13px;
}
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
textarea { min-height: 140px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checks label { font-weight: 400; display: flex; gap: 10px; align-items: center; margin: 0; cursor: pointer; border: 1px solid #C9D3E3; border-radius: var(--r); padding: 10px 12px; }
.checks label:has(input:checked) { border-color: var(--brand); background: var(--tint); }
.checks input { width: 18px; height: 18px; accent-color: var(--brand); }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }
.form-hint { font-size: 0.87rem; color: var(--ink-3); }
.form-result { margin-top: 28px; border-top: 1px solid var(--rule); padding-top: 22px; }
.form-result h2 { font-size: 1.3rem; }
.form-result pre { white-space: pre-wrap; font-family: var(--f-body); font-size: 0.93rem; background: var(--tint); border: 1px solid var(--tint-2); border-radius: var(--r); padding: 14px 16px; margin: 12px 0 16px; }
.form-result .actions { margin-top: 0; }
.status { font-size: 0.9rem; color: var(--ink-2); min-height: 1.5em; margin-top: 10px; }
.error { color: #B42318; font-size: 0.9rem; margin-top: 4px; }

/* ---------- CTA + footer ---------- */
.cta-wrap { padding: 0 0 84px; background: var(--white); }
.cta-wrap.on-tint { background: var(--tint); }
.cta-panel {
  background: var(--brand); color: #FFFFFF; border-radius: 22px; padding: 52px 56px;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-panel::after {
  content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px;
  border-radius: 50%; border: 50px solid rgba(255,255,255,0.06); pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: #FFFFFF; }
.cta-panel p { color: var(--on-blue-2); margin-top: 12px; }
.cta-panel .actions { margin-top: 0; justify-content: flex-end; }
@media (max-width: 860px) {
  .cta-wrap { padding-bottom: 56px; }
  .cta-panel { grid-template-columns: 1fr; padding: 36px 28px; }
  .cta-panel .actions { justify-content: flex-start; }
}

.site-footer { background: var(--deep); color: #C4D3F2; padding: 60px 0 32px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-grid h2 { font-family: var(--f-body); font-size: 0.95rem; font-weight: 700; color: #FFFFFF; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 3px 0; }
.site-footer a { color: #DDE7FB; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.site-footer .about-line { margin-top: 16px; max-width: 30em; }
.footer-base { margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.85rem; color: #A9BCE6; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .svc-card:hover, .post-card:hover { transform: none; }
}

@media print { .site-header, .site-footer, .cta-wrap, .aside-block { display: none; } }

/* keep three article cards in one row on tablets */
@media (min-width: 700px) and (max-width: 1020px) { .grid-3.posts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .grid-3.posts .bd { padding: 16px; } }
@media (max-width: 699px) { .grid-3.posts { grid-template-columns: 1fr; } }

[id] { scroll-margin-top: 90px; }
.plans.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plans.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 780px) { .plans.n3, .plans.n2 { grid-template-columns: 1fr; } }
@media (min-width: 781px) and (max-width: 1020px) { .plans.n3 { gap: 14px; } .plans.n3 .card { padding: 20px; } .plans.n3 .price { font-size: 1.35rem; } }

/* grouped plan lists (e.g. set-up vs monthly) */
.plan .inc-h { font-family: var(--f-body); font-size: 0.85rem; font-weight: 700; color: var(--brand); margin: 18px 0 10px; }
.plan .inc-h:first-of-type { margin-top: 0; }
.plan .price { font-size: 1.45rem; }
td .inc-h { display: block; color: var(--brand); font-size: 0.85rem; margin: 10px 0 4px; }
td .inc-h:first-child { margin-top: 0; }

/* contact form: honeypot + success box */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { border-top: 0; background: var(--tint); border-radius: var(--r-card); padding: 26px; }
.form-ok h2 { color: var(--brand); }
.btn:disabled { opacity: .6; cursor: wait; }
