/* Pacific Law — thailandwill.com
   Editorial law-firm theme: ink navy, warm paper, brass accent, serif headings. */

:root {
  --ink: #16212d;
  --navy: #14294a;
  --navy-2: #0f1f38;
  --brass: #8c6b3e;
  --brass-soft: #c7a46a;
  --paper: #f6f3ed;
  --paper-2: #efeae1;
  --white: #ffffff;
  --line: #ddd6c9;
  --line-dark: rgba(255, 255, 255, .14);
  --muted: #5a636d;
  --muted-light: #b9c1cb;
  --serif: "Source Serif 4", "IBM Plex Sans Thai", Georgia, serif;
  --sans: "IBM Plex Sans", "IBM Plex Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
:lang(th) body, body:lang(th) { font-size: 17px; line-height: 1.8; }
img, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
section[id], [id].section { scroll-margin-top: 84px; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
:lang(th) h1, :lang(th) h2, :lang(th) h3, :lang(th) h4 { font-family: "IBM Plex Sans Thai", var(--sans); letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: block; font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px;
}
:lang(th) .eyebrow { letter-spacing: .02em; font-size: .9rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius); border: 1px solid transparent;
  font-family: var(--sans); font-size: .98rem; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-2); color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--paper); color: var(--navy); }
.btn--line-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--line-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brass-soft); padding-bottom: 2px; }

/* Top bar + header */
.topbar { background: var(--navy-2); color: var(--muted-light); font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--brass-soft); }
.topbar__items { display: flex; gap: 22px; flex-wrap: wrap; }
.lang { display: flex; gap: 2px; }
.lang a { padding: 2px 8px; border-radius: 2px; color: var(--muted-light); font-weight: 600; font-size: .8rem; }
.lang a[aria-current="true"] { background: rgba(255,255,255,.12); color: var(--white); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1; }
.brand__sub { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
:lang(th) .brand__sub { letter-spacing: .02em; font-size: .8rem; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass); }
.nav .btn { color: var(--white); padding: 11px 20px; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 11px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* Sections */
.section { padding: 96px 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #dfe5ec; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .eyebrow { color: var(--brass-soft); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--navy .section-head p { color: var(--muted-light); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Hero */
.hero { background: var(--paper); padding: 72px 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: end; }
.hero__copy { padding-bottom: 80px; }
.hero h1 em { font-style: italic; color: var(--navy); }
:lang(th) .hero h1 em { font-style: normal; }
.hero .lead { margin: 22px 0 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__notes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 36px 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.hero__notes li { display: flex; align-items: center; gap: 8px; }
.hero__notes li::before { content: ""; width: 6px; height: 6px; background: var(--brass); border-radius: 50%; }
.hero__portrait { position: relative; align-self: end; }
.hero__portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.hero__caption { position: absolute; left: -28px; bottom: 32px; background: var(--white); padding: 16px 20px; border-left: 3px solid var(--brass); box-shadow: 0 12px 30px rgba(20, 33, 45, .12); max-width: 260px; }
.hero__caption strong { display: block; font-family: var(--serif); font-size: 1.1rem; }
.hero__caption span { font-size: .85rem; color: var(--muted); }

/* Facts strip */
.facts { background: var(--navy); color: var(--white); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 30px 28px; border-left: 1px solid var(--line-dark); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--white); line-height: 1.2; }
.fact span { font-size: .9rem; color: var(--muted-light); }

/* Story / video */
.story__grid { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.video-frame { position: relative; background: #000; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 50px rgba(15, 31, 56, .25); }
.video-frame video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
/* Fullscreen: show the whole portrait frame instead of cropping it */
.video-frame video:fullscreen { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.video-frame video:-webkit-full-screen { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.video-frame__label { margin-top: 14px; font-size: .85rem; color: var(--muted); }
.story h2 { max-width: 620px; }
.story__text p { font-size: 1.06rem; }
.quote { margin: 32px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--brass); font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; color: var(--navy); }
:lang(th) .quote { font-family: "IBM Plex Sans Thai", var(--sans); font-size: 1.2rem; }
.quote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: .88rem; color: var(--muted); }
.timeline { list-style: none; margin: 28px 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.timeline b { font-weight: 600; color: var(--brass); }
details.transcript { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.transcript summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
details.transcript summary::-webkit-details-marker { display: none; }
details.transcript summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brass); }
details.transcript[open] summary::after { content: "–"; }
details.transcript .transcript__body { padding-bottom: 20px; color: var(--muted); font-size: .98rem; }

.story__media { position: sticky; top: 100px; }
.video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 0 36px; border: 0; cursor: pointer; color: var(--white); font: 600 .95rem var(--sans); background: linear-gradient(180deg, rgba(15,31,56,0) 45%, rgba(15,31,56,.75) 100%); }
.video-play__icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.video-play__icon svg { width: 22px; height: 22px; margin-left: 4px; fill: var(--navy); }
.video-play:hover .video-play__icon { transform: scale(1.06); }
.video-frame.is-playing .video-play { display: none; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.service { padding: 36px 32px 8px 0; border-right: 1px solid var(--line); }
.service + .service { padding-left: 32px; }
.service:last-child { border-right: 0; }
.service__num { font-family: var(--serif); font-size: 1rem; color: var(--brass); margin-bottom: 18px; display: block; }
.service p { color: var(--muted); }
.service ul { list-style: none; padding: 0; margin: 18px 0 22px; font-size: .95rem; }
.service li { padding: 9px 0; border-top: 1px solid var(--line); }

/* Split image/text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split img { width: 100%; height: auto; object-fit: cover; }
.split--reverse > :first-child { order: 2; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.compare h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.compare ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.compare li { padding: 9px 0 9px 22px; position: relative; color: var(--muted); }
.compare li::before { content: "—"; position: absolute; left: 0; color: var(--line); }
.compare .is-good li { color: var(--ink); }
.compare .is-good li::before { content: "✓"; color: var(--brass); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; margin: 0; padding: 0; list-style: none; }
.steps li { border-top: 1px solid var(--line-dark); padding-top: 22px; counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--brass-soft); margin-bottom: 10px; line-height: 1; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted-light); font-size: .95rem; }

/* Fees */
.fees { width: 100%; border-collapse: collapse; }
.fees th, .fees td { text-align: left; padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fees thead th { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--ink); padding-top: 0; }
:lang(th) .fees thead th { letter-spacing: 0; font-size: .9rem; }
.fees td:first-child { width: 32%; }
.fees td strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
:lang(th) .fees td strong { font-family: "IBM Plex Sans Thai", var(--sans); }
.fees .price { font-family: var(--serif); font-size: 1.25rem; white-space: nowrap; color: var(--navy); }
.fees .tag { display: inline-block; margin-top: 6px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.fees-note { margin-top: 20px; font-size: .92rem; color: var(--muted); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.review { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.review:nth-child(3n+2), .review:nth-child(3n) { padding-left: 32px; border-left: 1px solid var(--line); }
.review blockquote { margin: 0 0 16px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.55; }
.review footer { font-size: .88rem; color: var(--muted); }
.stars { color: var(--brass); letter-spacing: 2px; font-size: .9rem; }
.rating { display: flex; align-items: baseline; gap: 14px; margin-top: -24px; margin-bottom: 40px; color: var(--muted); }
.rating strong { font-family: var(--serif); font-size: 2.4rem; color: var(--ink); font-weight: 600; }

/* FAQ */
.faq { max-width: 860px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; }
:lang(th) .faq summary { font-family: "IBM Plex Sans Thai", var(--sans); font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.5rem; color: var(--brass); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 40px 22px 0; color: var(--muted); }

/* Articles */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.article-card { text-decoration: none; color: var(--ink); display: block; }
.article-card { border-top: 1px solid var(--ink); padding-top: 22px; }
.article-card .meta { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.article-card h3 { font-size: 1.22rem; margin-top: 8px; }
.article-card:hover h3 { color: var(--brass); }
.article-card p { color: var(--muted); font-size: .95rem; }

/* Offices */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.office { padding: 30px 28px 10px 0; }
.office + .office { padding-left: 28px; border-left: 1px solid var(--line); }
.office h3 { font-size: 1.15rem; }
.office .hq { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); font-weight: 600; display: block; margin-bottom: 6px; }
.office p { color: var(--muted); font-size: .95rem; }

/* Contact band */
.contact-band { background: var(--navy); color: var(--white); padding: 88px 0; }
.contact-band__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.contact-band h2 { color: var(--white); }
.contact-band p { color: var(--muted-light); font-size: 1.08rem; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; }
.contact-list span { color: var(--muted-light); font-size: .9rem; }
.contact-list a { color: var(--white); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--brass-soft); }
.contact-band .hero__cta { margin-top: 28px; }

/* Footer */
.site-footer { background: var(--navy-2); color: var(--muted-light); padding: 64px 0 28px; font-size: .92rem; }
.site-footer a { color: var(--muted-light); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer__grid h4 { color: var(--white); font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; }
.footer__grid li { margin-bottom: 9px; }
.footer__brand .brand { color: var(--white); margin-bottom: 16px; }
.footer__brand .brand__sub { color: var(--muted-light); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .82rem; }

/* Mobile call bar */
.callbar { display: none; }

/* Page header (blog) */
.page-head { background: var(--paper); padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.page-head .lead { margin-top: 10px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 8px; }

/* Blog list */
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 48px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 64px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.pagination .active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pagination .disabled { color: var(--line); }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding: 64px 24px 24px; }
.article__meta { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.article h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.article__hero { margin: 32px 0 40px; }
.article__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { font-size: 1.08rem; line-height: 1.8; }
.prose h2 { font-size: 1.75rem; margin-top: 2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { border-bottom: 1px solid var(--ink); font-weight: 600; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--brass-soft); }
.prose blockquote { margin: 1.5em 0; padding-left: 22px; border-left: 3px solid var(--brass); color: var(--muted); }
.related { max-width: 760px; margin: 0 auto; padding: 0 24px 72px; }
.related h2 { font-size: 1.4rem; padding-top: 32px; border-top: 1px solid var(--ink); }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { border-bottom: 1px solid var(--line); }
.related li a { display: block; padding: 14px 0; text-decoration: none; font-weight: 500; }
.article-cta { background: var(--paper); border-left: 3px solid var(--brass); padding: 28px 30px; margin: 48px 0 0; }
.article-cta h2 { font-size: 1.4rem; margin: 0 0 8px; }
.article-cta .hero__cta { margin-top: 18px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .hero__grid { grid-template-columns: 1fr .8fr; gap: 40px; }
  .story__grid { grid-template-columns: 320px 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .topbar__items .hide-sm { display: none; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; border: 0; }
  .hero { padding-top: 48px; }
  .hero__grid, .split, .story__grid, .contact-band__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { padding-bottom: 0; }
  .hero__portrait { max-width: 420px; }
  .hero__caption { left: 16px; }
  .split--reverse > :first-child { order: 0; }
  .story__grid { justify-items: start; }
  .story__media { position: static; }
  .video-frame { max-width: 340px; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 24px 20px 24px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .services, .reviews, .offices, .articles { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 28px 0 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .review, .review:nth-child(3n+2), .review:nth-child(3n) { padding: 28px 0; border-left: 0; }
  .office, .office + .office { padding: 24px 0 8px; border-left: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .post-list { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy-2); border-top: 1px solid var(--line-dark); }
  .callbar a { color: var(--white); text-decoration: none; text-align: center; padding: 14px 8px; font-weight: 600; font-size: .95rem; }
  .callbar a + a { border-left: 1px solid var(--line-dark); background: var(--navy); }
  body { padding-bottom: 52px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .topbar .wrap { min-height: 36px; font-size: .8rem; }
  .brand__sub { display: none; }
  .steps, .footer__grid { grid-template-columns: 1fr; }
  .fees thead { display: none; }
  .fees tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .fees td { display: block; border: 0; padding: 2px 0; width: auto !important; }
  .hero__cta .btn { width: 100%; }
  .article { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
