/* Crosslane site: tokens, shared chrome (nav, buttons, footer, drifting capsules) and the inner pages.
   The home page adds landing.css on top. */
/* Outfit (SIL Open Font License, fonts/OFL.txt), self-hosted: latin and latin-ext (for ₹). */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/outfit-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/outfit-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #f6f7fb; --card: #ffffff; --text: #12131a; --muted: #5b6070; --line: #e4e6ef;
  --accent: #12131a; --accent-text: #ffffff; --ok: #1f9d55; --warn: #b25e00; --error: #d70015; --field: #ffffff;
  --brand: #4f5bff; --brand-2: #8b5cf6; --tint: #e9ebff; --tint-strong: #cfd3ff;
  --wall: radial-gradient(620px 420px at 18% 12%, #c7cdff, transparent 70%), radial-gradient(560px 420px at 88% 30%, #e4d4ff, transparent 70%),
          radial-gradient(700px 380px at 55% 105%, #cde3ff, transparent 70%), #eceffb;
  --glass: rgba(255,255,255,.78); --glass-text: #16171d; --glass-muted: #6a6f7c; --glass-well: rgba(20,22,40,.06);
  --glass-sel: #ffffff; --glass-card: rgba(255,255,255,.65); --glass-line: rgba(20,22,40,.06); --chip: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e0f14; --card: #171922; --text: #f1f2f7; --muted: #a0a5b5; --line: #262938; --field: #12131a;
    --accent: #f1f2f7; --accent-text: #12131a; --warn: #ffb340; --error: #ff6961; --ok: #32d74b;
    --brand: #7c86ff; --brand-2: #a78bfa; --tint: rgba(124,134,255,.14); --tint-strong: rgba(124,134,255,.32);
    --wall: radial-gradient(620px 420px at 18% 12%, #2c3290, transparent 70%), radial-gradient(560px 420px at 88% 30%, #4a2a86, transparent 70%),
            radial-gradient(700px 380px at 55% 105%, #1d3c78, transparent 70%), #151833;
    --glass: rgba(28,30,40,.78); --glass-text: #f1f2f7; --glass-muted: #a3a8b8; --glass-well: rgba(255,255,255,.07);
    --glass-sel: rgba(255,255,255,.16); --glass-card: rgba(255,255,255,.05); --glass-line: rgba(255,255,255,.07); --chip: #23263a; }
}
* { box-sizing: border-box; }
html { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); overflow-x: clip; position: relative;
  font: 16px/1.6 "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
a { color: var(--brand); text-underline-offset: 3px; }
svg { display: block; }
h1, h2 { font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.muted { color: var(--muted); }

/* brand */
.brand { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 22px; letter-spacing: -.02em; text-decoration: none; color: var(--text); }
.brand svg { width: 30px; height: 30px; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16.5px; text-decoration: none; white-space: nowrap; transition: transform .15s; }
.btn svg { width: 17px; height: 17px; }
.btn.dark { background: var(--accent); color: var(--accent-text); box-shadow: 0 8px 22px -6px rgba(18,19,26,.45); }
.btn.dark:hover { transform: translateY(-1px); }
.btn.ghost { color: var(--text); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.small { height: 40px; padding: 0 18px; font-size: 14.5px; gap: 8px; box-shadow: none; }
.btn.small svg { width: 14px; height: 14px; }
.btn[hidden] { display: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* shared chrome: nav, footer, drifting capsule pairs */
nav.top, .foot, .page-head, main.doc { position: relative; z-index: 1; max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
nav.top { display: flex; align-items: center; gap: 24px; height: 84px; }
nav.top .links { display: flex; gap: 28px; margin-left: auto; font-size: 15.5px; font-weight: 500; }
nav.top .links a { color: var(--muted); text-decoration: none; }
nav.top .links a:hover, nav.top .links a[aria-current] { color: var(--text); }

.foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 130px; padding-top: 32px; padding-bottom: 48px;
  border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot .brand { font-size: 17px; }
.foot .brand svg { width: 24px; height: 24px; }
.foot span { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot small { margin-left: auto; font-size: 14px; }

.drift { position: absolute; inset: 0 0 auto 0; height: 1200px; overflow: hidden; pointer-events: none; z-index: 0; }
.cap { position: absolute; left: var(--x); top: var(--y); width: 118px; height: 380px; border-radius: 59px; }
.cap.fill { background: linear-gradient(180deg, var(--tint), transparent); }
.cap.line { box-shadow: inset 0 0 0 2px var(--tint-strong); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .cap.up { animation: drift-up linear both; animation-timeline: scroll(root); animation-range: 0 1100px; }
    .cap.down { animation: drift-down linear both; animation-timeline: scroll(root); animation-range: 0 1100px; }
  }
}
@keyframes drift-up { to { transform: translateY(-220px); } }
@keyframes drift-down { to { transform: translateY(220px); } }

/* inner pages */
body.page { display: flex; flex-direction: column; min-height: 100vh; }
body.page .foot { margin-top: auto; }
body.page > nav.top, body.page > .foot, body.page > .page-head { width: 100%; }
body.page main.doc { width: 100%; margin-bottom: 120px; }
.page-head { text-align: center; padding-top: 60px; padding-bottom: 44px; }
.page-head h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.02; margin: 0 auto 14px; }
.page-head p { max-width: 36em; margin: 0 auto; color: var(--muted); font-size: 18px; text-wrap: balance; }
main.doc { max-width: 820px; }
main.doc.narrow { max-width: 620px; }
.prose { background: var(--card); border-radius: 28px; padding: 44px 52px; box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -50px rgba(40,44,90,.35); font-size: 17px; }
.prose h2 { font-size: 23px; margin: 34px 0 6px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; color: var(--muted); }
.prose p b, .prose li b { color: var(--text); }
.prose ul { margin: 0 0 14px; padding-left: 22px; color: var(--muted); }
.prose li { margin-bottom: 6px; }

.card { background: var(--card); border-radius: 24px; padding: 28px; margin-top: 16px; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(40,44,90,.3); }
.card:first-child { margin-top: 0; }
.summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.summary b { display: block; font-size: 19px; font-weight: 600; }
.price { font-size: 30px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; text-align: right; }
.price s { color: var(--muted); font-weight: 500; font-size: 16px; letter-spacing: 0; margin-right: 6px; }
label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; }
label em { font-weight: 400; color: var(--muted); font-style: normal; }
input, select { width: 100%; font: inherit; color: var(--text); background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; }
input:focus, select:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
.row { display: flex; gap: 12px; } .row > div { flex: 1; min-width: 0; }
.err { color: var(--error); font-size: 13px; margin-top: 4px; }
.invalid { border-color: var(--error); }
button.primary { width: 100%; height: 52px; margin-top: 24px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-text);
  font-family: inherit; font-size: 16.5px; font-weight: 600; cursor: pointer; box-shadow: 0 8px 22px -6px rgba(18,19,26,.45); }
button.primary:disabled { opacity: .55; cursor: default; }
.fine { font-size: 13px; color: var(--muted); text-align: center; margin-top: 12px; }
.notice { border-radius: 16px; padding: 16px 18px; margin: 0 0 16px; background: rgba(255,159,10,.12); }
.notice.ok { background: rgba(50,215,75,.12); }
.mock { box-shadow: inset 0 0 0 2px var(--warn); }
.tick { width: 72px; height: 72px; border-radius: 50%; background: var(--tint); color: var(--brand); display: grid; place-items: center; margin: 4px auto 8px; }
.tick svg { width: 30px; height: 30px; }
.center { text-align: center; }
.center h1 { font-size: 34px; margin: 6px 0 8px; }
.contact { max-width: 1040px !important; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.contact-form > .row:first-child label { margin-top: 0; }
.contact-form textarea { width: 100%; font: inherit; color: var(--text); background: var(--field); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; resize: vertical; min-height: 160px; }
.contact-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
.contact-form textarea::placeholder { color: var(--muted); opacity: .7; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { padding: 48px 28px; }
.sent h2 { font-size: 30px; margin: 4px 0 6px; }
.sent p { margin: 0 0 24px; }
.social { position: sticky; top: 24px; }
.social-title { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 6px 0 6px; }
.social > .muted { margin: 0 0 18px; font-size: 15.5px; }
.soc-list { display: grid; gap: 10px; }
.soc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--card); color: var(--text); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .15s, box-shadow .15s; }
.soc:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -18px rgba(40,44,90,.45); }
.soc i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; }
.soc i svg { width: 20px; height: 20px; }
.soc span { display: flex; flex-direction: column; line-height: 1.25; }
.soc b { font-weight: 600; }
.soc small { color: var(--muted); font-size: 13.5px; }
.soc.facebook i { background: #0866ff; }
.soc.x i { background: #000; }
.soc.linkedin i { background: #0a66c2; }
.soc.youtube i { background: #ff0000; }
@media (prefers-color-scheme: dark) { .soc.x i { background: #fff; color: #000; } }
.placeholder { background: rgba(255,159,10,.18); border-radius: 4px; padding: 0 4px; }

@media (max-width: 760px) {
  nav.top .links { display: none; }
  nav.top { height: 72px; justify-content: space-between; }
  .cap { width: 80px; height: 260px; opacity: .7; }
  .cap.line { display: none; }
  .page-head { padding-top: 36px; padding-bottom: 32px; }
  .prose { padding: 28px 22px; border-radius: 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .social { position: static; }
  .foot { margin-top: 90px; }
  .foot small { margin-left: 0; }
}
@media (max-width: 480px) { .row { flex-direction: column; gap: 0; } }
