/* TMS homepage prototype V2 — navy, warm gold, ivory. Fonts self-hosted (OFL). */
@font-face { font-family: "Manrope"; src: url(assets/fonts/manrope.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(assets/fonts/cormorant-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  --navy-950: #07101F;
  --navy-900: #0B1830;
  --navy-850: #0F1F3B;
  --navy-800: #142846;
  --navy-700: #1D375E;
  --gold: #C9A45C;
  --gold-hi: #E7C98A;
  --gold-deep: #A9822F;
  --ivory: #F7F1E5;
  --ivory-2: #EFE5D1;
  --ivory-line: #E2D5BA;
  --ink: #12203A;
  --ink-2: #4A5468;
  --on-navy: #F4EEE2;
  --on-navy-2: #B8C0CF;
  --line-navy: rgba(231, 201, 138, .18);
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant", Georgia, serif;
  --r: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--navy-950); color: var(--on-navy); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.022em; line-height: 1.08; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy-950); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.gold { display: block; color: var(--gold-hi); }
.gold-d { display: block; color: var(--gold-deep); }

/* eyebrow / kicker */
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.eyebrow::before, .kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow.center::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .8; }
.kicker { color: var(--gold-deep); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: 10px; font: 700 14.5px/1.2 var(--sans); text-decoration: none; letter-spacing: .005em; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; border: 1px solid transparent; text-align: center; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-lg { padding: 15px 24px; font-size: 15.5px; }
.btn-gold { background: linear-gradient(180deg, #ECD196, #C9A45C); color: #0A1428; box-shadow: 0 10px 28px -12px rgba(231, 201, 138, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -12px rgba(231, 201, 138, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-ghost { border-color: rgba(231, 201, 138, .5); color: var(--on-navy); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--gold-hi); background: rgba(231, 201, 138, .08); }
.btn-navy { background: var(--navy-900); color: var(--ivory); box-shadow: 0 14px 30px -16px rgba(7, 16, 31, .7); }
.btn-navy svg { color: var(--gold-hi); }
.btn-navy:hover { background: var(--navy-800); transform: translateY(-1px); }
.btn-outline-navy { border-color: rgba(18, 32, 58, .35); color: var(--ink); background: transparent; }
.btn-outline-navy:hover { border-color: var(--ink); background: rgba(18, 32, 58, .04); }
.btn-outline-navy svg { color: var(--gold-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.actions.center { justify-content: center; }
.lede { font-size: 18px; line-height: 1.65; color: var(--on-navy-2); }
.lede b { color: var(--on-navy); font-weight: 650; }

/* ============ header ============ */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(7, 16, 31, .86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line-navy); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { font-size: 14px; font-weight: 600; color: var(--on-navy-2); text-decoration: none; transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--on-navy); }
.nav a.ext { display: inline-flex; align-items: center; gap: 6px; padding-left: 22px; border-left: 1px solid var(--line-navy); }
.head-btn { padding: 11px 16px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-navy); background: transparent; color: var(--on-navy); align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; }

/* ============ hero ============ */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 560px at 78% 30%, rgba(201, 164, 92, .16), transparent 60%),
  radial-gradient(800px 600px at 10% 0%, rgba(40, 80, 150, .28), transparent 60%),
  linear-gradient(180deg, #081227 0%, #07101F 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(231, 201, 138, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(231, 201, 138, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 60px; }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 4vw, 56px); color: #FFF8EC; }
.hero .lede { margin-top: 24px; max-width: 540px; }
.hero .actions { margin-top: 34px; }

/* hero scene — dimensional software imagery */
.scene { position: relative; margin: 0; height: 520px; perspective: 1600px; }
.glow { position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; }
.glow.g1 { width: 380px; height: 300px; right: 40px; top: 30px; background: rgba(231, 190, 110, .28); }
.glow.g2 { width: 320px; height: 260px; left: 10px; bottom: 10px; background: rgba(60, 110, 200, .3); }
.bokeh i { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(243, 220, 166, .55), rgba(243, 220, 166, 0) 70%); }
.bokeh i:nth-child(1) { width: 60px; height: 60px; left: 6%; top: 8%; opacity: .5; }
.bokeh i:nth-child(2) { width: 22px; height: 22px; left: 40%; top: 2%; }
.bokeh i:nth-child(3) { width: 90px; height: 90px; right: -2%; bottom: 4%; opacity: .35; }
.bokeh i:nth-child(4) { width: 14px; height: 14px; right: 30%; top: 12%; }
.bokeh i:nth-child(5) { width: 36px; height: 36px; left: 2%; bottom: 30%; opacity: .45; }
.bokeh i:nth-child(6) { width: 10px; height: 10px; left: 30%; bottom: 6%; }
.bokeh i:nth-child(7) { width: 48px; height: 48px; right: 42%; bottom: -2%; opacity: .4; }

.laptop { position: absolute; left: 0; top: 46px; width: 74%; transform: rotateY(-16deg) rotateX(6deg) rotateZ(.5deg); transform-origin: 0 50%; transform-style: preserve-3d; }
.screen { border-radius: 14px 14px 4px 4px; padding: 10px; background: linear-gradient(160deg, #2A3448, #11182A); box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .12); }
.base { height: 14px; margin: 0 -5%; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #3A4458, #1A2234 60%, #0D1322); box-shadow: 0 30px 40px -18px rgba(0, 0, 0, .9); }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #0C1528; border-radius: 8px 8px 0 0; font-size: 11px; color: var(--on-navy-2); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.dots { display: flex; gap: 5px; } .dots i { width: 7px; height: 7px; border-radius: 50%; background: #2C3A55; }
.app-title { font-weight: 700; color: var(--on-navy); letter-spacing: .01em; }
.app-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #9FD8B0; font-weight: 700; }
.app-live i { width: 6px; height: 6px; border-radius: 50%; background: #5CCB86; box-shadow: 0 0 0 3px rgba(92, 203, 134, .2); }
.app-body { background: linear-gradient(180deg, #0E1A31, #0A1428); border-radius: 0 0 8px 8px; padding: 14px; display: grid; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpis div { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.kpis small { display: block; font-size: 10px; color: var(--on-navy-2); font-weight: 600; letter-spacing: .02em; }
.kpis b { display: block; font-size: 24px; line-height: 1.15; color: #FFF6E4; letter-spacing: -.02em; }
.kpis em { font-style: normal; font-size: 10px; color: var(--gold-hi); }
.chart { padding: 10px 12px 6px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.chart-h { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--on-navy); margin-bottom: 4px; }
.pill { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); color: var(--on-navy-2); }
.pill.gold { background: rgba(201, 164, 92, .16); color: var(--gold-deep); }
.chart svg { width: 100%; height: 82px; }
.draw { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.4s .3s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.rows { display: grid; gap: 6px; }
.rows div { display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--on-navy); padding: 7px 10px; border-radius: 8px; background: rgba(255, 255, 255, .03); }
.rows .ic { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: rgba(201, 164, 92, .14); color: var(--gold-hi); }
.rows .ic svg { width: 13px; height: 13px; }
.rows em { margin-left: auto; font-style: normal; color: var(--on-navy-2); font-size: 10.5px; }

/* phone */
.phone { position: absolute; width: 200px; left: 46%; bottom: 0; padding: 30px 12px 14px; border-radius: 30px; background: linear-gradient(170deg, #17223A, #0A1326); box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .85), 0 0 0 1.5px #2D3A55, 0 0 0 5px #0B1220, inset 0 1px 0 rgba(255, 255, 255, .1); transform: rotate(-3deg); z-index: 3; }
.notch { position: absolute; top: 10px; left: 50%; width: 64px; height: 14px; margin-left: -32px; border-radius: 99px; background: #050A14; }
.ph-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin-bottom: 10px; color: #FFF6E4; }
.ph-head .st { margin-left: auto; font-size: 10px; color: var(--gold-hi); font-weight: 700; }
.bubble { font-size: 11.5px; line-height: 1.45; padding: 8px 10px; border-radius: 12px; margin-bottom: 7px; }
.bubble.you { margin-left: 22%; background: linear-gradient(180deg, #E9CD92, #C9A45C); color: #0A1428; font-weight: 600; border-bottom-right-radius: 4px; }
.bubble.her { margin-right: 8%; background: rgba(255, 255, 255, .07); color: var(--on-navy); border: 1px solid rgba(255, 255, 255, .06); border-bottom-left-radius: 4px; }
.ph-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ph-chips span { font-size: 10.5px; font-weight: 700; padding: 5px 9px; border-radius: 99px; border: 1px solid rgba(231, 201, 138, .45); color: var(--gold-hi); }
.ph-chips span:first-child { background: rgba(231, 201, 138, .14); }

/* the orb — Marin's mark: a lit glass sphere in gold and navy */
.orb { display: inline-block; width: 64px; height: 64px; border-radius: 50%; flex: none; position: relative;
  background: radial-gradient(circle at 34% 28%, #FFF4D6 0%, #F0D394 16%, #C9A45C 38%, #5B4A2A 66%, #14213B 100%);
  box-shadow: 0 0 0 1px rgba(255, 236, 190, .35), 0 0 30px rgba(231, 201, 138, .45), inset -6px -8px 16px rgba(7, 16, 31, .6); }
.orb::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(231, 201, 138, .35); animation: ring 3.2s ease-out infinite; }
.orb.sm { width: 20px; height: 20px; box-shadow: 0 0 0 1px rgba(255, 236, 190, .35), 0 0 12px rgba(231, 201, 138, .5), inset -2px -3px 5px rgba(7, 16, 31, .6); }
.orb.sm::after { inset: -4px; }
@keyframes ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

/* toasts */
.toasts { position: absolute; right: 0; top: 10px; width: 236px; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; z-index: 4; }
.toasts li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(16, 30, 56, .72); border: 1px solid rgba(231, 201, 138, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .9); font-size: 12.5px; font-weight: 600; color: #FFF6E4; line-height: 1.3; opacity: 0; transform: translateX(16px); animation: toast .6s ease-out forwards; }
.toasts li:nth-child(1) { animation-delay: .5s; } .toasts li:nth-child(2) { animation-delay: 1s; margin-right: 26px; } .toasts li:nth-child(3) { animation-delay: 1.5s; } .toasts li:nth-child(4) { animation-delay: 2s; margin-right: 26px; }
@keyframes toast { to { opacity: 1; transform: none; } }
.toasts small { display: block; font-size: 10.5px; font-weight: 600; color: var(--gold-hi); letter-spacing: .02em; }
.toasts .ti { width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center; background: rgba(201, 164, 92, .16); color: var(--gold-hi); }
.toasts .ti svg { width: 16px; height: 16px; }
.toasts .ok { width: 16px; height: 16px; margin-left: auto; flex: none; color: #6BD497; }

/* benefits strip */
.benefits { position: relative; border-top: 1px solid var(--line-navy); background: rgba(5, 11, 22, .55); }
.benefits .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefits div > div, .benefits .wrap > div { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px 12px; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--on-navy); }
.benefits .wrap > div + div { border-left: 1px solid var(--line-navy); }
.benefits svg { width: 30px; height: 30px; color: var(--gold-hi); flex: none; }

/* ============ ivory sections ============ */
.ivory { background: radial-gradient(900px 400px at 85% 0%, rgba(201, 164, 92, .12), transparent 70%), var(--ivory); color: var(--ink); }
.ivory .lede { color: var(--ink-2); }
.ivory h2 { font-size: clamp(32px, 3.3vw, 46px); color: var(--ink); }

/* partnership */
.partnership { padding: 96px 0 84px; }
.part-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.part-copy h2 { margin-top: 18px; }
.part-copy .lede { margin-top: 20px; max-width: 560px; }
.steps { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps .n { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--navy-950); background: linear-gradient(180deg, #ECD196, #C9A45C); box-shadow: 0 6px 14px -6px rgba(169, 130, 47, .7); }
.steps b { display: block; font-size: 16px; color: var(--ink); }
.steps span { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }

.board { position: relative; margin: 0; }
.board-card { position: relative; padding: 24px; border-radius: 20px; color: var(--on-navy); background: radial-gradient(500px 260px at 90% 0%, rgba(201, 164, 92, .2), transparent 70%), linear-gradient(160deg, #13284A, #0A1428); box-shadow: 0 40px 70px -30px rgba(10, 20, 40, .6), 0 0 0 1px rgba(201, 164, 92, .25); transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); }
.board-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.board-h small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); }
.board-h b { font-size: 18px; color: #FFF6E4; }
.board-h .pill.gold { color: var(--gold-hi); }
.opp { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.opp:last-child { border-bottom: 0; }
.opp b { grid-column: 1; font-size: 15px; color: #FFF6E4; font-weight: 700; }
.opp .meta { grid-column: 1; font-size: 12.5px; color: var(--on-navy-2); }
.opp .tag { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 99px; letter-spacing: .02em; }
.t-found { background: rgba(120, 160, 230, .16); color: #A9C4F2; }
.t-impl { background: rgba(231, 201, 138, .16); color: var(--gold-hi); }
.t-meas { background: rgba(107, 212, 151, .14); color: #8FE0B0; }
.mini { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 8px; height: 50px; margin-top: 12px; }
.mini i { max-width: 34px; }
.mini i { flex: 1; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #E7C98A, rgba(201, 164, 92, .25)); }
.board-float { position: absolute; left: -36px; bottom: -66px; max-width: 290px; display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: 14px; background: #FFFCF5; color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.45; box-shadow: 0 24px 40px -20px rgba(10, 20, 40, .45), 0 0 0 1px var(--ivory-line); }
.board-float .orb { margin-top: 2px; }

/* secondary products */
.products { margin-top: 120px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 26px 30px; border-radius: 18px; background: #FFFCF6; border: 1px solid var(--ivory-line); box-shadow: 0 18px 40px -30px rgba(10, 20, 40, .35); }
.prod-icons { display: grid; grid-template-columns: repeat(2, 38px); gap: 8px; }
.prod-icons span { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-hi); }
.prod-icons svg { width: 18px; height: 18px; }
.prod-copy h3 { font-size: 21px; color: var(--ink); letter-spacing: -.015em; }
.prod-copy p { margin-top: 6px; font-size: 15px; color: var(--ink-2); max-width: 640px; }

/* ============ technology (navy) ============ */
.tech { position: relative; padding: 92px 0 100px; background: radial-gradient(700px 380px at 50% 60%, rgba(201, 164, 92, .14), transparent 70%), linear-gradient(180deg, #0A1630, #07101F); overflow: hidden; }
.tech-head { text-align: center; }
.tech-head h2 { margin-top: 18px; font-size: clamp(32px, 3.3vw, 46px); color: #FFF8EC; }
.cores { margin-top: 54px; display: grid; grid-template-columns: minmax(0, 1fr) 220px minmax(0, 1fr); align-items: center; }
.core { position: relative; padding: 30px 32px; border-radius: 22px; background: linear-gradient(160deg, rgba(29, 55, 94, .75), rgba(12, 24, 46, .9)); border: 1px solid rgba(231, 201, 138, .32); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); }
.core::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(260px 140px at 50% 0%, rgba(231, 201, 138, .14), transparent 70%); pointer-events: none; }
.core-k { font-size: 11px; font-weight: 800; letter-spacing: .24em; color: var(--gold-hi); }
.core h3 { margin-top: 4px; font-size: 28px; color: #FFF8EC; }
.core p { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-hi); margin-top: 2px; }
.core ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.core li { font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); color: var(--on-navy); }
.c-mkt { text-align: right; } .c-mkt ul { justify-content: flex-end; }
.bridge { position: relative; height: 200px; }
.wire { position: absolute; left: -2px; right: -2px; top: 40px; width: calc(100% + 4px); height: 120px; }
.wire path { stroke: rgba(231, 201, 138, .45); stroke-width: 1.5; fill: none; vector-effect: non-scaling-stroke; }
.wire .pulse { stroke: #F3DCA6; stroke-width: 2.5; stroke-dasharray: 18 182; animation: flow 2.6s linear infinite; }
.wire .rev { animation-delay: -1.3s; }
@keyframes flow { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
.marin-node { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; padding: 16px 18px 12px; border-radius: 18px; background: #0A1529; border: 1px solid rgba(231, 201, 138, .35); text-align: center; z-index: 1; box-shadow: 0 0 0 10px #0A1630; }
.marin-node b { font-size: 16px; color: #FFF8EC; }
.marin-node small { font-size: 11.5px; color: var(--on-navy-2); margin-top: -6px; }
.marin-node .orb { width: 52px; height: 52px; }

/* ============ marin (ivory) ============ */
.marin { padding: 96px 0; background: radial-gradient(700px 420px at 15% 50%, rgba(201, 164, 92, .16), transparent 70%), var(--ivory-2); }
.marin-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.marin-visual { position: relative; margin: 0; height: 470px; }
.halo { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; background: radial-gradient(circle, #13284A 0%, #0B1830 58%, transparent 59%); box-shadow: 0 0 0 1px rgba(201, 164, 92, .35), 0 0 0 26px rgba(201, 164, 92, .07), 0 0 0 54px rgba(201, 164, 92, .04); }
.phone.big { left: 50%; top: 50%; bottom: auto; width: 252px; transform: translate(-50%, -50%) rotate(-2deg); padding: 34px 15px 16px; }
.phone.big .bubble { font-size: 13px; }
.phone.big .ph-chips span { font-size: 11.5px; }
.ph-input { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 8px 8px 8px 12px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); font-size: 11.5px; color: var(--on-navy-2); }
.ph-input span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #ECD196, #C9A45C); color: #0A1428; }
.ph-input svg { width: 14px; height: 14px; }
.marin-copy h2 { margin-top: 18px; }
.marin-copy .lede { margin-top: 20px; max-width: 580px; }
.marin-copy blockquote { margin: 24px 0 30px; padding-left: 18px; border-left: 2px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.35; color: var(--ink); max-width: 520px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(169, 130, 47, .5); padding-bottom: 2px; }
.text-link:hover { border-color: var(--gold-deep); }
.text-link svg { color: var(--gold-deep); }

/* ============ closing (navy) ============ */
.closing { padding: 92px 0; text-align: center; background: radial-gradient(800px 360px at 50% 100%, rgba(201, 164, 92, .2), transparent 70%), linear-gradient(180deg, #0B1830, #07101F); border-top: 1px solid var(--line-navy); }
.closing h2 { font-size: clamp(32px, 3.3vw, 46px); color: #FFF8EC; }
.closing .lede { margin: 18px auto 32px; max-width: 560px; }

/* footer */
.site-foot { background: #050B17; border-top: 1px solid var(--line-navy); padding: 30px 0 34px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }
.site-foot img { height: 40px; width: auto; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-foot nav a { font-size: 13.5px; color: var(--on-navy-2); text-decoration: none; }
.site-foot nav a:hover { color: var(--on-navy); }
.site-foot .meta { flex-basis: 100%; font-size: 12px; color: #7D879A; }

/* reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .toasts li { animation: none; opacity: 1; transform: none; } .draw { animation: none; stroke-dashoffset: 0; } .orb::after, .wire .pulse { animation: none; } }

/* ============ responsive ============ */
@media (max-width: 1180px) {
  .nav { gap: 18px; } .nav a { font-size: 13px; }
  .nav a.ext { padding-left: 16px; }
}
@media (max-width: 1060px) {
  .nav, .head-btn { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { display: none; padding: 8px 20px 20px; background: #07101F; border-top: 1px solid var(--line-navy); }
  .mobile-nav.open { display: grid; gap: 2px; }
  .mobile-nav a { padding: 13px 4px; font-weight: 600; text-decoration: none; color: var(--on-navy); border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .mobile-nav a.btn { margin-top: 12px; border: 0; color: #0A1428; justify-content: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 48px; }
  .hero .lede { max-width: 640px; }
  .scene { max-width: 680px; width: 100%; margin: 0 auto; }
  .part-grid, .marin-grid { grid-template-columns: 1fr; gap: 56px; }
  .board { max-width: 600px; margin-left: auto; margin-right: auto; width: 100%; }
  .marin-visual { order: 2; }
  .cores { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .c-mkt { text-align: left; } .c-mkt ul { justify-content: flex-start; }
  .bridge { height: 150px; }
  .wire { left: 50%; top: 0; width: 120px; height: 100%; margin-left: -60px; transform: none; }
  .wire { display: none; }
  .bridge::before, .bridge::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1.5px; background: linear-gradient(180deg, rgba(231, 201, 138, .15), rgba(231, 201, 138, .6), rgba(231, 201, 138, .15)); }
  .marin-node { box-shadow: none; }
  .bridge::before { left: calc(50% - 22px); } .bridge::after { left: calc(50% + 22px); }
  .products { grid-template-columns: auto minmax(0, 1fr); }
  .products .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .site-head .wrap { height: 64px; }
  .brand img { height: 38px; }
  .hero-grid { padding-top: 36px; padding-bottom: 34px; }
  .hero h1 { font-size: 36px; }
  .lede { font-size: 16.5px; }
  .btn-lg { width: 100%; padding: 15px 18px; font-size: 15px; }
  .actions { gap: 10px; }
  .scene { height: 430px; }
  .laptop { width: 92%; top: 0; transform: rotateY(-10deg) rotateX(5deg); }
  .kpis b { font-size: 19px; }
  .app-body { padding: 10px; gap: 9px; }
  .rows { display: none; }
  .chart svg { height: 64px; }
  .phone { width: 168px; left: auto; right: 0; bottom: 0; padding: 26px 10px 12px; }
  .phone .bubble { font-size: 10.5px; }
  .toasts { top: auto; bottom: 18px; left: 0; right: auto; width: 182px; gap: 8px; }
  .toasts li { font-size: 11.5px; padding: 8px 10px; }
  .toasts li:nth-child(3), .toasts li:nth-child(4) { display: none; }
  .toasts li:nth-child(2) { margin-right: 0; }
  .toasts .ti { width: 26px; height: 26px; }
  .benefits .wrap { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .benefits .wrap > div { justify-content: flex-start; padding: 16px 18px; font-size: 13px; gap: 10px; }
  .benefits .wrap > div:nth-child(3) { border-left: 0; }
  .benefits .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line-navy); }
  .benefits svg { width: 24px; height: 24px; }
  .ivory h2, .tech-head h2, .closing h2 { font-size: 30px; }
  .partnership { padding: 64px 0 60px; }
  .steps { grid-template-columns: 1fr; margin: 24px 0 28px; }
  .board-card { padding: 18px; transform: none; }
  .board-float { position: relative; left: auto; bottom: auto; margin: -18px 14px 0; max-width: none; }
  .products { margin-top: 56px; grid-template-columns: 1fr; padding: 22px; gap: 16px; }
  .products .btn { width: 100%; }
  .prod-icons { grid-template-columns: repeat(4, 38px); }
  .tech, .marin, .closing { padding: 64px 0; }
  .cores { margin-top: 36px; }
  .core { padding: 24px 22px; }
  .core h3 { font-size: 24px; }
  .marin-visual { height: 420px; }
  .halo { width: 340px; height: 340px; margin: -170px 0 0 -170px; }
  .phone.big { width: 232px; }
  .marin-copy blockquote { font-size: 21px; }
  .text-link { margin-top: 6px; }
  .eyebrow, .kicker { font-size: 11px; letter-spacing: .13em; }
  .eyebrow.center::after { display: none; }
}
