/* ==========================================================================
   ORYN — landing page styles
   Navy + electric green · Sora / Hanken Grotesk / Space Grotesk
   ========================================================================== */

:root {
  --ink:      #07182A;   /* deepest bg */
  --ink-2:    #0A2138;   /* dark band */
  --navy:     #0C2742;   /* primary brand / text */
  --navy-2:   #13314F;
  --green:    #16E08A;
  --cyan:     #27E6CB;
  --paper:    #FFFFFF;
  --mist:     #F3F6F9;   /* light section bg */
  --mist-2:   #E9EEF3;
  --line:     rgba(12,39,66,0.10);
  --line-d:   rgba(255,255,255,0.10);
  --text:     #0C2742;
  --muted:    rgba(12,39,66,0.62);
  --muted-d:  rgba(214,228,242,0.66);
  --grad:     linear-gradient(125deg, var(--cyan) 0%, var(--green) 70%);
  --grad-soft:linear-gradient(125deg, rgba(39,230,203,0.16), rgba(22,224,138,0.16));
  --shadow:   0 24px 60px -28px rgba(7,24,42,0.35);
  --shadow-sm:0 8px 24px -14px rgba(7,24,42,0.28);
  --maxw: 1180px;
  --r: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: var(--navy); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--green); color: var(--ink); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green); display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow.dark { color: var(--navy); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; opacity: .65; }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-head { max-width: 660px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); margin: 18px 0 0; }
.section-head p { color: var(--muted); font-size: 19px; margin-top: 18px; }
.dark-band { background: var(--ink); color: #EAF1F8; }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band .section-head p { color: var(--muted-d); }
.mist { background: var(--mist); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15.5px;
  letter-spacing: 0.01em; border: none; border-radius: 999px;
  padding: 15px 26px; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap; text-decoration: none;
}
.btn-primary { background: var(--grad); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(22,224,138,0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(22,224,138,0.75); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.28); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #0e3157; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- ORYN logo (inline SVG O + RYN) ---------- */
.wordmark { display: inline-flex; align-items: center; font-family: 'Sora', sans-serif; font-weight: 600; letter-spacing: 0.04em; line-height: 1; }
.wordmark .wm-o { display: inline-block; width: 0.86em; height: 0.86em; margin-right: 0.04em; }
.wordmark .wm-o svg { width: 100%; height: 100%; display: block; }
.wordmark .wm-text { display: inline-block; }

.o-track { opacity: .42; }
.dark-band .o-track, .nav .o-track, .hero .o-track { opacity: .4; }
.on-light .o-track { stroke: var(--navy); opacity: .85; }
.o-arc { stroke-dasharray: 276.5; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); }
.o-anim .o-arc { animation: oSweep 2.8s cubic-bezier(.4,0,.2,1) infinite; }
.o-anim .o-bolt { animation: oPulse 2.8s ease-in-out infinite; }
@keyframes oSweep { 0% { stroke-dashoffset: 276.5; } 60% { stroke-dashoffset: 33.2; } 100% { stroke-dashoffset: 33.2; } }
@keyframes oPulse { 0%,100% { opacity: .74; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .o-anim .o-arc { animation: none; stroke-dashoffset: 33.2; }
  .o-anim .o-bolt { animation: none; opacity: 1; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px; transition: background .3s, backdrop-filter .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7,24,42,0.82); backdrop-filter: blur(14px); border-bottom-color: var(--line-d); padding: 12px 28px; }
.nav-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav .wordmark { color: #fff; font-size: 26px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-family: 'Space Grotesk', sans-serif; font-size: 14.5px; font-weight: 500; color: rgba(234,241,248,0.8); transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-cta { padding: 11px 20px; font-size: 14.5px; }
.nav-menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #EAF1F8;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(39,230,203,0.16) 0%, transparent 46%),
    radial-gradient(90% 80% at 12% 100%, rgba(22,224,138,0.12) 0%, transparent 50%),
    linear-gradient(180deg, #081a2e 0%, #07182A 60%, #061522 100%);
  padding: 168px 0 96px;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 80%);
          mask-image: radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 80%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 580px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); color: #fff; margin: 22px 0 0; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: var(--muted-d); font-size: clamp(17px, 1.5vw, 20px); margin-top: 22px; max-width: 500px; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 38px; flex-wrap: wrap; }
.hero-trust .tt { display: flex; align-items: center; gap: 9px; font-size: 14px; color: rgba(214,228,242,0.78); font-family: 'Space Grotesk', sans-serif; }
.hero-trust .tt svg { flex: 0 0 auto; }

/* hero visual */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.hero-o { width: clamp(260px, 30vw, 380px); height: clamp(260px, 30vw, 380px); position: relative; z-index: 2; filter: drop-shadow(0 0 60px rgba(22,224,138,0.25)); }
.hero-rings { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; }
.hero-rings span { position: absolute; border: 1px solid rgba(39,230,203,0.18); border-radius: 50%; }
.hero-rings span:nth-child(1) { width: 86%; height: 86%; }
.hero-rings span:nth-child(2) { width: 110%; height: 110%; border-color: rgba(39,230,203,0.10); }
.hero-rings span:nth-child(3) { width: 134%; height: 134%; border-color: rgba(39,230,203,0.06); }
/* sample quote card */
.quote-card {
  position: absolute; z-index: 3; right: -6px; bottom: 14px; width: 244px;
  background: rgba(11,30,50,0.72); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6);
}
.quote-card .qc-label { font-family: 'Space Grotesk', sans-serif; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(214,228,242,0.6); }
.quote-card .qc-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; }
.quote-card .qc-price { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 30px; color: #fff; }
.quote-card .qc-tag { font-size: 12px; color: var(--green); font-family: 'Space Grotesk', sans-serif; }
.quote-card .qc-bar { height: 5px; border-radius: 4px; background: rgba(255,255,255,0.12); margin-top: 14px; overflow: hidden; }
.quote-card .qc-bar i { display: block; height: 100%; width: 72%; background: var(--grad); border-radius: 4px; }
.quote-card .qc-meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: rgba(214,228,242,0.7); font-family: 'Space Grotesk', sans-serif; }

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); background: rgba(255,255,255,0.02); }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px 0; flex-wrap: wrap; }
.strip-item { display: flex; align-items: center; gap: 11px; font-family: 'Space Grotesk', sans-serif; font-size: 14.5px; color: rgba(214,228,242,0.82); }
.strip-item b { color: #fff; font-weight: 600; }

/* ---------- Stat / problem ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.stat { padding: 30px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.stat .n { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 46px; background: linear-gradient(125deg,#0c8f5a,#16E08A); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.02em; }
.stat .t { color: var(--muted); margin-top: 8px; font-size: 16px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 60px; }
.step { position: relative; padding: 34px 30px 32px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step .num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; color: var(--green); }
.step .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; margin: 14px 0 18px; }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.step-line { position: absolute; top: 58px; right: -16px; z-index: 2; color: var(--mist-2); }

/* ---------- Feature / homeowner ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feat-list { display: flex; flex-direction: column; gap: 30px; margin-top: 34px; }
.feat { display: flex; gap: 16px; }
.feat .fi { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; }
.feat h4 { font-family: 'Sora', sans-serif; font-size: 17.5px; font-weight: 600; color: var(--navy); }
.feat p { color: var(--muted); font-size: 15.5px; margin-top: 4px; line-height: 1.5; }
.media-card { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.media-card image-slot { width: 100%; height: 520px; display: block; }
.media-badge { position: absolute; left: 18px; bottom: 18px; z-index: 4; display: flex; align-items: center; gap: 10px; background: rgba(7,24,42,0.78); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.14); color: #fff; padding: 11px 16px; border-radius: 12px; font-family: 'Space Grotesk', sans-serif; font-size: 13.5px; }

/* ---------- Trust & safety badges ---------- */
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.badge { padding: 28px 24px; border-radius: var(--r); background: rgba(255,255,255,0.04); border: 1px solid var(--line-d); transition: border-color .2s, background .2s; }
.badge:hover { border-color: rgba(39,230,203,0.4); background: rgba(255,255,255,0.06); }
.badge .bi { width: 48px; height: 48px; border-radius: 12px; background: rgba(22,224,138,0.12); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.badge h4 { color: #fff; font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 600; }
.badge p { color: var(--muted-d); font-size: 15px; margin-top: 8px; }

/* ---------- Partners (dealers + contractors) ---------- */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 56px; }
.partner { position: relative; overflow: hidden; padding: 40px 38px; border-radius: 22px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow-sm); }
.partner .ptag { font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.partner h3 { font-size: 27px; margin-top: 14px; }
.partner p { color: var(--muted); margin-top: 14px; font-size: 16px; max-width: 420px; }
.partner ul { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.partner li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--text); }
.partner li svg { flex: 0 0 auto; margin-top: 4px; }
.partner .glow { position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%; background: var(--grad-soft); filter: blur(20px); pointer-events: none; }

/* ---------- Local / GTA ---------- */
.local { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { font-family: 'Space Grotesk', sans-serif; font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); }
.chip.soon { color: var(--muted); border-style: dashed; }
.concierge { margin-top: 30px; display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--grad-soft); }
.concierge p { font-size: 15.5px; color: var(--navy); }
.map-card { position: relative; aspect-ratio: 1/1; border-radius: 24px; overflow: hidden; background: radial-gradient(120% 120% at 30% 20%, #123150, #07182A); border: 1px solid var(--line-d); display: flex; align-items: center; justify-content: center; }
.map-pin { position: absolute; width: 14px; height: 14px; }
.map-pin .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22,224,138,0.5); animation: pulse 2.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22,224,138,0.45); } 70% { box-shadow: 0 0 0 16px rgba(22,224,138,0); } 100% { box-shadow: 0 0 0 0 rgba(22,224,138,0); } }
@media (prefers-reduced-motion: reduce) { .map-pin .dot { animation: none; } }

/* ---------- Quote / waitlist form ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .glow-a { position: absolute; top: -120px; left: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(39,230,203,0.22), transparent 65%); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.qform { background: rgba(255,255,255,0.05); border: 1px solid var(--line-d); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.qform .field { margin-bottom: 16px; }
.qform label { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 7px; }
.qform input, .qform select { width: 100%; padding: 14px 16px; font-family: 'Hanken Grotesk', sans-serif; font-size: 16px; color: #fff; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; transition: border-color .2s, background .2s; }
.qform input::placeholder { color: rgba(214,228,242,0.4); }
.qform input:focus, .qform select:focus { outline: none; border-color: var(--green); background: rgba(255,255,255,0.07); }
.qform select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394aec6' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.qform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qform .btn { width: 100%; justify-content: center; margin-top: 8px; }
.qform .note { font-size: 12.5px; color: var(--muted-d); margin-top: 14px; text-align: center; }
.qform-success { text-align: center; padding: 30px 10px; }
.qform-success .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.qform-success h3 { color: #fff; font-size: 24px; }
.qform-success p { color: var(--muted-d); margin-top: 10px; }
.cta-points { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.cta-points .cp { display: flex; gap: 13px; align-items: flex-start; color: rgba(234,241,248,0.9); font-size: 16.5px; }
.cta-points .cp svg { flex: 0 0 auto; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 56px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: none; border: none; cursor: pointer; padding: 26px 4px; text-align: left; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 19px; color: var(--navy); }
.faq-q .pm { flex: 0 0 auto; width: 26px; height: 26px; position: relative; transition: transform .3s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--green); border-radius: 2px; }
.faq-q .pm::before { width: 14px; height: 2.4px; }
.faq-q .pm::after { width: 2.4px; height: 14px; transition: opacity .3s, transform .3s; }
.faq-item.open .pm::after { opacity: 0; transform: translate(-50%,-50%) rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { color: var(--muted); padding: 0 4px 26px; font-size: 16.5px; max-width: 720px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(214,228,242,0.7); padding: 72px 0 36px; border-top: 1px solid var(--line-d); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .wordmark { color: #fff; font-size: 30px; }
.footer-brand p { margin-top: 18px; font-size: 15px; max-width: 280px; color: var(--muted-d); }
.footer-tag { font-family: 'Space Grotesk', sans-serif; color: var(--green); font-size: 13px; letter-spacing: 0.1em; margin-top: 16px; text-transform: uppercase; }
.footer-col h5 { font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(214,228,242,0.5); margin: 0 0 16px; }
.footer-col a { display: block; color: rgba(214,228,242,0.78); font-size: 15px; margin-bottom: 11px; transition: color .15s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--muted-d); flex-wrap: wrap; }
.footer-legal { max-width: 720px; line-height: 1.6; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner, .split, .local, .cta-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; order: -1; }
  .split .media-card { order: 2; }
  .stat-row, .steps, .badge-grid, .partner-grid, .footer-top { grid-template-columns: 1fr 1fr; }
  .step-line { display: none; }
  .nav-links { display: none; }
  .nav-menu-btn { display: inline-flex; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { padding: 14px 18px; }
  .hero { padding: 130px 0 72px; }
  .stat-row, .steps, .badge-grid, .partner-grid, .footer-top { grid-template-columns: 1fr; }
  .hero-cta .btn, .hero-cta { width: 100%; }
  .hero-cta .btn { justify-content: center; }
  .quote-card { right: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
