/* TripBondhu design system: shared by tripbondhu.com, the destination planners and the legal pages. */
:root {
  --sun: #ffc93c;
  --sun-2: #ffe7a3;
  --mango: #ff8a1f;
  --coral: #ff5a5f;
  --pink: #ff4f8b;
  --lagoon: #00a6a6;
  --deep: #0c6457;
  --sky: #38bdf8;
  --navy: #13223a;
  --sand: #fff3d9;
  --paper: #fffaf0;
  --mint: #7fe3d6;
  --peach: #ffb3a6;
  --ice: #a5dcff;
  --rose: #ffc2d6;
  --apricot: #ffd08a;
  --sea: #d9f6f1;

  --brand: var(--deep);
  --brand-hover: #09524a;
  --brand-ink: #083f37;
  --brand-50: #e3f6f4;
  --brand-100: #c6ece6;
  --brand-200: #8fd8cc;

  --ink: var(--navy);
  --ink-2: #33415a;
  --ink-3: #5d6a80;
  --line: #f1e3c4;
  --line-2: #e2cd9c;
  --bg: var(--paper);
  --surface: var(--sand);
  --surface-2: #fbecc8;

  --ok: #138a4b;
  --ok-50: #e2f7ea;
  --warn: #b45309;
  --warn-50: #fff1dc;
  --danger: #d92d20;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --pop-sm: 0 1px 2px rgba(19, 34, 58, 0.06);
  --pop: 0 1px 2px rgba(19, 34, 58, 0.05), 0 6px 16px -8px rgba(19, 34, 58, 0.18);
  --pop-lg: 0 2px 4px rgba(19, 34, 58, 0.04), 0 18px 40px -18px rgba(19, 34, 58, 0.28);
  --hair: rgba(19, 34, 58, 0.11);
  --hair-2: rgba(19, 34, 58, 0.22);
  --sh-1: 0 1px 0 rgba(19, 34, 58, 0.06);
  --sh-2: 0 14px 30px -18px rgba(19, 34, 58, 0.45);
  --sh-3: 0 28px 48px -22px rgba(19, 34, 58, 0.5);
  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Bricolage Grotesque", "Figtree", ui-sans-serif, system-ui, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --wrap: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; margin: 0 0 0.5em; }
h1, h2, h3 { font-family: var(--display); }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; }
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.015em; }
h4 { font-size: 1rem; line-height: 1.4; }
p { margin: 0 0 1em; }
a { color: var(--deep); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--sun); }
button { font: inherit; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--mango); outline-offset: 2px; }
::selection { background: var(--sun); color: var(--navy); }

.wrap, .shell { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.muted { color: var(--ink-3); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.hidden { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* hand-made accents */
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: 0.08em; height: 0.42em; background: var(--sun); border-radius: 6px 3px 8px 4px; z-index: -1; transform: rotate(-1.5deg) scaleX(0); transform-origin: left; transition: transform 0.7s 0.2s var(--ease); }
.hl-pink::after { background: var(--rose); }
.hl-mint::after { background: var(--mint); }
.hl.in::after, .in .hl::after { transform: rotate(-1.5deg) scaleX(1); }
.swash { position: relative; display: inline-block; z-index: 0; }
.swash::after { content: ""; position: absolute; left: -6px; right: -10px; bottom: 0.02em; height: 0.3em; background: var(--coral); border-radius: 40px 10px 30px 8px; z-index: -1; transform: rotate(-2deg) scaleX(0); transform-origin: left; animation: swash 0.8s 0.6s var(--ease) forwards; }
.scribble { font-family: var(--hand); font-size: 1.6rem; font-weight: 600; color: var(--coral); line-height: 1; margin: 0; transform: rotate(-4deg); }
.squiggle { display: block; width: 132px; height: 14px; margin-top: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 14' fill='none' stroke='%23ff5a5f' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M2 8c8-7 14-7 22 0s14 7 22 0 14-7 22 0 14 7 22 0 14-7 22 0 12 5 18 2'/%3E%3C/svg%3E") no-repeat left center / contain; clip-path: inset(0 100% 0 0); animation: draw 0.9s 0.25s var(--ease) forwards; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--sun); color: var(--navy); font-weight: 700; font-size: 0.875rem; border: 1px solid var(--hair-2); box-shadow: var(--pop); }
.kicker-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--coral); animation: pulse 1.8s infinite; }

/* scroll reveal (classes are added by script, so content still shows without JS) */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.in { opacity: 1; transform: none; }

@keyframes dropIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 90, 95, 0); } 0% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0.6); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0); } }
@keyframes swash { to { transform: rotate(-2deg) scaleX(1); } }
@keyframes draw { to { clip-path: inset(0 0 0 0); } }
@keyframes dashMove { to { stroke-dashoffset: -28; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }

/* icons */
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 24px; height: 24px; }
.ico-box { width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; background: var(--sun); color: var(--navy); border: 1px solid var(--hair-2); box-shadow: var(--pop-sm); flex: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: var(--r); border: 1px solid var(--hair-2);
  font-family: var(--display); font-weight: 700; font-size: 0.9375rem; letter-spacing: -0.005em; line-height: 1; white-space: nowrap;
  background: var(--navy); color: #fff;
  transition: background 0.15s, color 0.15s, transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.btn:hover { text-decoration: none; transform: translate(-1px, -1px); box-shadow: var(--pop); }
.btn:active { transform: translate(1px, 1px); box-shadow: none; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.btn-primary { background: var(--sun); color: var(--navy); box-shadow: var(--pop); }
.btn-primary:hover { background: var(--mango); color: var(--navy); transform: translate(-2px, -2px); box-shadow: var(--pop-lg); }
.btn-primary:active { box-shadow: var(--pop-sm); }
.btn-secondary, .btn-ghost { background: #fff; color: var(--navy); }
.btn-secondary:hover, .btn-ghost:hover { background: var(--sun-2); }
.btn-tint, .btn-sky { background: var(--sea); color: var(--navy); }
.btn-tint:hover, .btn-sky:hover { background: var(--mint); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sun-2); }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.14); box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.5); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 1.0625rem; border-radius: 14px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 0.875rem; }
.btn-xs { height: 30px; padding: 0 10px; font-size: 0.8125rem; border-radius: 9px; border-width: 1.5px; gap: 6px; }
.btn-xs:hover { box-shadow: var(--pop-sm); }
.btn-xs .icon { width: 15px; height: 15px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--deep); font-weight: 700; }
.link-btn:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--sun); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; color: var(--deep); }
.link-arrow .icon { width: 18px; height: 18px; stroke-width: 2.3; transition: transform 0.2s var(--ease); }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-weight: 700; font-size: 0.875rem; color: var(--ink); }
.field input, .field select, .field textarea, .input {
  width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--hair-2); border-radius: var(--r);
  background: #fff; color: var(--ink); outline: none; transition: box-shadow 0.15s var(--ease), background 0.15s;
}
.field textarea { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
select.input, .field select {
  appearance: none; padding-right: 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2313223a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { box-shadow: var(--pop); }
.field input::placeholder, .field textarea::placeholder, .input::placeholder { color: #9aa3b2; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* chips & tags */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; height: auto; padding: 8px 14px;
  border: 1px solid var(--hair-2); border-radius: 999px; background: #fff;
  font-size: 0.875rem; font-weight: 600; color: var(--navy);
  transition: background 0.15s, transform 0.2s var(--spring), box-shadow 0.2s var(--spring);
}
button.chip:hover { background: var(--sun-2); }
.chip.on, .chip[aria-pressed="true"] { background: var(--sun); color: var(--navy); box-shadow: var(--pop-sm); transform: translate(-1px, -1px) rotate(-1.5deg); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; background: var(--sun-2); color: var(--navy); border: 1px solid var(--hair-2); }

/* header */
.site-hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 240, 0.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--hair-2); }
.hd-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; flex: none; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }
.logo:hover { text-decoration: none; }
.logo svg { width: 30px; height: 30px; display: block; transition: transform 0.4s var(--spring); }
.logo:hover svg { transform: rotate(-12deg) scale(1.08); }
.hd-nav { display: flex; gap: 4px; flex: 1; }
.hd-nav a { position: relative; color: var(--ink-2); font-weight: 600; font-size: 0.9375rem; padding: 7px 12px; border-radius: 10px; transition: color 0.15s; }
.hd-nav a:hover { color: var(--navy); text-decoration: none; }
.hd-nav a.active { color: var(--navy); }
.hd-nav a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 2px; border-radius: 2px; background: var(--navy); }
.hd-actions { display: flex; flex: none; align-items: center; gap: 8px; margin-left: auto; }
.hd-signin { color: var(--navy); font-weight: 600; font-size: 0.9375rem; padding: 7px 12px; border-radius: 10px; background: none; border: 0; }
.hd-signin:hover { background: var(--sun-2); text-decoration: none; }
.hd-actions .hd-admin { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 0.8125rem; }
.hd-actions .hd-admin:hover { background: #24395c; color: #fff; text-decoration: none; }
.hd-actions .hd-admin[hidden] { display: none; }
.hd-more { position: relative; display: none; }
.hd-more summary { list-style: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--hair-2); background: #fff; cursor: pointer; color: var(--navy); }
.hd-more summary::-webkit-details-marker { display: none; }
.hd-more[open] summary { background: var(--sun); box-shadow: var(--pop-sm); }
.hd-more nav, .hd-dest nav { position: absolute; top: calc(100% + 10px); background: #fff; border: 1px solid var(--hair-2); border-radius: var(--r-lg); box-shadow: var(--pop-lg); padding: 8px; display: grid; animation: dropIn 0.25s var(--ease); }
.hd-more nav { right: 0; width: 240px; max-height: calc(100dvh - 84px); overflow-y: auto; overscroll-behavior: contain; }
.menu-lang { display: none; }
.hd-more nav a, .hd-dest nav a { color: var(--navy); font-weight: 600; padding: 10px 12px; border-radius: 10px; }
.hd-more nav a:hover, .hd-dest nav a:hover { background: var(--sun-2); text-decoration: none; }
.hd-more .menu-label, .hd-dest .menu-label { font-size: 0.75rem; font-weight: 800; color: var(--coral); text-transform: uppercase; letter-spacing: 0.08em; padding: 12px 12px 4px; border-top: 1px solid var(--hair); margin-top: 6px; }
.hd-more nav a.on, .hd-dest nav a.on { background: var(--sun); color: var(--navy); }
.hd-dest { position: relative; margin-left: -12px; }
.hd-dest summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 8px 0 12px; border: 1px solid var(--hair-2); border-radius: 999px; background: #fff; font-weight: 700; font-size: 0.875rem; color: var(--navy); cursor: pointer; white-space: nowrap; transition: background 0.15s, box-shadow 0.15s; }
.hd-dest summary::-webkit-details-marker { display: none; }
.hd-dest summary:hover, .hd-dest[open] summary { background: var(--sun-2); box-shadow: var(--pop-sm); }
.hd-dest summary > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hd-dest summary .icon { flex: none; width: 16px; height: 16px; color: var(--navy); stroke-width: 2.4; transition: transform 0.2s var(--ease); }
.hd-dest[open] summary .icon { transform: rotate(180deg); }
.hd-dest nav { left: 0; width: 220px; z-index: 60; max-height: min(72vh, 600px); overflow-y: auto; }
.hd-more nav .menu-label:first-child, .hd-dest nav .menu-label:first-child { border-top: 0; margin-top: 0; padding-top: 6px; }

/* region and currency */
.mkt-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 11px; border: 1px solid var(--hair-2); border-radius: 999px; background: #fff; color: var(--navy); font: 700 0.8125rem/1 var(--font); cursor: pointer; white-space: nowrap; transition: background 0.15s, box-shadow 0.15s; }
.mkt-btn:empty { display: none; }
.mkt-btn:hover { background: var(--sun-2); box-shadow: var(--pop-sm); }
.mkt-btn .icon { width: 16px; height: 16px; color: var(--navy); }
.mkt-btn-ft { height: 34px; }
.site-ft .mkt-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.site-ft .mkt-btn .icon { color: var(--sun); }
.site-ft .mkt-btn:hover { background: rgba(255, 255, 255, 0.1); box-shadow: none; border-color: var(--sun); }
.mkt-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--hair-2); border-radius: 20px; box-shadow: var(--pop-lg); color: var(--ink); background: #fff; overflow: hidden; }
.mkt-dialog[open] { animation: popIn 0.35s var(--spring); }
.mkt-dialog::backdrop { background: rgba(19, 34, 58, 0.5); }
.mkt-form { display: grid; gap: 14px; padding: 22px 24px 24px; max-height: min(80dvh, calc(100% - 32px)); overflow-y: auto; overscroll-behavior: contain; }
.mkt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mkt-head h2 { margin: 0; font-size: 1.375rem; }
.mkt-x { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--hair-2); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; transition: background 0.15s, transform 0.25s var(--spring); }
.mkt-x:hover { background: var(--coral); color: #fff; transform: rotate(90deg); }
.mkt-sub, .mkt-fine { margin: 0; color: var(--ink-3); font-size: 0.875rem; }
.mkt-fine { font-size: 0.8125rem; }
.mkt-field { display: grid; gap: 6px; font-size: 0.8125rem; font-weight: 700; color: var(--navy); }
.mkt-field select { height: 44px; padding: 0 12px; border: 1px solid var(--hair-2); border-radius: var(--r); background: #fff; color: var(--ink); font: 500 0.9375rem var(--font); }
.mkt-field select:focus { outline: none; box-shadow: var(--pop); }
.mkt-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.mkt-actions-origin { flex-wrap: wrap; }
.mkt-origin-dialog { width: min(520px, calc(100% - 32px)); }
.mkt-field-label { margin: 4px 0 0; font-size: 0.8125rem; font-weight: 700; color: var(--navy); }
.mkt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mkt-chip { appearance: none; border: 1px solid var(--hair-2); background: #fff; color: var(--ink-2); font: 600 0.875rem var(--font); min-height: 40px; padding: 10px 14px; border-radius: 999px; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.mkt-chip:hover { border-color: var(--navy); color: var(--navy); }
.mkt-chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.mkt-chip-air.on { background: var(--apricot); border-color: var(--apricot); color: var(--navy); }

/* contact + feedback dialogs */
.tb-form-dialog { width: min(520px, calc(100% - 32px)); }
.mkt-field input, .mkt-field textarea { padding: 10px 12px; border: 1px solid var(--hair-2); border-radius: var(--r); background: #fff; color: var(--ink); font: 500 0.9375rem var(--font); }
.mkt-field input { height: 44px; }
.mkt-field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.mkt-field input:focus, .mkt-field textarea:focus { outline: none; box-shadow: var(--pop); }
.tb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tb-form-msg { margin: 0; color: var(--danger); font-weight: 600; font-size: 0.875rem; }
.tb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tb-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.tb-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tb-stars label { font-size: 2rem; line-height: 1; color: var(--line-2); cursor: pointer; transition: color 0.15s, transform 0.2s var(--spring); }
.tb-stars label:hover, .tb-stars label:hover ~ label, .tb-stars input:checked ~ label { color: var(--mango); }
.tb-stars label:hover { transform: scale(1.15); }
.tb-stars input:focus-visible + label { outline: 1px solid var(--hair-2); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 520px) {
  .tb-form-row { grid-template-columns: 1fr; }
  .mkt-dialog, .mkt-origin-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .mkt-form { padding: 18px 16px 16px; gap: 12px; max-height: calc(100dvh - 24px); }
  .mkt-actions, .mkt-actions-origin { position: sticky; bottom: 0; margin: 4px -16px -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255,255,255,0), #fff 28%); }
  .mkt-actions .btn, .mkt-actions-origin .btn { min-height: 48px; flex: 1 1 auto; justify-content: center; }
  .consent-bar { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; padding: 16px 16px 16px 16px; gap: 12px; }
  .consent-bar::before { display: none; }
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; min-height: 44px; justify-content: center; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .ft-grid > div:first-child { grid-column: 1 / -1; }
}

/* announcement */
.tb-banner { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 48px; background: var(--navy); color: #fff; font-weight: 600; font-size: 0.9375rem; text-align: center; }
.tb-banner a { color: var(--sun); }
.tb-banner button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.tb-banner button:hover { background: rgba(255, 255, 255, 0.12); }

/* cookie consent */
.consent-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: flex; align-items: center; gap: 16px; max-width: 920px; margin: 0 auto; padding: 16px 18px 16px 74px; background: #fff; border: 1px solid var(--hair-2); border-radius: 20px; box-shadow: var(--pop-lg); font-size: 0.9375rem; color: var(--ink-2); animation: dropIn 0.5s var(--spring); }
.consent-bar::before { content: ""; position: absolute; left: 16px; top: 50%; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; border: 1px solid var(--hair-2); background: var(--apricot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42' fill='%2313223a'%3E%3Ccircle cx='14' cy='15' r='3'/%3E%3Ccircle cx='26' cy='12' r='2.2'/%3E%3Ccircle cx='27' cy='25' r='3.2'/%3E%3Ccircle cx='15' cy='28' r='2.4'/%3E%3Ccircle cx='21' cy='20' r='1.6'/%3E%3C/svg%3E") center / 100% no-repeat; animation: wiggle 2.4s 0.6s ease-in-out 2; }
.consent-bar p { margin: 0; flex: 1; }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* footer */
.site-ft { position: relative; background: var(--navy); color: rgba(255, 255, 255, 0.72); padding: 64px 0 28px; font-size: 0.9375rem; }
.site-ft .logo, .ft-grid h4 { color: #fff; }
.ft-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.ft-grid p { color: rgba(255, 255, 255, 0.62); max-width: 30ch; margin-top: 12px; }
.ft-grid h4 { font-family: var(--display); font-size: 0.875rem; font-weight: 700; margin-bottom: 12px; }
.ft-grid nav a { display: block; color: rgba(255, 255, 255, 0.8); padding: 4px 0; font-size: 0.9375rem; transition: color 0.15s, transform 0.2s var(--ease); }
.ft-grid nav .menu-label { display: block; color: rgba(255, 255, 255, 0.5); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin: 10px 0 2px; }
.ft-grid nav .menu-label:first-child { margin-top: 0; }
.ft-grid nav a:hover { color: var(--sun); text-decoration: none; transform: translateX(3px); }
.ft-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 40px; padding-top: 20px; color: rgba(255, 255, 255, 0.62); font-size: 0.8125rem; }
.ft-base p { margin: 0; }
.ft-base a { color: rgba(255, 255, 255, 0.85); }

/* sections */
.sec { padding: 88px 0; }
.sec-alt { background: var(--sand); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 10px 0 0; color: var(--ink-3); font-size: 1.0625rem; max-width: 56ch; }

/* legal pages */
.legal { padding: 0 0 96px; }
.legal .wrap { max-width: 760px; }
.legal-hero { position: relative; overflow: hidden; background: var(--sand); border-bottom: 1px solid var(--hair-2); padding: 64px 0 44px; margin-bottom: 48px; }
.legal-hero::before, .legal-hero::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--hair-2); }
.legal-hero::before { right: 8%; top: 28px; width: 92px; height: 92px; background: var(--sun); box-shadow: var(--pop); animation: dropIn 0.8s 0.2s var(--ease) both; }
.legal-hero::after { right: calc(8% + 70px); top: 98px; width: 34px; height: 34px; background: var(--coral); animation: dropIn 0.8s 0.4s var(--ease) both; }
.legal h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); margin-bottom: 0; max-width: 16ch; animation: dropIn 0.7s var(--ease) both; }
.legal .updated { display: inline-block; margin: 18px 0 0; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--hair-2); color: var(--navy); font-size: 0.8125rem; font-weight: 700; }
.legal h2 { font-size: 1.5rem; margin: 48px 0 12px; display: flex; align-items: center; gap: 12px; }
.legal h2::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 4px; border: 1px solid var(--hair-2); background: var(--sun); transform: rotate(12deg); }
.legal h2:nth-of-type(4n + 2)::before { background: var(--mint); }
.legal h2:nth-of-type(4n + 3)::before { background: var(--peach); }
.legal h2:nth-of-type(4n)::before { background: var(--ice); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--coral); }
.legal p, .legal li { color: var(--ink-2); }
.legal strong { color: var(--navy); }

/* calm layer: flat surfaces, thin lines, motion only where it explains something */
.btn:hover, .btn-primary:hover, .btn-xs:hover { transform: none; box-shadow: none; }
.btn:active, .btn-primary:active { transform: none; box-shadow: none; }
.btn { border-width: 1px; }
.btn-primary { border-color: var(--navy); box-shadow: none; }
.btn-primary:hover { background: #ffbe1a; }
.btn-secondary, .btn-ghost, .btn-light { border-color: var(--hair-2); }
.btn-secondary:hover, .btn-ghost:hover, .btn-light:hover { background: #f5f6f8; }
.btn-outline-light:hover { box-shadow: none; }
.site-hd { border-bottom: 1px solid var(--hair); background: rgba(255, 255, 255, 0.94); }
.logo:hover svg { transform: none; }
.hd-more summary, .hd-dest summary, .mkt-btn { border: 1px solid var(--hair-2); }
.hd-dest summary:hover, .hd-dest[open] summary, .mkt-btn:hover, .hd-more[open] summary { box-shadow: none; background: #f5f6f8; }
.hd-more nav, .hd-dest nav, .mkt-dialog { border: 1px solid var(--hair); box-shadow: var(--pop-lg); }
.hd-more .menu-label { border-top: 1px solid var(--hair); color: var(--ink-3); }
.mkt-x { border: 1px solid var(--hair-2); }
.mkt-x:hover { background: #f5f6f8; color: var(--navy); transform: none; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus, .mkt-field select:focus, .mkt-field input:focus, .mkt-field textarea:focus { box-shadow: 0 0 0 3px var(--sun-2); border-color: var(--navy); }
.chip { border-color: var(--hair-2); }
.chip.on, .chip[aria-pressed="true"] { transform: none; box-shadow: none; border-color: var(--navy); }
.tag { border-color: var(--hair-2); }
.kicker { box-shadow: none; }
.kicker-dot { animation: none; }
.hl::after, .swash::after { display: none; }
.ico-box { box-shadow: none; }
.consent-bar { border: 1px solid var(--hair); box-shadow: var(--pop-lg); }
.consent-bar::before { animation: none; }
.ft-grid nav a:hover { transform: none; }
.legal-hero { background: #fff; border-bottom: 1px solid var(--hair); }
.legal-hero::before, .legal-hero::after { display: none; }
.legal h2::before { display: none; }

@media (max-width: 900px) {
  .hd-nav { display: none; }
  .hd-more { display: block; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-grid > :first-child { grid-column: 1 / -1; }
  .sec { padding: 64px 0; }
}
@media (max-width: 560px) {
  /* Stray wide content must never make the whole page pan sideways on a phone. */
  main { overflow-x: clip; }
  .wrap, .shell { width: min(var(--wrap), 100% - 32px); }
  .hd-row { gap: 10px; }
  .hd-dest { margin-left: -4px; min-width: 0; }
  .hd-dest summary { max-width: 100%; padding: 0 6px 0 10px; font-size: 0.8125rem; }
  .hd-actions:has(.me-chip) .plan-btn { display: none; }
  .hd-actions > .lang-slot { display: none; }
  .menu-lang:has(select) { display: grid; gap: 6px; padding: 0 4px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--hair); }
  .ft-grid > :nth-child(2) { grid-column: 1 / -1; }
  .ft-grid > :nth-child(2) nav { columns: 2; column-gap: 24px; }
  .ft-grid nav .menu-label { break-after: avoid; }
  .menu-lang .menu-label, .menu-lang + .menu-label { border-top: 0; margin-top: 0; padding: 6px 8px 0; }
  .menu-lang .lang-select { width: 100%; max-width: none; height: 44px; padding: 0 12px; }
  .hd-more nav { width: min(280px, 100vw - 32px); }
  /* Brand name stays — research: brand is a hero-level signal, not icon-only chrome. */
  .logo span { display: inline; font-size: 1.05rem; }
  .hd-actions { gap: 6px; }
  .hd-actions .btn-sm,
  .hd-actions .btn-primary { display: none; }
  .hd-signin { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .hd-actions .mkt-btn { display: none; }
  .hd-more summary {
    display: grid; place-items: center; width: 44px; height: 44px;
    border-radius: 12px; border: 1px solid var(--hair-2); background: var(--paper);
  }
  .consent-bar { flex-direction: column; align-items: stretch; left: 8px; right: 8px; bottom: 8px; padding-left: 18px; }
  .consent-bar::before { display: none; }
  .consent-actions .btn { flex: 1; }
  .legal-hero { padding: 44px 0 32px; }
  .legal-hero::before { width: 60px; height: 60px; right: 6%; top: 16px; }
  .legal-hero::after { display: none; }
}
@media (max-width: 374px) {
  .hd-actions .plan-btn { display: none; }
}
/* iOS zooms the page into any field whose text is under 16px and leaves it zoomed. */
@media (max-width: 760px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea { font-size: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .hl::after, .swash::after { transform: rotate(-2deg) scaleX(1); }
  .squiggle { clip-path: none; }
}

/* Calm public-page rhythm: short summaries, optional supporting navigation. */
.footer-links > summary, .content-details > summary {
  cursor: pointer; min-height: 44px; padding: 10px 0;
  font-weight: 750; color: var(--ink); line-height: 1.4;
}
.footer-links > summary:focus-visible, .content-details > summary:focus-visible {
  outline: 3px solid var(--mint, #168678); outline-offset: 4px; border-radius: 4px;
}
.footer-links[open] > nav { padding: 8px 0 16px; }
.content-details { margin: 20px 0; padding: 4px 20px; border: 1px solid var(--hair-2); border-radius: 16px; background: var(--paper, #fff); }
.content-details[open] { padding-bottom: 20px; }
.content-details[open] > summary { margin-bottom: 16px; }
.site-ft .ft-grid > div > p { max-width: 28ch; line-height: 1.6; }
.sec-head p, .page-head p { max-width: 58ch; line-height: 1.6; }
.ssr-guide { max-width: 880px; }
.ssr-guide > p, .ssr-guide > ul, .ssr-guide > ol { max-width: 70ch; line-height: 1.7; }
.ssr-guide .guide-faq { margin: 12px 0; }
@media (max-width: 760px) {
  .content-details { padding-inline: 16px; }
  .site-ft { padding-top: 32px; }
  .site-ft .ft-grid { gap: 20px; }
}
