/* Inter v4.1, self-hosted (SIL OFL, fonts/Inter-LICENSE.txt).
   Falls back to Segoe UI / Arial while loading. */
@font-face { font-family: "Inter"; src: url("/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* Direction 1 layout with Direction 2 colouring, polished with unslop (polish mode),
   impeccable craft floor, Google modern-web-guidance and mobile-native.
   Direction (unslop):
   Product   - a Singapore company secretarial and compliance firm for foreign founders
               and owner-managed companies, led by a Chartered Accountant
   Character - dry, exact, quietly funny
   World     - the statutory calendar and the company register; brand navy and gold
   Moment    - the hero's compliance calendar: an example company's year with real due dates
   Signature - the gold hairline rule under headings, taken from Balancer's own documents
   Spacing on a 4px grid (rem in quarter steps). Colours from the Balancer Corporate
   Services design system, theme "Website (navy)". */
:root {
  --navy: #06203d;          /* brand navy, logo-navy.png ground */
  --surface: #020617;
  --panel: #0f172a;
  --raised: #16213a;        /* derived: one step up from panel, inputs and calendar rows */
  --ink: #f1f5f9;           /* primary text */
  --soft: #cbd5e1;          /* secondary text, 12.9:1 on surface */
  --muted: #94a3b8;         /* muted text, 7.9:1 on surface, 6.5:1 on navy */
  --rule: rgba(241, 245, 249, .1);
  /* Gold taken from the Balancer logo mark: a metallic run from #d2b46c (light)
     to #9c783c (deep). Used for headings, bars, rules, buttons and the map lines. */
  --logo-gold-light: #d2b46c;
  --logo-gold-deep: #9c783c;
  --logo-gold-sheen: linear-gradient(100deg, #dcc07c 0%, #c6a260 45%, #a88442 100%);
  --accent-rule: #b4904e;   /* the signature gold hairline, logo mid-tone */
  --gold: #b4904e;          /* button fill (logo gold), with navy text at 6:1 */
  --on-gold: #06203d;
  --logo-gold: #ccae66;     /* item heading words, logo light gold (9.6:1 on surface) */
  --gold-rule: rgba(180, 144, 78, .34); /* logo-gold hairline between items */
  --gold-text: #c6a260;     /* gold as text on dark, logo tone (8.6:1 on surface) */
  --error: #f2a39a;         /* toned-down red for form errors, 9:1 on surface */
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --hair: 1px;
  --radius-button: 8px;
  --radius-input: 4px;
  --radius-card: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; overscroll-behavior: none; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 1rem/1.65 var(--sans); letter-spacing: .005em; overscroll-behavior: none; }
::selection { background: var(--gold); color: var(--on-gold); }
.wrap { max-width: 72rem; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--panel); color: var(--ink); padding: .5rem 1rem; z-index: 5; }
.nocookies { position: relative; padding: .5rem 3rem; background: var(--navy); border-bottom: var(--hair) solid var(--accent-rule); color: var(--soft); font-size: .8125rem; line-height: 1.4; text-align: center; }
.nocookies p { margin: 0; }
.nc-close { position: absolute; right: max(.25rem, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--soft); cursor: pointer; touch-action: manipulation; transition: color .15s var(--ease), background-color .15s var(--ease); }
.nc-close svg { width: 12px; height: 12px; display: block; }
.nc-close:hover { color: var(--ink); background: rgba(241, 245, 249, .08); }
.nc-close:focus-visible { outline: 2px solid var(--gold-text); outline-offset: -4px; }
html.nc-closed .nocookies { display: none; }
a { color: var(--ink); text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; margin: 0; font-weight: 500; }
p { text-wrap: pretty; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.top { background: var(--navy); }
.dochead .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: .5rem; border-bottom: var(--hair) solid var(--accent-rule); }
.dochead img { width: 13.5rem; height: auto; display: block; }
.dochead nav { display: flex; align-items: center; gap: 2rem; font-size: .9375rem; }
.dochead nav a { text-decoration: none; color: var(--soft); min-height: 44px; display: inline-flex; align-items: center; transition: color .15s var(--ease); }
.dochead nav a[aria-current] { color: var(--ink); }
.menu { display: none; }

.btn { display: inline-flex; align-items: center; min-height: 44px; padding: .75rem 1.25rem; border-radius: var(--radius-button); font: 500 .9375rem/1.25 var(--sans); text-decoration: none; border: 0; cursor: pointer; touch-action: manipulation; -webkit-touch-callout: none; user-select: none; transition: background-color .15s var(--ease), box-shadow .15s var(--ease), transform .12s var(--ease); }
.btn:active { transform: scale(.97); }
.btn.gold { background: var(--gold); color: var(--on-gold); }
.btn.line { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px rgba(241, 245, 249, .4); }
@media (hover: hover) and (pointer: fine) {
  .btn.gold:hover { background: var(--logo-gold-light); }
  .btn.line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
  .dochead nav a:hover { color: var(--ink); }
}

/* Hero: text left, the compliance calendar right, centred against each other */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; padding-block: 5rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 1.35rem + 2.2vw, 3rem); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; max-width: 22ch; }
.hero h1 span { color: var(--muted); display: block; }
.hero .lede { font-size: 1.125rem; color: var(--soft); max-width: 34rem; margin-block: 1.5rem 2rem; line-height: 1.7; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.facts { margin-top: 2.5rem; padding-top: 1.25rem; border-top: var(--hair) solid var(--rule); display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; font-size: .8125rem; color: var(--muted); }
.facts b { display: block; color: var(--ink); font-weight: 500; font-size: .9375rem; font-variant-numeric: tabular-nums; }

.cal { background: var(--panel); border-radius: var(--radius-card); padding: 1.5rem; }
.cal header { padding-bottom: 1rem; border-bottom: var(--hair) solid var(--accent-rule); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.cal h2 { font-size: 1rem; }
.cal .co { font-size: .8125rem; color: var(--muted); }
.cal ol { list-style: none; margin: 0; padding: 0; }
.cal li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding-block: .75rem; border-bottom: var(--hair) solid var(--rule); font-size: .9375rem; }
.cal li:last-child { border-bottom: 0; }
.cal time { color: var(--gold-text); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cal .who { font-size: .75rem; color: var(--muted); letter-spacing: .02em; }
.cal .fn { margin-top: .75rem; font-size: .75rem; color: var(--muted); }


/* Credentials strip: text marks until logo permissions are in hand; each li can take an <img> later */
.creds-strip { padding-block: 2rem; border-bottom: var(--hair) solid var(--rule); background: var(--surface); }
.cr-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.cr-head h2 { font-size: .9375rem; color: var(--muted); font-weight: 500; }
.cr-pause { font: 500 .8125rem/1 var(--sans); color: var(--soft); background: transparent; border: 0; box-shadow: inset 0 0 0 1px rgba(241, 245, 249, .25); border-radius: var(--radius-button); min-height: 44px; padding-inline: 1rem; cursor: pointer; touch-action: manipulation; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { list-style: none; margin: 0; padding: 0 1rem 0 0; display: flex; gap: 1rem; flex: none; animation: slide 40s linear infinite; }
.track li { flex: none; display: grid; gap: .125rem; padding: .75rem 1.25rem; border-radius: var(--radius-card); box-shadow: inset 0 0 0 1px var(--rule); background: var(--panel); min-width: 13rem; }
.track b { font-weight: 500; color: var(--ink); font-size: .9375rem; }
.track span { font-size: .8125rem; color: var(--muted); }
.marquee:hover .track, .creds-strip.paused .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .track { animation: none; flex-wrap: wrap; }
  .track[aria-hidden="true"], .cr-pause { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; padding-inline: max(24px, env(safe-area-inset-left, 0px)); }
}

/* Sections */
section { padding-block: 5rem; }
.sh { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.125rem); line-height: 1.2; letter-spacing: -.015em; margin-bottom: 2.25rem; max-width: 30ch; }
.sh::after { content: ""; display: block; width: 3rem; height: 2px; margin-top: .875rem; background: var(--logo-gold-sheen); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; }
.intro { color: var(--muted); max-width: 32ch; }
.who-list div { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 2rem; padding-block: 1.25rem; border-bottom: var(--hair) solid var(--gold-rule); }
.who-list div:first-child { padding-top: 0; }
.who-list h3 { font-size: 1.0625rem; color: var(--logo-gold); }
.who-list p { color: var(--soft); max-width: 60ch; }
.fit { margin-top: 1.5rem; color: var(--muted); max-width: 70ch; }

.band { background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
th, td { text-align: left; padding: .75rem .25rem; vertical-align: middle; }
thead th { font-weight: 500; border-bottom: var(--hair) solid var(--accent-rule); }
tbody th, tbody td { border-bottom: var(--hair) solid var(--rule); font-weight: 400; }
.pk thead th { font-size: 1rem; color: var(--logo-gold); vertical-align: bottom; padding-block: 1rem; }
.pk thead th span { display: block; font-size: .8125rem; color: var(--muted); font-weight: 400; }
.pk th[scope="row"] { color: var(--soft); }
.pk td { text-align: center; width: 18%; }
.tick { display: inline-block; width: .75rem; height: .375rem; border-left: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text); transform: rotate(-45deg) translate(1px, -2px); }
.pk tfoot td { border: 0; padding-top: 1.25rem; }
.pk tfoot td:first-child { text-align: left; font-size: .875rem; color: var(--muted); }
.scroll { overflow-x: auto; position: relative; } /* keeps .sr labels inside the scroller, so phones cannot pan sideways */
.scroll table { min-width: 42rem; }
.terms { margin-top: 1.25rem; font-size: .875rem; color: var(--muted); max-width: 70ch; }
.quote { margin-top: 1.5rem; }

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
.person { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1.25rem; }
.ph { width: 6rem; aspect-ratio: 4/5; max-width: 100%; border-radius: var(--radius-input); background: var(--raised); display: grid; place-items: center; font-size: .75rem; color: var(--muted); }
.person h3 { font-size: 1.0625rem; }
.creds { font-size: .875rem; color: var(--gold-text); margin-block: .25rem .5rem; }
.person p:last-child { font-size: .9375rem; color: var(--soft); }

ol.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
ol.steps li { counter-increment: s; border-top: var(--hair) solid var(--gold-rule); padding-top: 1rem; }
ol.steps li::before { content: counter(s); display: block; font-weight: 500; color: var(--gold-text); margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
ol.steps h3 { font-size: 1rem; margin-bottom: .25rem; color: var(--logo-gold); }
ol.steps p { font-size: .9375rem; color: var(--muted); }

/* Enquiry */
.enqband { background: var(--navy); }
.enq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
.enq .sh { border: 0; padding: 0; margin-bottom: 1rem; }
.enq .sh::after { display: none; }
.enq .intro { color: var(--soft); max-width: 36ch; }
.book { margin-top: 2rem; padding-top: 1.25rem; border-top: var(--hair) solid var(--rule); }
.book p { margin-bottom: 1rem; font-size: .9375rem; color: var(--soft); }
form { display: grid; gap: 1rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .25rem; }
label { font-size: .875rem; font-weight: 500; color: var(--ink); }
input, select, textarea { font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--surface); border: .8px solid rgba(241, 245, 249, .5); border-radius: var(--radius-input); padding: .75rem; width: 100%; transition: border-color .15s var(--ease); }
textarea { min-height: 7.5rem; resize: vertical; }
input:user-invalid, textarea:user-invalid { border-color: var(--error); }
.err { font-size: .8125rem; color: var(--error); display: none; }
input:user-invalid + .err, textarea:user-invalid + .err { display: block; }
.small { font-size: .8125rem; color: var(--muted); }
.small a { color: var(--soft); }
form .btn { justify-self: start; }

footer { border-top: var(--hair) solid var(--accent-rule); }
footer .wrap { padding-block: 2rem 2.5rem; display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; font-size: .8125rem; color: var(--muted); }
footer a { color: var(--soft); }

@media (max-width: 860px) {
  .hero .wrap, .split, .enq, .people { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero .wrap { padding-block: 3rem; }
  .who-list div { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  ol.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section { padding-block: 3.5rem; }
  .dochead nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; min-height: 44px; display: inline-flex; align-items: center; padding-inline: 1rem; border-radius: var(--radius-button); box-shadow: inset 0 0 0 1px rgba(241, 245, 249, .4); font-weight: 500; cursor: pointer; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu div { position: absolute; right: 0; top: calc(100% + .5rem); background: var(--panel); border-radius: var(--radius-card); min-width: 13rem; padding: .5rem; display: grid; z-index: 3; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
  .menu div a { padding: .75rem; text-decoration: none; border-radius: var(--radius-input); }
  .dochead img { width: 10.5rem; }
}
@media (max-width: 480px) {
  ol.steps, .row2 { grid-template-columns: minmax(0, 1fr); }
  .cal li { grid-template-columns: minmax(0, 1fr) auto; }
  .cal li time { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .wrap > * { animation: rise .5s var(--ease) both; }
  .hero .cal { animation-delay: .08s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } }
}

/* ---- Site additions beyond the accepted preview ---- */
.sr, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.err::before { content: "Error: "; font-weight: 500; }
.form-status { font-size: .875rem; color: var(--soft); min-height: 1.5rem; }

/* Inner page opener */
.page-hero .wrap { padding-block: 4rem; display: grid; gap: 1.25rem; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; max-width: 22ch; }
.page-hero .lede { font-size: 1.125rem; color: var(--soft); max-width: 40rem; line-height: 1.7; }

/* Included / not included lists */
.duty { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; list-style: none; margin: 0; padding: 0; }
.duty li { padding-block: 1.25rem; border-top: var(--hair) solid var(--gold-rule); display: grid; align-content: start; gap: .375rem; }
.duty h3 { font-size: 1.0625rem; color: var(--logo-gold); }
@media (min-width: 861px) { .duty li:nth-child(even) { text-align: right; } }
.duty p { color: var(--soft); font-size: .9375rem; }
.notinc { margin-top: 1.5rem; padding-top: 1.5rem; border-top: var(--hair) solid var(--gold-rule); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.notinc h3 { font-size: 1.125rem; color: var(--logo-gold); }
.notinc-sub { margin: .25rem 0 0; color: var(--soft); }
.notinc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.notinc li { color: var(--soft); padding-left: 1.25rem; position: relative; }
.notinc li::before { content: ""; position: absolute; left: 0; top: .75em; width: .625rem; height: 2px; border-radius: 1px; background: var(--gold-text); }

/* Definition blocks */
.defs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin: 0; }
.defs div { border-top: var(--hair) solid var(--gold-rule); padding-top: 1.25rem; }
.defs dt { font-weight: 500; font-size: 1.0625rem; margin-bottom: .5rem; color: var(--logo-gold); }
.defs dd { margin: 0; color: var(--soft); font-size: .9375rem; }
.blessing span { display: block; }
.blessing .today { margin-top: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.closer { margin-top: 2.5rem; color: var(--muted); max-width: 70ch; }

/* Questions to ask */
.qs { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.qs li { counter-increment: q; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; padding-block: 1.25rem; border-bottom: var(--hair) solid var(--gold-rule); }
.qs li::before { content: counter(q); color: var(--gold-text); font-weight: 500; font-variant-numeric: tabular-nums; }
.qs h3 { font-size: 1rem; color: var(--logo-gold); }
.qs p { color: var(--soft); font-size: .9375rem; }
.qs p b { color: var(--ink); font-weight: 500; }

/* FAQ */
.faq { display: grid; max-width: 52rem; }
.faq details { border-bottom: var(--hair) solid var(--gold-rule); }
.faq summary { list-style: none; cursor: pointer; padding-block: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; font-weight: 500; font-size: 1.0625rem; min-height: 44px; color: var(--logo-gold); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-text); font-weight: 400; font-size: 1.25rem; line-height: 1; transition: transform .15s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--soft); padding-bottom: 1.25rem; max-width: 65ch; }
.addons { margin-top: 1rem; color: var(--soft); font-size: .9375rem; max-width: 70ch; }

/* CTA band */
.cta-band { background: var(--navy); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-block: 4rem; }
.cta-band h2 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.125rem); letter-spacing: -.015em; }
.cta-band p { color: var(--soft); margin-top: .5rem; max-width: 40rem; }

/* Book a call */
.bookgrid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; }
.bookcard { background: var(--panel); border-radius: var(--radius-card); padding: 2rem; display: grid; gap: 1rem; }
.bookcard h2 { font-size: 1.375rem; }
.bookcard p { color: var(--soft); }
.bookcard .small { color: var(--muted); }

/* Prose (privacy) */
.prose { max-width: 44rem; display: grid; gap: 1rem; }
.prose h2 { font-size: 1.25rem; margin-top: 1.5rem; padding-bottom: .5rem; border-bottom: var(--hair) solid var(--accent-rule); }
.prose p, .prose li { color: var(--soft); }
.prose ul { margin: 0; padding-left: 1.25rem; display: grid; gap: .5rem; }

@media (max-width: 860px) {
  .duty, .notinc, .defs, .bookgrid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .duty { gap: 0; }
  .qs li { grid-template-columns: 2rem minmax(0, 1fr); }
  .qs li p { grid-column: 2; }
  .page-hero .wrap { padding-block: 3rem; }
}
.self-start { justify-self: start; }
.sh-tight { margin-bottom: 1.5rem; }
section.flush-top { padding-top: 0; }
section.cal { padding-block: 1.5rem; }
section.cta-band { padding-block: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
