/* TRANSCALE website — brand: navy #062A5A, orange #FF751F (from the logo), IBM Plex Sans */
@font-face { font-family: "Plex"; src: url("../assets/fonts/ibm-plex-sans-latin-400-normal.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../assets/fonts/ibm-plex-sans-latin-700-normal.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --navy: #062A5A;
  --navy-2: #0B3A78;
  --navy-ink: #04203f;
  --orange: #FF751F;
  --orange-dark: #E25F0C;
  --ink: #1B2533;
  --muted: #5A6577;
  --line: #E3E8EF;
  --soft: #F4F7FB;
  --white: #FFFFFF;
  --wa: #25D366;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Plex", "Segoe UI", system-ui, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.01em; margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 6px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 10px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
section { padding: 76px 0; }
.soft { background: var(--soft); }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 46px; width: auto; }
.menu { display: flex; gap: 28px; list-style: none; align-items: center; }
.menu a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--orange-dark); }
.menu .btn { color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--navy); cursor: pointer; padding: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #06351a; }
.btn-wa:hover { background: #1fbe5b; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn svg { width: 19px; height: 19px; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.trial { display: inline-flex; align-items: center; gap: 8px; background: #FFF4C2; color: #5a4300; font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 10px; border: 1px dashed #d9b400; }

/* hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); padding: 90px 0 84px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -80px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255,117,31,.35), rgba(255,117,31,0) 70%); }
.hero h1 { color: var(--white); max-width: 820px; position: relative; z-index: 1; }
.hero h1 span { color: var(--orange); }
.hero p.lead { color: #D4DEEC; margin-top: 18px; position: relative; z-index: 1; }
.hero .cta-row { position: relative; z-index: 1; }
.trust { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: #C3D0E3; position: relative; z-index: 1; }
.trust span::before { content: "✓ "; color: var(--orange); font-weight: 700; }
.page-hero { padding: 64px 0 56px; }

/* grids & cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); font-size: .97rem; }
a.card { text-decoration: none; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--orange); transform: translateY(-2px); }
.num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: var(--white); font-weight: 700; margin-bottom: 14px; }
.card .num.o { background: var(--orange); }

/* pain list */
.pains { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.pains li { background: var(--white); border-left: 4px solid var(--orange); border-radius: 10px; padding: 16px 18px; font-weight: 700; color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.after-note { margin-top: 26px; font-size: 1.08rem; color: var(--muted); }

/* comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 15px 18px; text-align: left; vertical-align: top; font-size: .98rem; }
.compare th { font-size: 1rem; }
.compare th:first-child { background: #EEF1F5; color: var(--muted); }
.compare th:last-child { background: var(--navy); color: var(--white); }
.compare td:first-child { color: var(--muted); background: #FAFBFC; }
.compare td:first-child::before { content: "✕ "; color: #C4473A; font-weight: 700; }
.compare td:last-child { font-weight: 700; color: var(--navy); background: var(--white); }
.compare td:last-child::before { content: "✓ "; color: var(--orange-dark); }
.compare tr + tr td { border-top: 1px solid var(--line); }
.tagline { margin-top: 28px; font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 700; color: var(--navy); }
.tagline span { color: var(--orange-dark); }

/* steps */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 4px; }
.step h3::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--white); margin-right: 10px; font-size: .95rem; }

/* examples */
.example .who { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-dark); }
.example h3 { margin-top: 4px; }

/* fee band */
.band { background: var(--navy); color: var(--white); border-radius: 22px; padding: 46px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.band h2 { color: var(--white); }
.band p { color: #D4DEEC; }
.band .cta-row { margin-top: 0; justify-content: flex-end; }

/* services */
.svc { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
.svc .card h3 { display: flex; gap: 10px; align-items: baseline; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; color: var(--navy); font-size: .93rem; }

/* about */
.quote { border-left: 5px solid var(--orange); background: var(--soft); padding: 26px 30px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.15rem; color: var(--navy); font-weight: 700; line-height: 1.55; }
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 26px; align-items: start; }
.founder .badge { width: 120px; height: 120px; border-radius: 24px; background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 2.3rem; font-weight: 700; }
.creds { color: var(--orange-dark); font-weight: 700; margin: 4px 0 10px; }
.beliefs { list-style: none; display: grid; gap: 12px; }
.beliefs li { padding-left: 30px; position: relative; }
.beliefs li::before { content: "→"; position: absolute; left: 0; color: var(--orange-dark); font-weight: 700; }
.promise td:first-child::before { content: "We can't: "; }
.promise td:last-child::before { content: "We can: "; }

/* contact */
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; color: var(--navy); font-weight: 700; }
.contact-list b { display: block; color: var(--navy); }
form.estimate { display: grid; gap: 16px; }
form.estimate label { font-weight: 700; color: var(--navy); font-size: .95rem; display: grid; gap: 6px; }
form.estimate input, form.estimate select { font: inherit; padding: 12px 14px; border: 1px solid #C9D2DE; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
form.estimate input:focus, form.estimate select:focus { outline: 2px solid var(--orange); border-color: transparent; }
fieldset { border: 0; display: grid; gap: 8px; }
legend { font-weight: 700; color: var(--navy); font-size: .95rem; margin-bottom: 6px; }
.ticks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 14px; }
.ticks label { font-weight: 400 !important; color: var(--ink) !important; display: flex !important; gap: 8px; align-items: center; }
.ticks input { width: auto !important; accent-color: var(--orange); }
.form-note { font-size: .85rem; color: var(--muted); }

/* final cta */
.final { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); text-align: center; }
.final h2 { color: var(--white); }
.final p { color: #D4DEEC; }
.final .cta-row { justify-content: center; }

/* footer */
footer { background: var(--navy-ink); color: #AFC0D6; padding: 46px 0 28px; font-size: .92rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer h4 { color: var(--white); margin-bottom: 10px; font-size: .95rem; }
footer a { color: #DCE6F3; text-decoration: none; }
footer a:hover { color: var(--orange); }
footer ul { list-style: none; display: grid; gap: 6px; }
.foot-brand img { height: 44px; background: var(--white); padding: 6px 10px; border-radius: 10px; margin-bottom: 12px; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 18px; font-size: .82rem; }

/* floating whatsapp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* responsive */
@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .band { grid-template-columns: 1fr; padding: 34px 26px; }
  .band .cta-row { justify-content: flex-start; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 60px; }
  .menu-toggle { display: block; }
  .menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 20px 18px; align-items: stretch; }
  .menu.open { display: flex; }
  .menu li a { display: block; padding: 12px 0; }
  .menu li .btn { justify-content: center; margin-top: 8px; }
  .brand img { height: 38px; }
  .g2, .g3, .g4, .pains, .ticks { grid-template-columns: 1fr; }
  .compare th, .compare td { padding: 12px; font-size: .92rem; }
  .founder { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; justify-content: center; }
}
.final .lead { margin: 0 auto; }
