/* Finorix Pro: Singapore flag palette, light theme. One accent, one radius scale, one shadow scale. */
:root {
  --bg: #FDF9F8;
  --surface: #FFFEFD;
  --surface-2: #F6EEEC;
  --border: #E8DAD7;
  --text: #221518;
  --text-muted: #5E4C50;
  --accent: #C41E32;
  --accent-hover: #A5192A;
  --accent-tint: #FBE9EB;
  --accent-tint-2: #F6D3D8;
  --ok: #1E7A4C;
  --no: #B3261E;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(80,20,28,.07);
  --shadow-md: 0 1px 2px rgba(80,20,28,.06), 0 10px 28px rgba(80,20,28,.09);
  --shadow-lg: 0 2px 6px rgba(80,20,28,.08), 0 22px 56px rgba(80,20,28,.16);
  --ease: cubic-bezier(.2,.6,.2,1);
  --font: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --header-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, iframe, video, canvas { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--text); }
h1 { font-size: clamp(2rem, 1.2rem + 2.9vw, 3.15rem); font-weight: 760; }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.2rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 200; }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--caret { width: 1em; height: 1em; transition: transform .16s var(--ease); }
.flag { width: 30px; height: 20px; border-radius: 3px; box-shadow: 0 0 0 1px var(--border); flex: none; }
.flag--sm { width: 22px; height: 15px; }
.muted { color: var(--text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 2px solid transparent; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn--secondary { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn--secondary:hover { background: var(--accent-tint); color: var(--accent-hover); transform: translateY(-1px); }
.btn--secondary:active { transform: translateY(0); }
.btn--sm { min-height: 42px; padding: 0 18px; }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 1.05rem; }
.btn--light { background: #FFF7F5; color: var(--accent-hover); }
.btn--light:hover { background: #fff; color: var(--accent-hover); transform: translateY(-1px); }

/* ---------- Header and navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(253,249,248,.94); backdrop-filter: saturate(1.4) blur(10px); border-top: 4px solid var(--accent); border-bottom: 1px solid var(--border); transition: box-shadow .2s var(--ease), background-color .2s var(--ease); }
.site-header.is-scrolled { box-shadow: var(--shadow-md); background: rgba(255,254,253,.98); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.site-header__logo { display: inline-flex; flex: none; }
.logo { display: block; width: auto; max-width: 100%; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; border-radius: var(--radius-sm); color: var(--text); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
.site-nav { display: flex; align-items: center; gap: 12px; }
.site-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav__list > li { position: relative; margin: 0; }
.site-nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: var(--radius-sm); border: 0; background: none; font: inherit; font-weight: 600; font-size: .97rem; color: var(--text); text-decoration: none; cursor: pointer; transition: background-color .16s var(--ease), color .16s var(--ease); }
.site-nav__link:hover, .has-menu.is-open > .site-nav__link { background: var(--accent-tint); color: var(--accent-hover); }
.has-menu.is-open .icon--caret { transform: rotate(180deg); }
.submenu { position: absolute; top: calc(100% + 10px); left: 0; z-index: 110; min-width: 250px; margin: 0; padding: 8px; list-style: none; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s var(--ease), transform .15s var(--ease), visibility .15s; }
.submenu::before { content: ""; position: absolute; top: -6px; left: 24px; width: 10px; height: 10px; background: var(--bg); border-left: 1px solid var(--border); border-top: 1px solid var(--border); transform: rotate(45deg); }
.has-menu--wide .submenu { display: grid; grid-template-columns: 1fr 1fr; min-width: 520px; gap: 0 6px; }
.site-nav__list > li:nth-last-child(-n+2) .submenu { left: auto; right: 0; }
.site-nav__list > li:nth-last-child(-n+2) .submenu::before { left: auto; right: 28px; }
.has-menu.is-open .submenu, .has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu li { margin: 0; }
.submenu a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 550; transition: background-color .15s var(--ease), color .15s; }
.submenu a:hover, .submenu a:focus-visible, .submenu a[aria-current="page"] { background: var(--accent-tint); color: var(--accent-hover); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 14px 0 0; font-size: .88rem; color: var(--text-muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); }

/* ---------- Sections and backgrounds ---------- */
.section { position: relative; padding: clamp(48px, 7vw, 92px) 0; }
.section--tint { background: var(--surface-2); }
.section--grid { background-image: linear-gradient(to bottom, var(--bg), transparent 30%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M40 0H0V40' fill='none' stroke='%23C41E32' stroke-opacity='.06'/%3E%3C/svg%3E"); }
.section--wash { background: radial-gradient(700px 320px at 90% 0%, var(--accent-tint) 0, transparent 70%), radial-gradient(520px 260px at 0% 100%, var(--accent-tint) 0, transparent 70%), var(--bg); }
.section--wash::after, .section--tint::after { content: ""; position: absolute; right: 2%; top: 14%; width: 220px; height: 120px; pointer-events: none; opacity: .5; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 120'%3E%3Cpath d='M0 100L30 82 60 90 90 52 120 64 150 30 180 40 220 8' fill='none' stroke='%23C41E32' stroke-opacity='.35' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cg fill='%23C41E32' fill-opacity='.25'%3E%3Ccircle cx='30' cy='82' r='4'/%3E%3Ccircle cx='90' cy='52' r='4'/%3E%3Ccircle cx='150' cy='30' r='4'/%3E%3Ccircle cx='220' cy='8' r='4'/%3E%3C/g%3E%3C/svg%3E") no-repeat; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin: 0; }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.layout-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.layout-split--flip { grid-template-columns: .95fr 1.05fr; }
.layout-split--top { align-items: start; }
.art { width: 100%; height: auto; display: block; }
.art-frame { border-radius: var(--radius-lg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); isolation: isolate; }
.hero__bg { position: absolute; inset: -4% 0 0; z-index: -1; pointer-events: none; will-change: transform; }
.hero__bg svg { width: 100%; height: 100%; display: block; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(253,249,248,.9) 34%, rgba(253,249,248,.4) 60%, rgba(253,249,248,0) 82%); }
.hero__head h1 { margin-bottom: 0; }
.hero--page { background: radial-gradient(900px 400px at 100% 0%, var(--accent-tint) 0, transparent 70%), var(--bg) url("/assets/images/art/hero-bg.svg") center bottom / cover no-repeat; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-areas: "head form" "more form"; column-gap: clamp(28px, 5vw, 64px); row-gap: 20px; padding-block: clamp(36px, 5vw, 72px); align-content: start; }
.hero__head { grid-area: head; align-self: end; }
.hero__more { grid-area: more; align-self: start; }
.hero__form { grid-area: form; align-self: center; }
.hero__lead { font-size: 1.12rem; color: var(--text-muted); max-width: 60ch; }
.hero-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 18px 0; }
.hero-office { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.hero-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-link { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--text); text-decoration: none; font-weight: 650; font-size: .95rem; transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s; }
.hero-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); color: var(--text); }
.checks { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.checks .icon { color: var(--accent); margin-top: 2px; }

/* ---------- Icon badge, cards ---------- */
.icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 13px; background: var(--accent-tint); color: var(--accent); flex: none; transition: background-color .2s var(--ease), color .2s var(--ease); }
.icon-badge .icon { width: 24px; height: 24px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 24px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--accent-tint-2); }
.card:hover .icon-badge { background: var(--accent); color: #fff; }
.card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: .55em; }
.card p { color: var(--text-muted); margin: 0; }
.card p + p { margin-top: .8em; }
.card--link { display: block; text-decoration: none; color: inherit; }
.card--link:hover { color: inherit; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 650; color: var(--accent); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--stagger > :nth-child(even) { transform: translateY(18px); }
.grid--stagger > :nth-child(even):hover { transform: translateY(16px); }
.bento { display: grid; gap: 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bento > * { grid-column: span 2; }
.bento > .wide { grid-column: span 3; }
.bento > .full { grid-column: span 6; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: step; }
.steps--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 22px 22px 22px 22px; margin: 0; }
.step::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: 14px; }
.step h3 { margin-bottom: .4em; }
.step p { margin: 0; color: var(--text-muted); }
.step .icon-badge { position: absolute; top: 18px; right: 18px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--surface); margin: 18px 0 28px; }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .96rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--surface-2); font-weight: 700; white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(246,238,236,.45); }
tbody th { font-weight: 650; }
.table-note { color: var(--text-muted); font-size: .92rem; margin-top: -12px; }
.compare td:nth-child(2), .compare th:nth-child(2) { background: rgba(251,233,235,.6); }
.compare .tick, .compare .cross { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; }
.compare .tick { background: #DDF2E6; color: var(--ok); }
.compare .cross { background: #FBE0DE; color: var(--no); }
.compare .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.compare .center { text-align: center; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: stretch; }
.review { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.review__text { flex: 1 1 auto; }
.review__meta { margin-top: auto !important; }
.review__who { display: flex; align-items: center; gap: 14px; }
.review__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent-tint-2); background: var(--surface-2); flex: none; }
.review__name { font-weight: 700; margin: 0; }
.review__role { margin: 0; font-size: .9rem; color: var(--text-muted); }
.review__text { margin: 0; color: var(--text); }
.review__meta { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 16px; justify-content: start; margin: 0; padding: 12px 14px; background: var(--surface-2); border-radius: var(--radius); font-size: .88rem; }
.review__meta dt { color: var(--text-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.review__meta dd { margin: 0; font-weight: 700; }
.reviews-note { margin-top: 18px; font-size: .9rem; color: var(--text-muted); }

/* ---------- Exchanges ---------- */
.exchanges { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.exchange { display: flex; align-items: center; justify-content: center; min-height: 84px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); opacity: .86; transition: opacity .16s, transform .16s var(--ease), border-color .16s, color .16s; }
.exchange:hover { opacity: 1; transform: translateY(-2px); border-color: var(--accent-tint-2); color: var(--accent); }
.exchange img { width: 100%; max-width: 150px; height: 40px; object-fit: contain; filter: brightness(0) saturate(100%); opacity: .72; transition: opacity .16s var(--ease), filter .16s var(--ease); }
.exchange:hover img { opacity: 1; }

/* ---------- Calculator area ---------- */
.calc { background: linear-gradient(180deg, var(--bg), var(--accent-tint) 140%); overflow: hidden; }
.calc-chart { margin-top: 32px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.calc-chart canvas { width: 100%; height: 190px; display: block; }
.calc-chart__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .86rem; color: var(--text-muted); }
.calc-chart__legend li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.calc-chart__legend i { width: 14px; height: 4px; border-radius: 2px; display: inline-block; }
.calc-chart__caption { margin: 10px 0 0; font-size: .85rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color .16s, box-shadow .16s; }
.faq details[open] { border-color: var(--accent-tint-2); box-shadow: var(--shadow-md); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s var(--ease); color: var(--accent); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .faq__body { padding: 0 18px 16px; color: var(--text-muted); }
.faq .faq__body p:last-child { margin-bottom: 0; }
.faq .faq__body { overflow: hidden; }
.faq-cat { margin: 40px 0 14px; display: flex; align-items: center; gap: 12px; }

/* ---------- Company block, facts, misc ---------- */
.facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 12px; margin: 0; align-items: flex-start; }
.facts .icon { color: var(--accent); margin-top: 3px; }
.facts strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.link-cards { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.link-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); color: var(--text); font-weight: 650; text-decoration: none; transition: transform .16s var(--ease), box-shadow .16s, border-color .16s; }
.link-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); color: var(--text); }
.callout { background: var(--accent-tint); border: 1px solid var(--accent-tint-2); border-radius: var(--radius); padding: 16px 18px; margin: 20px 0; display: flex; gap: 12px; }
.callout .icon { color: var(--accent); margin-top: 3px; }
.callout p { margin: 0; }
.cta-band { position: relative; overflow: hidden; background: var(--accent); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band::before { content: ""; position: absolute; right: -40px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255,247,245,.2) 0, rgba(255,247,245,0) 70%); }
.cta-band h2, .cta-band p { color: #fff; margin: 0; }
.cta-band p { margin-top: 8px; opacity: .92; max-width: 56ch; }
.contact-map { margin: 14px 0 0; }
.map-embed { width: 100%; max-width: 900px; aspect-ratio: 16 / 9; min-height: 320px; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; background: var(--surface-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--accent-tint-2); }
.timeline li { position: relative; padding: 0 0 26px 18px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -35px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--accent-tint-2); }
.timeline strong { display: block; font-size: 1.15rem; color: var(--accent); }
.vacancy { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.vacancy__main { flex: 1 1 360px; }
.vacancy ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 10px 0 0; }
.vacancy li { margin: 0; padding: 4px 10px; background: var(--surface-2); border-radius: 999px; font-size: .84rem; color: var(--text-muted); }
.toc { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 28px; }
.toc li { margin: 0; }
.toc a { display: inline-block; padding: 8px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; text-decoration: none; color: var(--text); font-size: .92rem; font-weight: 600; }
.toc a:hover { border-color: var(--accent); color: var(--accent); }
.updated { color: var(--text-muted); font-size: .92rem; }
.price { font-size: 1.7rem; font-weight: 760; letter-spacing: -.02em; color: var(--text); }
.price small { font-size: .9rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.plan { display: flex; flex-direction: column; gap: 12px; }
.plan--featured { border-color: var(--accent); }
.plan__tag { position: absolute; top: -12px; right: 18px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

/* ---------- Registration form block ---------- */
.form-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(20px, 3vw, 30px); position: relative; }
.form-block::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 4px; border-radius: 0 0 4px 4px; background: var(--accent); }
.form-block__title { font-size: 1.2rem; font-weight: 730; letter-spacing: -.01em; line-height: 1.25; margin: 4px 0 14px; }
.form-block__intro { color: var(--text-muted); margin: 0 0 14px; }
.form-block__note { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; font-size: .92rem; color: var(--text-muted); }
.form-block__note .icon { color: var(--accent); }
.form-legal { font-size: .82rem; color: var(--text-muted); margin: 12px 0 0; }
.form-block input[type="text"], .form-block input[type="email"], .form-block input[type="tel"], .form-block input[type="password"] { border-radius: 12px !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--border); margin-top: 0; padding-top: 48px; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: linear-gradient(90deg, var(--accent) 0 50%, var(--accent-tint-2) 50% 100%); }
.site-footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-bottom: 32px; }
.site-footer__brand p { color: var(--text-muted); font-size: .95rem; max-width: 36ch; }
.site-footer__contact { display: flex; align-items: center; gap: 8px; }
.site-footer__contact .icon { color: var(--accent); }
.site-footer__col h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 12px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: 8px; }
.site-footer__col a { color: var(--text); text-decoration: none; font-size: .95rem; }
.site-footer__col a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__disclaimer { border-top: 1px solid var(--border); padding: 20px 0; color: var(--text-muted); font-size: .86rem; }
.site-footer__disclaimer p { margin: 0; max-width: 100ch; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--border); padding: 16px 0 28px; font-size: .88rem; color: var(--text-muted); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: var(--text-muted); }

/* ---------- Special offer ---------- */
.urgency-strip { background: var(--text); color: #FFF7F5; font-size: .88rem; font-weight: 600; }
.urgency-strip__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; padding-block: 8px; }
.urgency-strip span { display: inline-flex; align-items: center; gap: 8px; }
.urgency-strip .icon { width: 1.1em; height: 1.1em; color: #F59BA5; }
.offer-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-hover); font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
.offer-bonus { display: flex; gap: 14px; align-items: center; padding: 16px; margin: 18px 0; background: var(--surface); border: 1px dashed var(--accent); border-radius: var(--radius); }
.offer-bonus strong { font-size: 1.6rem; letter-spacing: -.02em; color: var(--accent); line-height: 1; }
.offer-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; }
.offer-modal.is-open { display: flex; }
.offer-modal__overlay { position: absolute; inset: 0; background: rgba(34,21,24,.62); animation: fade .2s var(--ease); }
.offer-modal__card { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px 24px 24px; text-align: center; animation: rise .24s var(--ease); }
.offer-modal__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.offer-modal__close:hover { background: var(--accent-tint); color: var(--accent); }
.offer-modal__art { max-width: 260px; margin: 0 auto 6px; }
.offer-modal__card h2 { margin-bottom: .35em; }
.offer-modal__card p { color: var(--text-muted); }
.countdown { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 18px; font-variant-numeric: tabular-nums; }
.countdown__unit { min-width: 62px; padding: 10px 6px 6px; background: var(--text); color: #FFF7F5; border-radius: 12px; font-size: 1.9rem; font-weight: 750; line-height: 1; }
.countdown__unit small { display: block; margin-top: 4px; font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.countdown__sep { font-size: 1.6rem; font-weight: 700; color: var(--accent); }
body.modal-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Reveal (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .art-draw path.draw { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.6s var(--ease); }
.js .reveal.is-in .art-draw path.draw, .js .art-draw.is-in path.draw { stroke-dashoffset: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .bento > *, .bento > .wide { grid-column: span 3; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px clamp(16px, 4vw, 40px) 20px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); max-height: calc(100vh - var(--header-h)); overflow-y: auto; display: none; }
  .site-nav.is-open { display: flex; animation: rise .16s var(--ease); }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__link { width: 100%; justify-content: space-between; padding: 13px 12px; }
  .submenu, .has-menu--wide .submenu { position: static; display: none; opacity: 1; visibility: visible; transform: none; min-width: 0; border: 0; box-shadow: none; padding: 0 0 6px 8px; background: transparent; grid-template-columns: 1fr; transition: none; }
  .submenu::before { display: none; }
  .has-menu.is-open .submenu { display: block; }
  .has-menu:hover .submenu:not(:focus-within) { display: none; }
  .has-menu.is-open:hover .submenu { display: block; }
  .site-nav__cta { width: 100%; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "form" "more"; }
  .hero__head, .hero__more, .hero__form { align-self: auto; }
  .hero__bg::after { background: rgba(253,249,248,.72); }
  .layout-split, .layout-split--flip { grid-template-columns: minmax(0, 1fr); }
  .grid--stagger > :nth-child(even), .grid--stagger > :nth-child(even):hover { transform: none; }
  .grid--2, .link-cards { grid-template-columns: minmax(0, 1fr); }
  .bento > *, .bento > .wide { grid-column: span 6; }
  .review__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .btn--lg { padding: 0 20px; }
  .countdown__unit { min-width: 54px; font-size: 1.6rem; }
  .cta-band .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .art-draw path.draw { stroke-dashoffset: 0; }
}

/* A split with one column left after an image was removed */
.layout-split > :only-child { grid-column: 1 / -1; max-width: 820px; }

/* Hero licence/security links: two per row on mobile */
@media (max-width: 560px) {
  .hero-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero-link { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; font-size: .88rem; line-height: 1.3; }
  .hero-link .icon-badge { width: 40px; height: 40px; }
}

/* Home hero background image (static) */
.hero__bg--photo { inset: 0; background: var(--bg) url("/assets/images/sg-wall-bg.webp") right center / cover no-repeat; }
.hero__bg--photo::after { display: none; }
@media (max-width: 900px) {
  .hero__bg--photo { background-position: 70% center; }
  .hero__bg--photo::after { display: block; background: rgba(253,249,248,.6); }
}

/* Mobile: keep text readable over the photo */
@media (max-width: 900px) {
  .hero__bg--photo::after { background: rgba(253,249,248,.86); }
  .hero--page .hero__more, .hero:not(.hero--page) .hero__more { background: rgba(255,254,253,.82); border-radius: var(--radius); padding: 16px; backdrop-filter: blur(2px); }
  .hero__lead { color: var(--text); }
}

/* Home hero: smaller title so it sits on two lines; links under the form */
.page-home .hero__head h1 { font-size: clamp(1.8rem, 1rem + 1.7vw, 2.3rem); max-width: none; }
.hero__form .hero-links { margin-top: 16px; }
@media (max-width: 900px) { .page-home .hero__head h1 { max-width: none; } }

/* Pre-FAQ registration block photo background */
.section--photo-ct { background: var(--bg) url("/assets/images/sg-ct-wall.webp") center / cover no-repeat; }
.section--photo-ct::after { display: none; }
.section--photo-ct .layout-split > :first-child { background: rgba(253,249,248,.78); border-radius: var(--radius); padding: 18px 20px; }
@media (min-width: 901px) { .section--photo-ct .layout-split > :first-child { background: rgba(253,249,248,.55); } }

/* Hero links under the form: always one row */
.hero__form .hero-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero__form .hero-link { padding: 10px 12px; font-size: .9rem; line-height: 1.25; }
