/* UniSoftware Group front page (design I) — D's language (dark cinematic hero, serif headlines, mono codes, alternating paper/dark bands)
   applied to an Employer of Record site: Philippines → Europe, talent pool, GDPR. */

:root {
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --wrap: min(1240px, 100% - 2 * clamp(20px, 4.5vw, 56px));
  --ease: cubic-bezier(.2, .7, .1, 1);
  --accent: #d9572b;
  --accent-hi: #ef6a37;
  --ink: #0e0d0b;
}
/* tones */
:root, .paper { --bg: #f6f3ee; --bg-2: #efeae2; --card: #fbf9f5; --fg: #14171f; --fg-2: #3a3e48; --muted: #676a72; --line: #ddd6ca; --a-text: #b4441f; }
.paper-2 { --bg: #ebe5da; --bg-2: #e2dbce; --card: #f4f0e8; --fg: #14171f; --fg-2: #3a3e48; --muted: #63666d; --line: #d2c9b9; --a-text: #ac3f1b; }
.dark, .hero, .top { --bg: #0e0d0b; --bg-2: #161512; --card: #161512; --fg: #efe9df; --fg-2: #c9c1b4; --muted: #948c7f; --line: rgb(239 233 223 / .14); --a-text: #ff8a57; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .paper { --bg: #15171c; --bg-2: #1b1e24; --card: #1b1e24; --fg: #ece8e1; --fg-2: #c7c3bb; --muted: #969aa2; --line: #2a2e37; --a-text: #f2895c; }
  :root:not([data-theme="light"]) .paper-2 { --bg: #1a1814; --bg-2: #221f1a; --card: #221f1a; --fg: #ece8e1; --fg-2: #c7c3bb; --muted: #969aa2; --line: #33302a; --a-text: #f2895c; }
}
:root[data-theme="dark"] .paper { --bg: #15171c; --bg-2: #1b1e24; --card: #1b1e24; --fg: #ece8e1; --fg-2: #c7c3bb; --muted: #969aa2; --line: #2a2e37; --a-text: #f2895c; }
:root[data-theme="dark"] .paper-2 { --bg: #1a1814; --bg-2: #221f1a; --card: #221f1a; --fg: #ece8e1; --fg-2: #c7c3bb; --muted: #969aa2; --line: #33302a; --a-text: #f2895c; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--fg); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; text-wrap: pretty; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--accent); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.small { font-size: 13px; color: var(--muted); }
.code, .mono-label { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--a-text); margin: 0 0 18px; }
h1 em, h2 em { font-style: italic; color: var(--accent-hi); }
.paper h2 em, .paper-2 h2 em { color: var(--a-text); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--fg); transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.is-scrolled { background: rgb(14 13 11 / .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 17px/1 var(--sans); }
.brand em { font: italic 400 19px/1 var(--serif); color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 14px; }
.nav a { text-decoration: none; color: var(--fg-2); }
.nav a:hover { color: var(--fg); }
.nav i { font: 400 11px var(--mono); font-style: normal; color: var(--muted); margin-right: 4px; }
.nav-cta { padding: 9px 14px; border: 1px solid var(--line); color: var(--fg) !important; }
.nav-cta:hover { border-color: var(--accent); }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 1px solid var(--line); color: var(--fg); cursor: pointer; }
.menu-btn { display: none; }
.menu-btn span { grid-area: 1 / 1; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s; }
.menu-btn span:first-child { transform: translateY(-3px); } .menu-btn span:last-child { transform: translateY(3px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; align-content: center; overflow: hidden; background: var(--bg); color: var(--fg); padding: 120px 0 90px; }
.cv-wall { position: absolute; inset: -20% -10% -20% 30%; display: grid; grid-template-columns: repeat(6, 220px); gap: 18px; transform: perspective(1400px) rotateX(18deg) rotateZ(-12deg) rotateY(-8deg); opacity: .55; pointer-events: none; }
.wcol { display: grid; gap: 18px; align-content: start; animation: drift var(--d, 50s) linear infinite; }
.wcol:nth-child(even) { animation-direction: reverse; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.wcv { display: grid; gap: 6px; padding: 16px; background: #1a1916; border: 1px solid rgb(239 233 223 / .12); }
.wcv span { font: 400 10px var(--mono); color: #8b8478; letter-spacing: .06em; }
.wcv b { font: 500 18px/1.2 var(--serif); color: #efe9df; }
.wcv em { font: normal 400 12px var(--mono); color: #c9c1b4; }
.wcv i { font: normal 500 11px var(--mono); color: var(--accent-hi); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgb(14 13 11 / .92) 38%, rgb(14 13 11 / .35) 75%, rgb(14 13 11 / .6) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); pointer-events: none; }
.hero-inner { position: relative; }
.mono-label { display: flex; align-items: center; gap: 10px; color: var(--fg-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-hi); box-shadow: 0 0 0 4px rgb(239 106 55 / .2); }
.hero h1 { font: 300 clamp(44px, 6.6vw, 96px)/1.02 var(--serif); letter-spacing: -.025em; max-width: 12.5em; margin-bottom: 28px; }
.hero-lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--fg-2); max-width: 40em; }
.hero-inner > :nth-child(2) { transition-delay: .1s; } .hero-inner > :nth-child(3) { transition-delay: .2s; } .hero-inner > :nth-child(4) { transition-delay: .3s; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; border: 1px solid var(--line); background: rgb(22 21 18 / .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); max-width: 980px; }
.hero-facts a { display: grid; gap: 8px; padding: 22px 24px; text-decoration: none; transition: background-color .25s; }
.hero-facts a + a { border-left: 1px solid var(--line); }
.hero-facts a:hover { background: rgb(239 233 223 / .05); }
.hero-facts b { white-space: nowrap; font: 300 clamp(34px, 3.8vw, 54px)/1 var(--serif); color: var(--accent-hi); font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: 14px; color: var(--fg-2); line-height: 1.45; }
.status { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line); background: rgb(14 13 11 / .85); }
.status-row { display: flex; flex-wrap: wrap; gap: 6px 30px; justify-content: flex-end; padding: 12px 0; font: 400 12px/1 var(--mono); color: var(--muted); letter-spacing: .06em; }
.status time, .status b { color: var(--fg); font-weight: 500; margin-left: 6px; }
.status .mnl time { color: var(--accent-hi); }

/* bands */
.band { background: var(--bg); color: var(--fg); padding: clamp(90px, 11vw, 150px) 0; }
.band-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 80px); }
.band h2 { font: 300 clamp(38px, 5vw, 70px)/1.04 var(--serif); letter-spacing: -.02em; margin-bottom: 26px; }
.band-lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--fg-2); max-width: 44em; }
.big-num { color: var(--accent-hi); font-variant-numeric: tabular-nums; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0 0 clamp(60px, 8vw, 100px); display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--fg); }
.steps li { padding: 22px 22px 0 0; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps b { font: 500 12px var(--mono); color: var(--a-text); }
.steps h3 { font: 400 26px/1.1 var(--serif); margin: 14px 0 10px; }
.steps p { font-size: 15px; color: var(--fg-2); }
.steps li:nth-child(2) { transition-delay: .07s; } .steps li:nth-child(3) { transition-delay: .14s; } .steps li:nth-child(4) { transition-delay: .21s; } .steps li:nth-child(5) { transition-delay: .28s; }

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.ledger-wrap h3, .invoice h3 { font: 400 28px/1.1 var(--serif); margin-bottom: 20px; }
.ledger { margin: 0; border-top: 1px solid var(--fg); }
.ledger div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ledger dt { font: 500 19px/1.3 var(--serif); }
.ledger dd { margin: 0; color: var(--fg-2); font-size: 15px; }
.invoice { background: var(--card); border: 1px solid var(--line); padding: 26px; font: 400 13px/1.6 var(--mono); }
.invoice ul { list-style: none; margin: 0; padding: 0; }
.invoice li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; }
.invoice li i { flex: 1; border-bottom: 1px dotted var(--muted); transform: translateY(-4px); }
.invoice li i::after { content: ""; }
.invoice-total { display: flex; justify-content: space-between; margin: 14px 0 10px; padding: 12px 0; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--fg); font-weight: 500; }
.invoice .small { font-family: var(--sans); margin: 0; }

/* talent pool */
.roles { list-style: none; padding: 0; margin: 0 0 clamp(56px, 7vw, 90px); display: flex; flex-wrap: wrap; gap: 8px; }
.roles li { padding: 8px 14px; border: 1px solid var(--line); font: 400 13px var(--mono); color: var(--fg-2); }
.cv-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 18px; }
.cv { background: var(--bg-2); border: 1px solid var(--line); padding: 22px; transition: border-color .3s, transform .4s var(--ease); }
.cv:hover { border-color: var(--accent); transform: translateY(-4px); }
.cv:nth-child(2) { transition-delay: .08s; } .cv:nth-child(3) { transition-delay: .16s; }
.cv header { display: flex; justify-content: space-between; font: 400 11px var(--mono); color: var(--muted); letter-spacing: .06em; padding-bottom: 14px; border-bottom: 1px dashed var(--line); margin-bottom: 16px; }
.cv header span:last-child { color: var(--a-text); }
.cv h3 { font: 400 26px/1.1 var(--serif); margin-bottom: 8px; }
.cv p { font: 400 13px var(--mono); color: var(--fg-2); }
.cv dl { margin: 0; display: grid; gap: 4px; }
.cv dl div { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; border-top: 1px solid var(--line); }
.cv dt { color: var(--muted); }
.cv dd { margin: 0; }

/* GDPR: brief */
.gdpr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.gdpr .band-head { margin-bottom: 0; }
.gdpr-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.gdpr-list li { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--fg-2); }
.gdpr-list b { font: 400 21px/1.2 var(--serif); color: var(--fg); }

/* time zones */
.tz { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); border: 1px solid var(--line); background: var(--bg-2); }
.tz-cities { display: grid; grid-template-columns: 1fr 1fr; align-content: stretch; border-right: 1px solid var(--line); }
.tz-cities label { cursor: pointer; }
.tz-cities input { position: absolute; opacity: 0; pointer-events: none; }
.tz-cities span { display: flex; align-items: center; height: 100%; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--fg-2); transition: background-color .2s, color .2s; }
.tz-cities label:nth-child(odd) span { border-right: 1px solid var(--line); }
.tz-cities label:hover span { color: var(--fg); background: rgb(239 233 223 / .04); }
.tz-cities input:checked + span { background: var(--accent); color: #fff; }
.tz-cities input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: -2px; }
.tz-board { padding: clamp(22px, 3vw, 40px); display: grid; gap: 28px; align-content: start; }
.tz-head { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tz-head small { display: block; font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.tz-head b { font: 300 clamp(28px, 2.7vw, 42px)/1 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tz-head div:last-child b { color: var(--accent-hi); }
.tz-chart { --name: 120px; position: relative; display: grid; gap: 12px; padding-top: 18px; }
.tz-row { display: grid; grid-template-columns: var(--name) 1fr; align-items: center; font: 400 12px var(--mono); color: var(--fg-2); }
.tz-track { position: relative; height: 34px; background: repeating-linear-gradient(90deg, rgb(239 233 223 / .1) 0 1px, transparent 1px calc(100% / 24)); border: 1px solid var(--line); }
.tz-track i { position: absolute; top: 5px; bottom: 5px; transition: left .45s var(--ease), width .45s var(--ease); }
.tz-office { background: rgb(239 233 223 / .85); }
.tz-eng { background: rgb(239 106 55 / .35); border: 1px solid var(--accent-hi); }
.tz-ov { background: var(--accent-hi); top: 11px !important; bottom: 11px !important; }
.tz-axis { display: flex; justify-content: space-between; margin-left: var(--name); font: 400 11px var(--mono); color: var(--muted); }
.tz-nowline { position: absolute; top: 0; bottom: 22px; border-left: 1.5px dashed #fff; left: calc(var(--name) + (100% - var(--name)) * var(--now, .5)); }
.tz-nowline::before { content: "now"; position: absolute; top: -2px; left: 6px; font: 500 10px var(--mono); color: #fff; text-transform: uppercase; }
.tz-slider { display: grid; gap: 10px; font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tz-slider output { color: var(--fg); }
.tz-slider input { width: 100%; accent-color: var(--accent); }
.tz-note { font-size: 13px; color: var(--muted); margin: -12px 0 0; }
.tz .btn { justify-self: start; }

/* pricing */
.split.one { grid-template-columns: 1fr; }
.split.one .ledger { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.price-grid > * { min-width: 0; }
.price-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.price { border: 1px solid var(--line); background: var(--bg-2); padding: clamp(22px, 3vw, 36px); }
.price dl { margin: 0 0 18px; }
.price dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price dt { color: var(--fg-2); }
.price dd { margin: 0; font: 300 clamp(26px, 2.6vw, 36px)/1 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price dd small { font: 400 12px var(--mono); color: var(--muted); margin-left: 4px; }
.price .total { border-bottom: 0; border-top: 1px solid var(--fg); margin-top: 6px; }
.price .total dt { color: var(--fg); font-weight: 600; }
.price .total dd { font-size: clamp(38px, 4vw, 56px); color: var(--accent-hi); }
.terms { margin: 4px 0 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.terms h3 { font: 400 22px/1.1 var(--serif); margin-bottom: 10px; }
.terms p { font-size: 15px; color: var(--fg-2); margin-bottom: 8px; }
.terms b { color: var(--fg); }
.offer h3 { font: 400 28px/1.1 var(--serif); margin-bottom: 18px; }
.offer ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fg); }
.offer li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); color: var(--fg-2); font-size: 16px; position: relative; }
.offer li::before { content: "✓"; position: absolute; left: 2px; top: 14px; color: var(--accent-hi); font-weight: 600; }
.offer b { color: var(--fg); font-weight: 600; }
.lang { font: 500 12px var(--mono); text-decoration: none; color: var(--fg-2); padding: 9px 8px; border: 1px solid var(--line); }
.lang:hover { color: var(--fg); border-color: var(--accent); }

/* button */
.btn { justify-self: start; display: inline-block; padding: 14px 22px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .2s; }
.btn:hover { background: var(--accent-hi); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.contact h2 { margin: 0; font-size: clamp(42px, 5.6vw, 80px); }
.contact p { color: var(--fg-2); }
.mail { display: inline-block; margin-top: 8px; font: 400 clamp(22px, 2.4vw, 30px)/1.2 var(--serif); text-decoration: none; border-bottom: 1px solid var(--accent); overflow-wrap: anywhere; }
.mail:hover { color: var(--a-text); }

.foot { background: var(--ink); color: #948c7f; border-top: 1px solid rgb(239 233 223 / .12); padding: 22px 0; font: 400 12px var(--mono); }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }


@media (max-width: 1080px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .steps li + li { border-left: 0; padding-left: 0; }
  .steps li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .split, .contact-grid, .gdpr, .tz, .price-grid { grid-template-columns: 1fr; }
  .split.one .ledger { grid-template-columns: 1fr; }
  .tz-cities { grid-template-columns: repeat(3, 1fr); border-right: 0; border-bottom: 1px solid var(--line); }
  .tz-cities label:nth-child(odd) span { border-right: 0; }
  .tz-cities span { border-right: 1px solid var(--line); }
  .cv-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px 24px; background: var(--ink); border-bottom: 1px solid var(--line); font: 400 24px/1 var(--serif); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .nav a { padding: 12px 0; width: 100%; }
  .nav-cta { border: 0; padding: 12px 0 !important; color: var(--accent-hi) !important; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open .top { background: var(--ink); backdrop-filter: none; }
  .icon-btn[data-theme-toggle] { margin-left: auto; }
  .cv-wall { inset: -10% -40% -10% -10%; opacity: .3; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts a + a { border-left: 0; border-top: 1px solid var(--line); }
  .hero-facts a { grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 16px 18px; }
  .hero-facts b { font-size: 36px; min-width: 80px; }
  .hero-facts br, .hide-sm { display: none; }
  .tz-head { grid-template-columns: 1fr 1fr; }
  .tz-head div:first-child { grid-column: 1 / -1; }
  .gdpr-list li { grid-template-columns: 1fr; gap: 2px; }
  .ledger div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 600px) {
  .price dl div { flex-wrap: wrap; }
  .price dd { white-space: normal; }
  .steps, .cv-row { grid-template-columns: 1fr; }
  .tz-cities { grid-template-columns: 1fr 1fr; }
  .tz-chart { --name: 84px; }
  .tz-axis span:nth-child(even) { visibility: hidden; }
  .steps li:nth-child(even) { padding-left: 0; border-left: 0; }
  .status-row { justify-content: flex-start; gap: 6px 18px; }
  .hero { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* animated language switch: a panel wipes up over the page, content swaps underneath, panel wipes away */
.lang-curtain { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: var(--accent); color: #fff;
  clip-path: inset(100% 0 0 0); transition: clip-path .52s cubic-bezier(.76, 0, .24, 1); pointer-events: all; }
.lang-curtain.in { clip-path: inset(0 0 0 0); }
.lang-curtain.out { clip-path: inset(0 0 100% 0); transition-duration: .62s; }
.lang-curtain span { display: grid; justify-items: center; gap: 10px; font: 300 clamp(56px, 10vw, 140px)/1 var(--serif); font-style: italic; letter-spacing: -.02em;
  opacity: 0; transform: translateY(30px); transition: opacity .35s .18s, transform .5s .18s cubic-bezier(.2, .7, .1, 1); }
.lang-curtain small { font: 500 12px var(--mono); font-style: normal; letter-spacing: .3em; opacity: .8; }
.lang-curtain.in span { opacity: 1; transform: none; }
.lang-curtain.out span { opacity: 0; transform: translateY(-30px); transition-delay: 0s; }
