/* FindingNearBy — shared design system for interior pages
   Matches the 2026 home page (index.html). */
:root{
  --bg:#090B10; --bg-1:#0C0F16; --surface:#12161F; --surface-2:#171C27;
  --line:rgba(255,255,255,.07); --line-2:rgba(255,255,255,.12);
  --text:#EAF0F8; --muted:#9AA6BB; --faint:#6B7686;
  --teal:#16C0AC; --amber:#F6A609;
  --grad-teal:linear-gradient(135deg,#16C0AC,#37E0C8);
  --grad-warm:linear-gradient(135deg,#F6A609,#FFCE6B);
  --grad-cool:linear-gradient(135deg,#57B6F6,#8B8CFB);
  --r-sm:10px; --r:14px; --r-lg:20px; --r-xl:28px; --r-full:999px;
  --sh:0 16px 40px -20px rgba(0,0,0,.7); --sh-lg:0 40px 80px -30px rgba(0,0,0,.8);
  --font:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  --display:'Sora','Inter',sans-serif; --container:1200px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.7;overflow-x:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;min-height:100vh}
a{color:inherit;text-decoration:none} img{max-width:100%;display:block}
::selection{background:rgba(22,192,172,.28)}
:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-999px;top:0;background:var(--teal);color:#04110E;padding:.6rem 1rem;border-radius:0 0 10px 0;z-index:2000;font-weight:700}
.skip:focus{left:0}
.container{max-width:var(--container);margin:0 auto;padding:0 1.5rem}
.narrow{max-width:860px}

.eyebrow{display:inline-flex;align-items:center;gap:.5rem;font-size:.78rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--teal);background:rgba(22,192,172,.09);border:1px solid rgba(22,192,172,.18);padding:.4rem .85rem;border-radius:var(--r-full)}
.grad{background:var(--grad-teal);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

/* Ambient glow */
.ambient{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.ambient span{position:absolute;border-radius:50%;filter:blur(80px)}
.ambient .a1{top:-10%;left:5%;width:520px;height:520px;background:radial-gradient(circle,rgba(22,192,172,.16),transparent 70%)}
.ambient .a2{top:28%;right:-8%;width:460px;height:460px;background:radial-gradient(circle,rgba(87,182,246,.10),transparent 70%)}
.ambient .a3{bottom:-10%;left:30%;width:500px;height:500px;background:radial-gradient(circle,rgba(246,166,9,.07),transparent 70%)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;padding:.85rem 1.5rem;border-radius:var(--r);font-weight:600;font-size:.95rem;border:1px solid transparent;cursor:pointer;transition:transform .25s cubic-bezier(.16,1,.3,1),box-shadow .25s,background .25s,border-color .25s;white-space:nowrap;font-family:inherit}
.btn-primary{background:var(--grad-teal);color:#04110E;box-shadow:0 10px 30px -10px rgba(22,192,172,.5)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 16px 40px -12px rgba(22,192,172,.6)}
.btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}
.btn-ghost{background:rgba(255,255,255,.03);color:var(--text);border-color:var(--line-2)}
.btn-ghost:hover{background:rgba(255,255,255,.07);transform:translateY(-2px)}
.btn-sm{padding:.6rem 1.1rem;font-size:.85rem}
.btn-block{width:100%}

/* Nav */
header.nav{position:fixed;top:0;left:0;width:100%;z-index:1000;transition:background .3s,border-color .3s,box-shadow .3s;background:rgba(9,11,16,.6);backdrop-filter:blur(18px);border-bottom:1px solid transparent}
header.nav.scrolled{background:rgba(9,11,16,.85);border-bottom-color:var(--line);box-shadow:0 10px 30px -20px rgba(0,0,0,.8)}
.nav-in{max-width:var(--container);margin:0 auto;padding:.85rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:800}
.brand img{width:34px;height:34px;border-radius:9px}
.brand span{font-family:var(--display);font-size:1.15rem;letter-spacing:-.01em}
.nav-links{display:flex;align-items:center;gap:.35rem;list-style:none}
.nav-links a{color:var(--muted);font-weight:500;font-size:.92rem;padding:.5rem .8rem;border-radius:10px;transition:color .2s,background .2s}
.nav-links a:hover{color:var(--text);background:rgba(255,255,255,.05)}
.nav-actions{display:flex;align-items:center;gap:.6rem}
.hamburger{display:none;width:44px;height:44px;border-radius:12px;border:1px solid var(--line-2);background:rgba(255,255,255,.03);color:var(--text);font-size:1.1rem;cursor:pointer;align-items:center;justify-content:center}
.drawer{position:fixed;inset:0;z-index:1100;background:rgba(5,7,10,.6);backdrop-filter:blur(6px);opacity:0;visibility:hidden;transition:opacity .3s}
.drawer.open{opacity:1;visibility:visible}
.drawer-panel{position:absolute;top:0;right:0;height:100%;width:min(360px,86vw);background:var(--bg-1);border-left:1px solid var(--line);padding:1.25rem;display:flex;flex-direction:column;gap:.35rem;transform:translateX(100%);transition:transform .35s cubic-bezier(.16,1,.3,1)}
.drawer.open .drawer-panel{transform:none}
.drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}
.drawer a.d-link{color:var(--text);font-weight:600;font-size:1.05rem;padding:.9rem .75rem;border-radius:12px}
.drawer a.d-link:hover{background:rgba(255,255,255,.05)}
.drawer .btn{margin-top:1rem}
.icon-btn{width:42px;height:42px;border-radius:11px;border:1px solid var(--line-2);background:transparent;color:var(--text);cursor:pointer;font-size:1.1rem}

/* Page hero */
.page-hero{padding:9rem 0 3.5rem;text-align:center}
.page-hero h1{font-family:var(--display);font-size:clamp(2.2rem,5vw,3.4rem);font-weight:800;line-height:1.05;letter-spacing:-.03em;margin:1.1rem 0 .9rem}
.page-hero p{color:var(--muted);font-size:1.1rem;max-width:640px;margin:0 auto}

/* Section + section head */
.section{padding:3.5rem 0}
.sec-head{max-width:660px;margin:0 auto 3rem;text-align:center}
.sec-head h2{font-family:var(--display);font-size:clamp(1.7rem,3.6vw,2.4rem);font-weight:700;line-height:1.12;letter-spacing:-.02em;margin:.75rem 0}
.sec-head p{color:var(--muted);font-size:1.02rem}
.section h2.block-title{font-family:var(--display);font-size:clamp(1.5rem,3vw,2rem);font-weight:700;letter-spacing:-.02em;margin-bottom:.6rem}
.section .lead{color:var(--muted);font-size:1.02rem;margin-bottom:2rem}

/* Generic card grid */
.grid{display:grid;gap:1.25rem}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-auto{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:1.75rem;transition:transform .3s,border-color .3s,background .3s}
.card:hover{transform:translateY(-4px);border-color:var(--line-2);background:var(--surface-2)}
.card .ic{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;margin-bottom:1.1rem;background:rgba(22,192,172,.12);color:var(--teal);border:1px solid rgba(22,192,172,.2)}
.card h3{font-size:1.1rem;font-weight:700;margin-bottom:.5rem}
.card p{color:var(--muted);font-size:.92rem}

/* Info card (contact) */
.info-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:1.6rem}
.info-card .ic{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;margin-bottom:.9rem;background:rgba(22,192,172,.12);color:var(--teal);border:1px solid rgba(22,192,172,.2)}
.info-card h3{font-size:1.02rem;font-weight:700;margin-bottom:.35rem}
.info-card p{color:var(--muted);font-size:.9rem}
.info-card a{color:var(--teal);font-weight:600}

/* Panel (form / callout) */
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);padding:2.5rem}
.panel h2{font-family:var(--display);font-size:1.35rem;font-weight:700;margin-bottom:1rem}

/* Forms */
.form-group{margin-bottom:1.25rem}
.form-group label{display:block;margin-bottom:.5rem;font-weight:500;font-size:.9rem;color:var(--muted)}
.form-group input,.form-group textarea,.form-group select{width:100%;padding:.9rem 1rem;background:var(--bg-1);border:1px solid var(--line-2);border-radius:12px;color:var(--text);font-family:inherit;font-size:.95rem;transition:border-color .25s,box-shadow .25s}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px rgba(22,192,172,.15)}
.form-group textarea{resize:vertical;min-height:120px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.otp-section{display:none;margin-top:0}
.otp-section.active{display:block}
.otp-input{letter-spacing:8px;text-align:center;font-size:1.5rem;font-weight:700}
.success-message{display:none;text-align:center;padding:2rem}
.success-message.active{display:block}
.success-message .ic-big{width:72px;height:72px;border-radius:50%;background:rgba(22,192,172,.12);border:1px solid rgba(22,192,172,.25);display:flex;align-items:center;justify-content:center;font-size:2rem;color:var(--teal);margin:0 auto 1.25rem}
.success-message h2{margin-bottom:1rem}
.success-message p{color:var(--muted)}
.success-message .reference{background:var(--bg-1);border:1px solid var(--line);padding:1rem;border-radius:12px;margin-top:1.25rem;font-family:monospace}
.error-message{background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.3);color:#f87171;padding:.75rem 1rem;border-radius:10px;margin-bottom:1rem;display:none;font-size:.9rem}
.error-message.active{display:block}

/* FAQ / accordion */
.faq-item{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);margin-bottom:.85rem;overflow:hidden;transition:border-color .25s}
.faq-item:hover{border-color:var(--line-2)}
.faq-q{padding:1.15rem 1.25rem;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq-q i{color:var(--teal);transition:transform .3s}
.faq-a{padding:0 1.25rem 1.25rem;color:var(--muted);display:none;font-size:.94rem}
.faq-item.active .faq-a{display:block}
.faq-item.active .faq-q i{transform:rotate(180deg)}

/* Job cards (careers) */
.job-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:1.75rem;margin-bottom:1.25rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}
.job-info h3{font-size:1.15rem;font-weight:700;margin-bottom:.5rem}
.job-meta{display:flex;gap:1.1rem;flex-wrap:wrap}
.job-meta span{font-size:.85rem;color:var(--muted);display:flex;align-items:center;gap:.4rem}
.job-meta i{color:var(--teal);font-size:.8rem}
.empty-state{text-align:center;padding:3rem 2rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl)}
.empty-state .ic-big{width:64px;height:64px;border-radius:16px;background:rgba(22,192,172,.12);border:1px solid rgba(22,192,172,.2);display:flex;align-items:center;justify-content:center;font-size:1.6rem;color:var(--teal);margin:0 auto 1.1rem}
.empty-state h3{font-size:1.2rem;font-weight:700;margin-bottom:.5rem}
.empty-state p{color:var(--muted)}
.empty-state a{color:var(--teal);font-weight:600}

/* Callout band */
.callout{background:linear-gradient(135deg,rgba(22,192,172,.12),rgba(246,166,9,.08));border:1px solid var(--line-2);border-radius:var(--r-xl);padding:3rem;text-align:center}
.callout h2{font-family:var(--display);font-size:clamp(1.6rem,3.2vw,2.2rem);font-weight:700;letter-spacing:-.02em;margin-bottom:.75rem}
.callout p{color:var(--muted);margin-bottom:1.5rem}

/* Legal / prose */
.prose{max-width:820px;margin:0 auto;padding:8rem 0 4rem}
.prose h1{font-family:var(--display);font-size:clamp(2rem,4vw,2.8rem);font-weight:800;letter-spacing:-.02em;margin-bottom:.5rem}
.prose .last-updated{display:inline-block;background:rgba(22,192,172,.09);border:1px solid rgba(22,192,172,.18);color:var(--muted);padding:.6rem 1rem;border-radius:12px;font-size:.9rem;margin:1rem 0 2.5rem}
.prose h2{font-family:var(--display);font-size:1.4rem;font-weight:700;color:var(--text);margin:2.5rem 0 1rem;padding-top:.5rem}
.prose h3{font-size:1.1rem;font-weight:600;color:var(--text);margin:1.75rem 0 .75rem}
.prose p{color:var(--muted);margin-bottom:1rem}
.prose ul,.prose ol{color:var(--muted);margin:0 0 1.25rem 1.4rem}
.prose li{margin-bottom:.55rem}
.prose li strong,.prose p strong{color:var(--text)}
.prose a{color:var(--teal);font-weight:500}
.highlight-box{background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--teal);padding:1.25rem 1.5rem;border-radius:12px;margin:1.5rem 0}
.highlight-box p{margin-bottom:0}
.contact-box{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:2rem;margin-top:2.5rem;text-align:center}
.contact-box h3{font-size:1.1rem;font-weight:700;margin-bottom:.5rem;color:var(--text)}
.contact-box a{color:var(--teal);font-weight:600}

/* Newsletter */
.newsletter{max-width:560px;margin:0 auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl);padding:2.5rem;text-align:center}
.newsletter h3{font-family:var(--display);font-size:1.3rem;font-weight:700;margin-bottom:.5rem}
.newsletter p{color:var(--muted);margin-bottom:1.5rem;font-size:.94rem}
.newsletter-form{display:flex;gap:.75rem;max-width:420px;margin:0 auto}
.newsletter-form input{flex:1;padding:.85rem 1rem;background:var(--bg-1);border:1px solid var(--line-2);border-radius:12px;color:var(--text);font-size:.95rem;font-family:inherit}
.newsletter-form input:focus{outline:none;border-color:var(--teal)}

/* Footer */
footer{background:var(--bg-1);border-top:1px solid var(--line);padding:4rem 0 2rem;margin-top:2rem}
.foot-grid{max-width:var(--container);margin:0 auto;padding:0 1.5rem;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2.5rem}
.foot-brand p{color:var(--faint);font-size:.9rem;margin:.75rem 0}
.foot-brand .co{color:var(--muted);font-size:.85rem}
.foot-brand .co a{color:var(--teal)}
.socials{display:flex;gap:.5rem;margin-top:1rem}
.socials a{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.04);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--muted);transition:.25s}
.socials a:hover{background:var(--grad-teal);color:#04110E;border-color:transparent;transform:translateY(-2px)}
.foot-col h4{font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;color:var(--faint);margin-bottom:1rem}
.foot-col ul{list-style:none;display:grid;gap:.6rem}
.foot-col a{color:var(--muted);font-size:.9rem} .foot-col a:hover{color:var(--teal)}
.foot-bottom{max-width:var(--container);margin:2.5rem auto 0;padding:1.5rem 1.5rem 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:var(--faint);font-size:.83rem}
.foot-bottom a{color:var(--faint)} .foot-bottom a:hover{color:var(--teal)}

/* Reveal animation */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1)}
.reveal.in{opacity:1;transform:none}

/* Responsive */
@media(max-width:1024px){
  .foot-grid{grid-template-columns:1fr 1fr}
  .grid-3{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .nav-links{display:none}
  .hamburger{display:inline-flex}
  .grid-2,.grid-3{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
  .newsletter-form{flex-direction:column}
  .job-card{flex-direction:column;align-items:flex-start}
  .foot-grid{grid-template-columns:1fr;text-align:center}
  .socials{justify-content:center}
  .callout{padding:2rem}
  .panel{padding:1.75rem}
}
@media (prefers-reduced-motion: reduce){
  *{animation:none!important;scroll-behavior:auto!important}
  .reveal{opacity:1!important;transform:none!important;transition:none!important}
}
