/* CYRA – shared stylesheet (moved from Cyra_index_purple.html) */

:root{
  --font-body: 'Jost', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --accent: #af573c;
  --radius: 4px;
}
html[data-theme="dark"]{
  --bg: #1c1b17;
  --bg-alt: #25241f;
  --bg-card: #2c2a24;
  --text: #f3efe7;
  --text-muted: #b0aa9f;
  --border: rgba(255,255,255,.12);
  --overlay: rgba(20,19,16,.55);
  --header-bg: rgba(28,27,23,.92);
}
html[data-theme="light"]{
  --bg: #f7f4ef;
  --bg-alt: #fdfcf9;
  --bg-card: #fdfcf9;
  --text: #211f1a;
  --text-muted: #55534d;
  --border: #d9d4cd;
  --overlay: rgba(247,244,239,.55);
  --header-bg: rgba(247,244,239,.94);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth; overflow-y:scroll; scrollbar-gutter:stable; scroll-snap-type:y proximity;}
main > section{scroll-snap-align:start; scroll-snap-stop:always;}
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  transition: background .3s ease, color .3s ease;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
.container{max-width:1200px; margin:0 auto; padding:0 24px;}
h1,h2,h3,h4,h5{font-family: var(--font-heading); font-weight:700; margin:0;}
.accent{color:var(--accent);}
section{padding:110px 0; position:relative; overflow:hidden;}
section .bg-image{position:absolute; inset:0; z-index:0;}
section .bg-image img{width:100%; height:100%; object-fit:cover;}
section .bg-image::after{content:""; position:absolute; inset:0; background:var(--overlay);}
section .container{position:relative; z-index:1;}

/* Header */
header.site-header{
  position:sticky; top:0; z-index:100;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  max-width:1300px; margin:0 auto; padding:0 24px;
  display:flex; align-items:center; justify-content:space-between;
  height:84px;
}
.logo{display:flex; align-items:center; font-family:var(--font-heading); font-size:24px; font-weight:700; letter-spacing:.5px;}
.logo-svg{height:40px; width:auto; display:block;}
.logo-svg .logo-ink{fill:var(--text); transition:fill .3s ease;}
.logo-svg .logo-symbol{fill:var(--accent); transition:fill .3s ease;}
nav.main-nav ul{list-style:none; display:flex; gap:28px; margin:0; padding:0;}
nav.main-nav a{font-size:14px; text-transform:uppercase; letter-spacing:.08em; opacity:.85; transition:opacity .2s, color .2s;}
nav.main-nav a:hover, nav.main-nav a.active{opacity:1; color:var(--accent);}
.header-tools{display:flex; align-items:center; gap:16px;}
.phone-link{font-size:14px; opacity:.85; white-space:nowrap;}
.lang-switch{display:flex; gap:10px;}
.lang-switch button{
  background:none; border:none; color:var(--text-muted); font-family:var(--font-body);
  font-size:14px; letter-spacing:.05em; padding:5px 4px; cursor:pointer; font-weight:500;
  transition: color .2s;
}
.lang-switch button.is-active{background:none; color:var(--accent); font-weight:700;}
.floating-controls{
  position:fixed; right:60px; bottom:40px; z-index:150;
  display:flex; flex-direction:column; align-items:flex-end; gap:14px;
}
.lang-switch-float{
  position:static;
}
.theme-toggle-float{
  position:fixed; left:32px; bottom:40px; z-index:150;
}
.theme-toggle{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--border);
  background:var(--bg-alt); color:var(--text); cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:transform .2s;
}
.theme-toggle:hover{transform:scale(1.08);}
.theme-toggle svg{width:18px; height:18px;}
.theme-toggle .icon-sun{display:none;}
html[data-theme="dark"] .theme-toggle .icon-moon{display:none;}
html[data-theme="dark"] .theme-toggle .icon-sun{display:block;}
.burger{display:none; background:none; border:none; color:var(--text); cursor:pointer;}
@media (max-width:960px){
  nav.main-nav, .phone-link{display:none;}
  .burger{display:flex;}
}

/* Mobile menu */
.mobile-menu{
  position:fixed; inset:0 0 0 auto; width:280px; max-width:85vw; background:var(--bg-alt);
  transform:translateX(100%); transition:transform .3s ease; z-index:200; padding:32px 24px;
  border-left:1px solid var(--border);
}
.mobile-menu.open{transform:translateX(0);}
.mobile-menu ul{list-style:none; padding:0; margin:32px 0;}
.mobile-menu li{margin-bottom:18px;}
.mobile-menu a{font-size:16px; text-transform:uppercase; letter-spacing:.06em;}
.menu-overlay{position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:190; opacity:0; pointer-events:none; transition:opacity .3s;}
.menu-overlay.open{opacity:1; pointer-events:auto;}
.close-menu{background:none; border:none; color:var(--text); font-size:24px; cursor:pointer;}

/* Hero */
#home{min-height:100vh; display:flex; align-items:center; position:relative; overflow:hidden;}
#home::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(to right, var(--text) 1px, transparent 1px),
    linear-gradient(to bottom, var(--text) 1px, transparent 1px);
  background-size:56px 56px;
  opacity:.045;
}
#home > .container{position:relative; z-index:1;}
.hero-node{position:relative; display:inline-block; width:6px; height:6px; flex-shrink:0;}
.hero-node::before{
  content:""; position:absolute; inset:0; border-radius:50%; background:var(--accent);
}
.hero-node::after{
  content:""; position:absolute; inset:0; border-radius:50%; border:1px solid var(--accent);
  animation:heroNodePing 2.4s ease-out infinite;
}
@keyframes heroNodePing{
  0%{transform:scale(1); opacity:.55;}
  100%{transform:scale(4); opacity:0;}
}
.scroll-down-indicator{
  position:absolute; left:50%; bottom:36px; transform:translateX(-50%); z-index:1;
  width:44px; height:44px; border:1px solid var(--border); border-radius:50%;
  display:flex; align-items:center; justify-content:center; color:var(--text-muted);
  animation:scrollDownBounce 2.2s ease-in-out infinite; transition:color .2s ease, border-color .2s ease;
}
.scroll-down-indicator:hover{color:var(--text); border-color:var(--text);}
.scroll-down-indicator svg{width:18px; height:18px;}
@keyframes scrollDownBounce{
  0%,100%{transform:translateX(-50%) translateY(0);}
  50%{transform:translateX(-50%) translateY(8px);}
}
@media (max-width:640px){ .scroll-down-indicator{bottom:20px;} }
#home .container{max-width:1500px;}
.hero-eyebrow{margin-bottom:36px;}
.hero-badge{
  display:inline-flex; align-items:center; gap:9px; background:none; color:var(--accent);
  font-size:12px; font-weight:600; letter-spacing:.18em; text-transform:uppercase;
  padding:0; margin-bottom:34px;
}
.hero-title-cyra{
  font-family:var(--font-heading); font-weight:400; color:var(--text);
  font-size:66px; line-height:1.18; margin-bottom:28px; height:2.4em;
  white-space:pre-line; overflow:hidden;
}
.hero-underline{display:inline-block; width:38px; height:4px; background:var(--accent); margin-left:8px; border-radius:2px; vertical-align:middle; transform:translateY(-6px);}
.hero-cursor{
  display:inline-block; width:34px; height:5px; background:var(--accent); border-radius:2px;
  margin-left:6px; vertical-align:text-bottom;
  animation: heroCursorBlink 0.9s steps(1) infinite;
}
@keyframes heroCursorBlink{ 0%,49%{opacity:1;} 50%,100%{opacity:0;} }
.hero-text-cyra{color:var(--text-muted); max-width:620px; font-size:18px; line-height:1.75; margin-bottom:44px;}
.hero-text-cyra strong{color:var(--text); font-weight:700;}
.hero-cta-row{display:flex; align-items:center; gap:32px; flex-wrap:wrap;}
.btn-cyan{
  background:#000; color:#fff; font-weight:700; font-size:14px;
  text-transform:uppercase; letter-spacing:.08em; padding:20px 42px; display:inline-block;
}
.btn-cyan:hover{background:#222;}
.watch-video{display:flex; align-items:center; gap:16px; color:var(--text-muted); font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.08em;}
.watch-video:hover{color:var(--text);}
.play-btn-cyra{
  width:56px; height:56px; border-radius:50%; border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; color:var(--text); flex-shrink:0;
}
.play-btn-cyra svg{width:14px; height:14px; margin-left:3px;}
@media (max-width:1100px){ .hero-title-cyra{font-size:50px;} }
@media (max-width:640px){ .hero-title-cyra{font-size:38px;} }

/* About */
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px;}
@media (max-width:900px){ .about-grid{grid-template-columns:1fr;} }
.about-box{
  border-top:1px solid var(--border); border-left:1px solid var(--border); border-bottom:1px solid var(--border);
  padding:38px 40px; min-height:430px; width:80%;
  display:flex; flex-direction:column; justify-content:flex-end;
}
.about-box-mark{width:90px; height:auto; display:block; margin-bottom:32px; opacity:.32;}
.about-box-mark path{fill:var(--text);}
.about-box-line{width:70px; height:2px; background:var(--text); display:block; margin-bottom:26px;}
.about-box-text{
  font-family:var(--font-heading); font-weight:700; text-transform:uppercase;
  font-size:26px; line-height:1.35; letter-spacing:.01em; margin:0;
}
.about-copy p{margin:0 0 22px; line-height:1.8;}
.about-copy p:last-child{margin-bottom:0;}
.about-headline{font-size:52px; line-height:1.12;}
@media (max-width:640px){ .about-headline{font-size:36px;} }

/* Projects */
.project-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
@media (max-width:900px){ .project-grid{grid-template-columns:1fr;} }
.project-card{position:relative; background:transparent; border:none; border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column;}
.project-card::before{
  content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
  border:2px solid var(--border); border-radius:var(--radius);
}
.project-card .img-wrap{aspect-ratio:4/3; overflow:hidden;}
.project-card .img-wrap img{width:100%; height:100%; object-fit:cover; transition:transform .5s;}
.project-card:hover .img-wrap img{transform:scale(1.06);}
.project-card .icon-wrap, .post-card .icon-wrap{
  aspect-ratio:4/3; display:flex; align-items:center; justify-content:center;
  background:#373832;
}
.project-card .icon-wrap svg, .post-card .icon-wrap svg{width:34%; height:34%; color:var(--accent); transition:transform .5s ease;}
.project-card:hover .icon-wrap svg, .post-card:hover .icon-wrap svg{transform:scale(1.08);}
.project-card .body{padding:26px; flex:1; display:flex; flex-direction:column;}
.project-card h3{font-size:24px; margin-bottom:12px;}
.project-card p{color:var(--text-muted); font-size:14.5px; line-height:1.6; flex:1;}
.project-features{list-style:none; padding:0; margin:0 0 18px; flex:1;}
.project-features li{display:flex; align-items:flex-start; gap:10px; color:var(--text-muted); font-size:14.5px; line-height:1.55; margin-bottom:11px;}
.project-features li:last-child{margin-bottom:0;}
.project-features svg{width:16px; height:16px; margin-top:3px; color:var(--accent); flex-shrink:0;}
.btn{
  display:inline-flex; align-items:center; gap:8px; border:1px solid var(--accent); color:var(--accent);
  padding:12px 24px; border-radius:30px; font-size:13px; text-transform:uppercase; letter-spacing:.08em;
  margin-top:18px; align-self:flex-start; transition: background .2s, color .2s; cursor:pointer; background:none; font-family:var(--font-body);
}
.btn:hover{background:var(--accent); color:#1a1a1a;}

/* How CYRA Works */
.how-it-works-wrap{width:100%; text-align:center; display:flex; flex-direction:column; align-items:center;}
.how-it-works-wrap p{color:var(--text-muted); font-size:18px; line-height:1.75; max-width:620px; margin:20px auto 44px;}
.how-it-works-illustration{width:100%; max-width:600px; height:auto; display:block;}
@media (max-width:640px){ .how-it-works-wrap p{font-size:16px;} }
.section-head{display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; margin-bottom:56px;}

/* Testimonials */
#testimonials .quote-mark{font-family:var(--font-heading); font-size:80px; color:var(--accent); line-height:1;}
#testimonials h3{color:var(--text); font-size:34px; max-width:480px; margin-top:26px; line-height:1.4;}
.testi-grid{display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:end;}
@media (max-width:900px){ .testi-grid{grid-template-columns:1fr;} }
.testi-list{display:flex; flex-direction:column; gap:30px;}
.testi-card p{color:var(--text-muted); font-size:15px; line-height:1.7; font-style:italic;}
.testi-name{color:var(--text); font-size:17px; margin-top:14px; font-family:var(--font-heading); font-weight:700;}
.testi-role{color:var(--accent); font-size:13px; margin-top:4px;}

/* Partners */
.partners-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:36px; align-items:center; justify-items:center;}
@media (max-width:800px){ .partners-grid{grid-template-columns:repeat(2,1fr);} }
.partners-grid img{max-height:38px; width:auto; opacity:.65; filter:grayscale(1); transition:opacity .2s;}
html[data-theme="dark"] .partners-grid img{filter:grayscale(1) invert(1) brightness(1.6);}
.partners-grid img:hover{opacity:1;}

/* Blog */
.blog-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
@media (max-width:900px){ .blog-grid{grid-template-columns:1fr;} }
.post-card{background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden;}
.post-card .img-wrap{aspect-ratio:4/3; overflow:hidden;}
.post-card .img-wrap img{width:100%; height:100%; object-fit:cover;}
.post-card .body{padding:24px;}
.post-date{color:var(--text-muted); font-size:12.5px; letter-spacing:.05em; text-transform:uppercase;}
.post-card h3{font-size:20px; margin:10px 0 12px;}
.post-card p{color:var(--text-muted); font-size:14px; line-height:1.6;}
.read-more{display:inline-flex; align-items:center; gap:6px; color:var(--accent); font-size:13px; margin-top:14px; text-transform:uppercase; letter-spacing:.05em;}

/* Contact */
#contact h3{color:var(--text); font-family:var(--font-heading); font-size:52px; line-height:1.12;}
@media (max-width:640px){ #contact h3{font-size:36px;} }
#contact address{color:var(--text-muted); font-style:normal; display:block; margin:18px 0;}
#contact p{color:var(--text-muted); margin:8px 0;}
#contact .tel, #contact .email{color:var(--text);}
.contact-mark{width:110px; height:auto; flex-shrink:0; opacity:.3;}
.contact-mark path{fill:var(--text);}
.contact-follow{display:flex; flex-wrap:nowrap; align-items:center; gap:16px; margin-top:28px; color:var(--text-muted); font-size:13px; text-transform:uppercase; letter-spacing:.06em; font-weight:600; white-space:nowrap;}
.contact-follow-pipe{color:var(--border); font-weight:400; line-height:1; flex-shrink:0;}
.contact-follow .socials{flex-wrap:nowrap; flex-shrink:0;}
.contact-grid{display:grid; grid-template-columns:1fr 1.3fr; gap:60px;}
@media (max-width:900px){ .contact-grid{grid-template-columns:1fr;} }
.contact-form{display:flex; flex-direction:column;}
.contact-form .submit-btn{align-self:flex-end;}
#contact h4{color:var(--text); font-size:26px; line-height:1.4; margin-bottom:26px; font-weight:700;}
.form-group{margin-bottom:16px;}
.form-group input, .form-group textarea{
  width:100%; background:var(--bg-card); border:1px solid var(--border); color:var(--text);
  padding:14px 16px; border-radius:var(--radius); font-family:var(--font-body); font-size:14px;
}
.form-group input::placeholder, .form-group textarea::placeholder{color:var(--text-muted);}
.form-msg{display:none; padding:10px 14px; border-radius:var(--radius); font-size:13px; margin-bottom:14px;}
.form-msg.success{background:rgba(60,180,100,.2); color:#2f7a4d;}
.form-msg.danger{background:rgba(200,60,60,.2); color:#a83c3c;}
.submit-btn{
  background:#211f1a; color:#ffffff; border:none; padding:16px 34px; border-radius:4px;
  text-transform:uppercase; letter-spacing:.08em; font-size:13px; cursor:pointer; font-family:var(--font-body); font-weight:600;
  transition:background .2s ease;
}
.submit-btn:hover{background:#000000;}

/* Colored section cards (Anthropic-style, full-screen) */
.section-card{
  --text:#211f1a; --text-muted:#55534d; --border:rgba(33,31,26,.16); --bg-card:rgba(255,255,255,.55);
  width:100%; min-height:100vh; margin:0; border-radius:0; padding:100px 24px; color:var(--text);
  display:flex; align-items:center;
}
.section-card > .container, .section-card > .contact-grid{width:100%;}
.section-card h1, .section-card h2, .section-card h3, .section-card h4, .section-card h5{color:var(--text);}
@media (max-width:900px){ .section-card{padding:70px 20px; min-height:auto;} }
html[data-theme="dark"] .section-card .partners-grid img{filter:grayscale(1);}
.card-tan{background:#e7ddd0;}      /* About – soft lilac */
.card-sage{background:#c7d7cf;}     /* Platform – lavender */
.card-lavender{background:#dcd8e9;} /* How it works – pink lilac */
.card-terracotta{background:#e7ddd0;}
.card-blue{background:#e7ddd0;}
.card-butter{background:#e7ddd0;}
.card-rose{background:#f0ede6;}     /* Contact – cool violet */

/* Early Access modal (fixed white theme regardless of site theme) */
.ea-modal{
  position:fixed; inset:0; z-index:400; background:#ffffff;
  display:flex; justify-content:center; overflow-y:auto;
  padding:110px 24px 70px; opacity:0; visibility:hidden; transform:translateY(14px);
  transition:opacity .32s ease, transform .32s ease, visibility 0s linear .32s;
}
.ea-modal.open{
  opacity:1; visibility:visible; transform:translateY(0);
  transition:opacity .32s ease, transform .32s ease;
}
body.ea-open{overflow:hidden;}
.ea-modal-close{
  position:fixed; top:26px; right:32px; width:56px; height:56px; border-radius:50%;
  border:1px solid rgba(33,32,28,.15); background:#ffffff; color:#211f1a;
  display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:410;
  transition:background .2s ease, transform .2s ease;
}
.ea-modal-close:hover{background:#f0ede6; transform:rotate(90deg);}
.ea-modal-close svg{width:24px; height:24px;}
.ea-modal-inner{width:100%; max-width:720px; color:#211f1a;}
.ea-eyebrow{font-size:13px; letter-spacing:.22em; text-transform:uppercase; color:#8a8375; font-weight:700; margin-bottom:22px;}
.ea-heading{font-family:var(--font-heading); font-weight:500; font-size:60px; line-height:1.08; margin:0 0 26px; color:#211f1a;}
.ea-text{font-size:18px; line-height:1.75; color:#5c5548; max-width:600px; margin:0 0 42px;}
.ea-checklist{list-style:none; padding:0; margin:0 0 50px;}
.ea-checklist li{display:flex; align-items:center; gap:14px; font-size:16.5px; color:#312d27; padding:0 0 18px;}
.ea-checklist li:last-child{padding-bottom:0;}
.ea-checklist svg{width:20px; height:20px; color:var(--accent,#af573c); flex-shrink:0;}
.ea-form-group{margin-bottom:30px;}
.ea-form-group{position:relative;}
.ea-form-group input{
  width:100%; border:1px solid rgba(33,32,28,.22); border-radius:8px; background:#fdfcf9; box-sizing:border-box;
  font-family:var(--font-body); font-size:16px; color:#211f1a; padding:15px 17px; outline:none;
  transition:border-color .2s ease, background .2s ease;
}
.ea-form-group input:focus{border-color:var(--accent,#af573c); background:#fff;}
.ea-form-group input::placeholder{color:#9a9284;}
.ea-form-group input.ea-invalid{border-color:#c0392b; background:#fdf3f2;}
.ea-error{display:none; color:#c0392b; font-size:12.5px; margin-top:7px; letter-spacing:.01em;}
.ea-form-group.has-error .ea-error{display:block;}
.ea-form-footer{display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; margin-top:10px;}
.ea-required-note{font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:#9a9284;}
.ea-form-actions{display:flex; align-items:center; gap:26px;}
.ea-cancel{
  background:none; border:none; padding:19px 4px; color:#211f1a;
  font-family:var(--font-body); font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.1em;
  cursor:pointer; transition:opacity .2s ease;
}
.ea-cancel:hover{opacity:.55;}
.ea-submit{
  background:#211f1a; color:#ffffff; border:none; padding:19px 42px;
  font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.1em; cursor:pointer;
  transition:background .2s ease;
}
.ea-submit:hover{background:#000000;}
.ea-form-msg{display:none; margin-top:18px; font-size:14px; color:#3a6b4a;}
@media (max-width:640px){
  .ea-heading{font-size:38px;}
  .ea-modal{padding:90px 20px 50px;}
  .ea-modal-close{width:46px; height:46px; top:18px; right:18px;}
}

/* Chat widget */
.chat-toggle{
  width:52px; height:52px; border-radius:50%; border:none; background:var(--accent); color:#fff;
  display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 6px 18px rgba(0,0,0,.18);
  transition:transform .2s ease, background .2s ease;
}
.chat-toggle:hover{transform:scale(1.06); background:#8f4630;}
.chat-toggle svg{width:22px; height:22px;}
.chat-toggle .chat-icon-close{display:none;}
.chat-toggle.open .chat-icon-open{display:none;}
.chat-toggle.open .chat-icon-close{display:block;}
.chat-panel{
  position:fixed; right:60px; bottom:180px; z-index:160; width:340px; max-width:calc(100vw - 48px);
  height:560px; max-height:calc(100vh - 220px);
  background:var(--bg-alt); border:1px solid var(--border); border-radius:14px;
  box-shadow:0 20px 50px rgba(0,0,0,.18); display:flex; flex-direction:column; overflow:hidden;
  opacity:0; visibility:hidden; transform:translateY(12px); transition:opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.chat-panel.open{opacity:1; visibility:visible; transform:translateY(0); transition:opacity .25s ease, transform .25s ease;}
.chat-panel-header{
  padding:16px 18px; font-weight:700; font-size:14px; letter-spacing:.03em; color:var(--text);
  border-bottom:1px solid var(--border);
}
.chat-messages{flex:1; min-height:0; overflow-y:auto; padding:16px 18px; display:flex; flex-direction:column; gap:10px;}
.chat-msg{max-width:88%; padding:10px 13px; border-radius:12px; font-size:13.5px; line-height:1.55;}
.chat-msg.bot{background:var(--bg); border:1px solid var(--border); color:var(--text); align-self:flex-start; border-bottom-left-radius:2px;}
.chat-msg.user{background:#373832; color:#fff; align-self:flex-end; border-bottom-right-radius:2px;}
.chat-suggestions{display:flex; flex-direction:column; gap:6px; margin-top:2px;}
.chat-chip{
  align-self:flex-start; background:none; border:1px solid var(--border); color:var(--text-muted);
  font-size:12px; padding:7px 11px; border-radius:20px; cursor:pointer; text-align:left; transition:border-color .2s ease, color .2s ease;
}
.chat-chip:hover{border-color:var(--accent); color:var(--text);}
.chat-form{display:flex; align-items:center; gap:8px; padding:12px 14px; border-top:1px solid var(--border);}
.chat-form input{
  flex:1; border:1px solid var(--border); background:var(--bg); color:var(--text); border-radius:20px;
  padding:9px 14px; font-size:13px; outline:none; font-family:var(--font-body);
}
.chat-form input:focus{border-color:var(--accent);}
.chat-form button{
  width:36px; height:36px; border-radius:50%; border:none; background:#211f1a; color:#ffffff;
  display:flex; align-items:center; justify-content:center; cursor:pointer; flex-shrink:0; transition:background .2s ease;
}
.chat-form button:hover{background:#000000;}
.chat-form button svg{width:16px; height:16px;}
@media (max-width:640px){
  .chat-panel{right:16px; bottom:160px;}
}

/* Video modal */
.video-modal{
  position:fixed; inset:0; z-index:500; background:#ffffff;
  display:flex; align-items:center; justify-content:center; padding:60px 24px;
  opacity:0; visibility:hidden; transition:opacity .3s ease, visibility 0s linear .3s;
}
.video-modal.open{opacity:1; visibility:visible; transition:opacity .3s ease;}
body.video-open{overflow:hidden;}
.video-modal-close{
  position:fixed; top:26px; right:32px; width:56px; height:56px; border-radius:50%;
  border:1px solid rgba(33,32,28,.15); background:#ffffff; color:#211f1a;
  display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:510;
  transition:background .2s ease, transform .2s ease;
}
.video-modal-close:hover{background:#f0ede6; transform:rotate(90deg);}
.video-modal-close svg{width:24px; height:24px;}
.video-modal-inner{width:100%; max-width:960px; text-align:center;}
.video-modal-eyebrow{font-size:13px; letter-spacing:.22em; text-transform:uppercase; color:#8a8375; font-weight:700; margin-bottom:14px;}
.video-modal-heading{font-family:var(--font-heading); font-weight:500; font-size:38px; line-height:1.15; margin:0 0 30px; color:#211f1a;}
.video-modal-box{
  width:100%; max-width:960px; aspect-ratio:16/9; background:transparent; box-sizing:border-box;
  border:2px solid rgba(33,32,28,.3); border-radius:6px; padding:20px;
}
.video-modal-box video{width:100%; height:100%; display:block; border-radius:4px;}
@media (max-width:640px){
  .video-modal{padding:40px 16px;}
  .video-modal-close{width:46px; height:46px; top:16px; right:16px;}
}

/* Footer */
footer.site-footer{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px;
  padding:26px 24px; max-width:1300px; margin:0 auto; border-top:1px solid var(--border);
  font-size:13px; color:var(--text-muted);
}
.socials{display:flex; gap:14px;}
.socials a{width:34px; height:34px; border:1px solid var(--border); border-radius:50%; display:flex; align-items:center; justify-content:center;}
.socials svg{width:14px; height:14px;}

/* Utility classes (replace former inline style attributes) */
.svg-sprite{position:absolute; width:0; height:0; overflow:hidden;}
.text-muted{color:var(--text-muted);}
.mt-20{margin-top:20px;}
.m-0{margin:0;}

/* Contact form: meeting date & time picker */
.form-label{display:block; color:var(--text-muted); font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; font-weight:600; margin-bottom:8px;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
@media (max-width:480px){ .form-row{grid-template-columns:1fr;} }
.form-group input[type="date"], .form-group input[type="time"]{color-scheme:light dark; min-height:48px;}
.submit-btn:disabled, .ea-submit:disabled{opacity:.6; cursor:wait;}
.ea-form-msg.error{color:#a83c3c;}

/* ---- Content update: new elements ---- */
.hero-support{color:var(--text-muted); font-size:14px; letter-spacing:.02em; margin-top:28px;}
.about-copy .btn{margin-top:30px;}

/* Platform */
.section-head-stack{flex-direction:column; align-items:flex-start; gap:16px;}
.section-intro{color:var(--text-muted); font-size:18px; line-height:1.75; max-width:760px; margin:0;}
.card-status{
  align-self:flex-start; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--accent); border:1px solid currentColor; border-radius:999px; padding:4px 11px; margin-bottom:14px;
}
.project-card p.card-desc{flex:0 0 auto; color:var(--text); font-size:15.5px; font-weight:600; margin:0 0 16px;}
.section-foot{display:flex; align-items:center; justify-content:space-between; gap:24px 40px; flex-wrap:wrap; margin-top:44px;}
.section-note{color:var(--text-muted); font-size:14px; line-height:1.7; max-width:760px; margin:0;}
.section-foot .btn{margin-top:0;}

/* How it works */
.steps-grid{list-style:none; padding:0; margin:0 0 48px; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:left; width:100%;}
@media (max-width:1100px){ .steps-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:640px){ .steps-grid{grid-template-columns:1fr;} }
.step-card{border:1px solid var(--border); border-radius:var(--radius); padding:24px 22px; background:var(--bg-card);}
.step-card h4{font-size:17px; line-height:1.35; margin:0 0 10px; color:var(--text);}
.how-it-works-wrap .step-card p{font-size:14.5px; line-height:1.65; margin:0; max-width:none; color:var(--text-muted);}
.how-it-works-figure{margin:0; width:100%; display:flex; flex-direction:column; align-items:center;}
.how-it-works-figure figcaption{color:var(--text-muted); font-size:13px; margin-top:14px; font-style:italic;}
.how-it-works-wrap .section-note{margin:34px auto 28px; text-align:center; font-size:14.5px; max-width:680px;}

/* Contact form */
.form-group select{
  width:100%; background:var(--bg-card); border:1px solid var(--border); color:var(--text);
  padding:14px 16px; border-radius:var(--radius); font-family:var(--font-body); font-size:14px; min-height:48px; color-scheme:light dark;
}
.form-group select:disabled{opacity:.6;}
#contact p.form-helper{font-size:12.5px; line-height:1.55; margin:8px 0 0;}
#contact p.form-privacy{font-size:12.5px; line-height:1.6; margin:0 0 16px;}
.form-actions{display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;}
.form-required{font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted);}

/* Demonstration picker (contact form + early access) */
.pick-grid{display:grid; grid-template-columns:1.1fr .9fr 1.2fr; gap:12px; align-items:end;}
@media (max-width:640px){ .pick-grid{grid-template-columns:1fr;} }
.pick-field{display:flex; flex-direction:column; justify-content:flex-end; gap:6px; min-width:0;}
.pick-label{font-size:12px; color:var(--text-muted);}
#contact p.pick-summary{font-size:13px; color:var(--text); margin:10px 0 2px; min-height:1.2em;}
#contact p.pick-expect{font-size:12.5px; line-height:1.55; margin:0;}

/* Early access modal additions */
.ea-clarify{font-size:14px; line-height:1.65; color:#6b6355; margin:-18px 0 40px; max-width:600px;}
.ea-label{display:block; font-size:14px; color:#312d27; margin-bottom:8px;}
.ea-form-group textarea, .ea-demo select, .ea-demo input[type="date"]{
  width:100%; border:1px solid rgba(33,32,28,.22); border-radius:8px; background:#fff; box-sizing:border-box;
  font-family:var(--font-body); font-size:16px; color:#211f1a; padding:14px 16px; outline:none; color-scheme:light;
}
.ea-form-group textarea{background:#fdfcf9; resize:vertical;}
.ea-form-group textarea:focus, .ea-demo select:focus, .ea-demo input:focus{border-color:var(--accent,#af573c);}
.ea-check{display:flex; align-items:center; gap:12px; font-size:15.5px; color:#312d27; cursor:pointer; margin:0 0 24px;}
.ea-check input{width:20px; height:20px; accent-color:var(--accent,#af573c); flex-shrink:0;}
.ea-demo{border:1px solid rgba(33,32,28,.14); border-radius:10px; padding:24px; margin:0 0 28px; background:#fdfcf9;}
.ea-demo[hidden]{display:none;}
.ea-demo-heading{font-family:var(--font-heading); font-size:26px; font-weight:500; margin:0 0 8px; color:#211f1a;}
.ea-demo-intro{font-size:14.5px; color:#5c5548; margin:0 0 18px; line-height:1.6;}
.ea-demo .pick-label{color:#5c5548;}
.ea-demo .pick-summary{font-size:14px; color:#211f1a; margin:12px 0 4px; min-height:1.2em;}
.ea-demo .pick-expect{font-size:13px; color:#6b6355; margin:0; line-height:1.55;}
.ea-demo.has-error .ea-slot-error{display:block;}
.ea-privacy{font-size:13px; color:#6b6355; line-height:1.6; margin:0 0 10px;}
.ea-form-msg{line-height:1.6;}

/* Footer */
.footer-main p, .footer-meta p{margin:0 0 4px;}
.footer-desc{color:var(--text);}
.footer-meta{text-align:right;}
.footer-note{font-size:12px; max-width:440px; margin-left:auto !important;}
@media (max-width:760px){ .footer-meta{text-align:left;} .footer-note{margin-left:0 !important;} }

#contact.section-card{padding-bottom:150px;}
@media (max-width:900px){ #contact.section-card{padding-bottom:130px;} }
footer.site-footer{padding:30px 24px 120px; align-items:flex-start;}
.how-it-works-figure .how-it-works-illustration{max-width:480px;}
footer.site-footer{flex-direction:column; gap:14px;}
.footer-meta{text-align:left;}
.footer-note{margin-left:0 !important; max-width:560px;}

/* Static hero headline */
.hero-title-cyra{height:auto; overflow:visible;}
.hero-title-cyra .accent{color:var(--accent);}

/* Demonstration picker: dark icons, aligned on the right */
.pick-grid input[type="date"], .pick-grid select{
  color-scheme:light; -webkit-appearance:none; -moz-appearance:none; appearance:none;
  height:48px; min-height:48px; padding:0 44px 0 16px; line-height:48px; box-sizing:border-box;
  background-repeat:no-repeat; background-position:right 16px center; background-size:16px 16px;
}
.pick-grid input[type="date"]{position:relative;}
.pick-grid input[type="date"]::-webkit-calendar-picker-indicator{
  position:absolute; right:16px; top:50%; transform:translateY(-50%); margin:0; width:16px; height:16px;
  opacity:1; cursor:pointer;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221f2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3Cline x1='8' y1='3' x2='8' y2='7'/%3E%3Cline x1='16' y1='3' x2='16' y2='7'/%3E%3C/svg%3E") center/16px 16px no-repeat;
}
.pick-grid select.pick-time{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221f2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='12 7 12 12 15 14'/%3E%3C/svg%3E");
  cursor:pointer;
}
.pick-grid select.pick-tz{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221f2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  cursor:pointer; text-overflow:ellipsis; white-space:nowrap; overflow:hidden;
}
.pick-grid select:disabled{cursor:not-allowed;}

/* Footer (single row + note) */
footer.site-footer{display:block; max-width:none; margin:0; padding:26px 74px 120px; font-size:12.5px; color:var(--text-muted); letter-spacing:.02em;}
.footer-row{display:flex; align-items:center; justify-content:space-between; gap:16px 40px; flex-wrap:wrap;}
.footer-left, .footer-right{display:flex; align-items:center; gap:22px; flex-wrap:wrap;}
.footer-brand{font-family:var(--font-body); font-size:17px; font-weight:700; color:var(--text); letter-spacing:.01em; margin-right:2px;}
.footer-link{background:none; border:none; padding:0 0 2px; font:inherit; color:var(--text-muted); letter-spacing:inherit; cursor:pointer; border-bottom:1px solid currentColor; transition:color .2s ease;}
.footer-link:hover{color:var(--text);}
footer.site-footer .footer-note{margin:22px 0 0 !important; max-width:none; font-size:12px;}
@media (max-width:760px){ footer.site-footer{padding:26px 20px 130px;} .footer-right{gap:16px;} }

/* Privacy dialog */
.privacy-dialog{max-width:520px; width:calc(100% - 40px); border:1px solid var(--border); border-radius:10px; padding:32px; background:var(--bg-alt, #fff); color:var(--text);}
.privacy-dialog::backdrop{background:rgba(33,31,26,.55);}
.privacy-dialog h2{font-family:var(--font-heading); font-size:28px; margin:0 0 14px;}
.privacy-dialog p{color:var(--text-muted); font-size:14.5px; line-height:1.7; margin:0 0 24px;}

/* Navigation: active item in purple with a short line underneath */
nav.main-nav a{position:relative; display:inline-block; padding:6px 0;}
nav.main-nav a::after{
  content:""; position:absolute; left:0; bottom:-6px; width:30px; height:3px; border-radius:1px;
  background:var(--accent); transform:scaleX(0); transform-origin:left center; transition:transform .25s ease;
}
nav.main-nav a.active{color:var(--accent); opacity:1;}
nav.main-nav a.active::after{transform:scaleX(1);}

.about-copy .btn-cyan{margin-top:30px;}

/* ---- How CYRA works (flow + numbered columns) ---- */
.hiw{width:100%; max-width:1180px;}
.hiw-head{text-align:center; max-width:820px; margin:0 auto;}
.hiw-eyebrow{display:block; color:var(--accent); font-size:12.5px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; margin-bottom:22px;}
.hiw-head .about-headline{margin:0;}
.hiw-intro{color:var(--text-muted); font-size:18px; line-height:1.8; margin:26px auto 0;}
.hiw-flow{display:flex; align-items:center; justify-content:center; margin:56px auto 64px; max-width:860px;}
.hiw-node{
  flex:0 0 auto; width:200px; min-height:118px; padding:22px 16px;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; text-align:center;
  background:rgba(255,255,255,.55); border:1px solid rgba(33,31,26,.32); border-radius:8px;
  box-shadow:0 2px 0 rgba(33,31,26,.08);
}
.hiw-node svg{width:28px; height:28px; color:var(--text);}
.hiw-node strong{font-size:15px; font-weight:600; color:var(--text); letter-spacing:.01em;}
.hiw-node small{font-size:12.5px; color:var(--text-muted);}
.hiw-node-main{width:260px; min-height:150px;}
.hiw-node-main svg{color:var(--accent);}
.hiw-arrow{flex:1 1 auto; min-width:40px; max-width:80px; height:1px; background:rgba(33,31,26,.4); position:relative;}
.hiw-arrow::after{content:""; position:absolute; right:-1px; top:-4px; border-left:7px solid rgba(33,31,26,.55); border-top:4.5px solid transparent; border-bottom:4.5px solid transparent;}
.hiw-steps{list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(4,1fr); gap:34px;}
.hiw-step{border-top:1px solid rgba(33,31,26,.3); padding-top:24px;}
.hiw-num{display:block; font-size:13px; letter-spacing:.1em; color:var(--accent); font-weight:600; margin-bottom:22px;}
.hiw-step h4{font-family:var(--font-heading); font-weight:600; font-size:25px; line-height:1.22; color:var(--text); margin:0 0 16px; min-height:2.44em;}
.hiw-step p{color:var(--text-muted); font-size:15px; line-height:1.75; margin:0;}
.hiw-foot{display:flex; align-items:center; justify-content:space-between; gap:20px 48px; flex-wrap:wrap; margin-top:46px;}
.hiw-note{color:var(--text-muted); font-size:13.5px; line-height:1.75; max-width:680px; margin:0;}
.hiw-link{display:inline-flex; align-items:center; gap:12px; font-size:15px; font-weight:600; color:var(--text); white-space:nowrap; transition:color .2s ease, gap .2s ease;}
.hiw-link:hover{color:var(--accent); gap:16px;}
@media (max-width:1100px){ .hiw-steps{grid-template-columns:repeat(2,1fr); row-gap:42px;} }
@media (max-width:760px){
  .hiw-flow{flex-direction:column; margin:40px auto 48px;}
  .hiw-node, .hiw-node-main{width:100%; max-width:320px;}
  .hiw-arrow{width:1px; height:32px; min-width:0; flex:0 0 32px;}
  .hiw-arrow::after{right:auto; left:-4px; top:auto; bottom:-1px; border-top:7px solid rgba(33,31,26,.55); border-left:4.5px solid transparent; border-right:4.5px solid transparent; border-bottom:0;}
  .hiw-steps{grid-template-columns:1fr;}
  .hiw-step h4{min-height:0;}
  .hiw-intro{font-size:16px;}
}

.section-foot .btn-cyan{flex-shrink:0;}

/* Platform: compact cards so the whole section (and its button) fits on screen */
#projects.section-card{padding-top:96px; padding-bottom:56px;}
#projects .section-head{margin-bottom:32px;}
#projects .section-intro{font-size:16.5px; line-height:1.65;}
#projects .project-grid{gap:24px;}
#projects .project-card .icon-wrap{aspect-ratio:auto; height:112px;}
#projects .project-card .icon-wrap svg{width:48px; height:48px;}
#projects .project-card .body{padding:20px 22px 22px;}
#projects .project-card h3{font-size:22px; margin-bottom:10px;}
#projects .card-status{margin-bottom:10px;}
#projects .project-card p.card-desc{font-size:15px; margin-bottom:12px;}
#projects .project-features{margin:0;}
#projects .project-features li{font-size:14px; line-height:1.5; margin-bottom:8px;}
#projects .section-foot{margin-top:28px;}
@media (max-width:900px){ #projects.section-card{padding-top:70px;} }
#projects.section-card{padding-top:92px; padding-bottom:36px;}
#projects .about-headline{font-size:44px;}
#projects .section-head{margin-bottom:24px; gap:12px;}
#projects .project-card .icon-wrap{height:92px;}
#projects .project-card .icon-wrap svg{width:42px; height:42px;}
#projects .section-foot{margin-top:22px;}
@media (max-width:640px){ #projects .about-headline{font-size:34px;} }

/* How it works: number and heading on one line, tighter section */
.hiw-step{display:grid; grid-template-columns:auto 1fr; column-gap:12px; align-items:baseline; padding-top:18px;}
.hiw-num{margin:0; font-size:13px;}
.hiw-step h4{font-size:21px; line-height:1.25; min-height:0; margin:0 0 10px;}
.hiw-step p{grid-column:1 / -1; font-size:14.5px; line-height:1.65;}
.hiw-steps{gap:28px;}
#education.section-card{padding-top:96px; padding-bottom:40px;}
.hiw-eyebrow{margin-bottom:14px;}
#education .about-headline{font-size:46px;}
.hiw-intro{font-size:16.5px; line-height:1.7; margin-top:16px;}
.hiw-flow{margin:34px auto 38px;}
.hiw-node{min-height:96px; padding:16px 14px; gap:9px;}
.hiw-node-main{min-height:120px;}
.hiw-node svg{width:24px; height:24px;}
.hiw-foot{margin-top:30px;}
@media (max-width:640px){ #education .about-headline{font-size:34px;} }
.hiw-steps{grid-auto-rows:auto; row-gap:0;}
.hiw-step{grid-row:span 2; grid-template-rows:subgrid; align-items:start; row-gap:0;}
.hiw-step .hiw-num{align-self:start; padding-top:6px;}
@media (max-width:1100px){ .hiw-steps{row-gap:34px;} }
.hiw-head{max-width:1000px;}
.hiw-flow{margin:30px auto 34px;}
.hiw-btn{display:inline-flex; align-items:center; gap:12px; flex-shrink:0; white-space:nowrap;}
.hiw-btn span[aria-hidden]{transition:transform .2s ease;}
.hiw-btn:hover span[aria-hidden]{transform:translateX(4px);}
#education.section-card{padding-top:88px;}
.hiw-flow{margin:26px auto 28px;}
.hiw-foot{margin-top:22px;}

/* How it works: fill the screen like Home – spacing scales with screen height */
#education.section-card{
  min-height:100vh; box-sizing:border-box;
  padding-top:calc(85px + clamp(12px, 3.5vh, 56px)); padding-bottom:clamp(20px, 4vh, 64px);
  display:flex; align-items:center;
}
#education .hiw-eyebrow{margin-bottom:clamp(10px, 1.6vh, 22px);}
#education .hiw-intro{margin-top:clamp(12px, 2vh, 26px);}
#education .hiw-flow{margin:clamp(22px, 4.5vh, 64px) auto clamp(24px, 5vh, 72px);}
#education .hiw-foot{margin-top:clamp(18px, 4vh, 56px);}
@media (max-width:900px){ #education.section-card{min-height:auto; padding-top:70px; padding-bottom:70px;} }
@media (min-width:901px) and (max-height:820px){
  #education.section-card{padding-top:88px; padding-bottom:20px;}
  #education .hiw-flow{margin:24px auto 26px;}
  #education .hiw-foot{margin-top:20px;}
  #education .hiw-intro{margin-top:12px;}
}

/* Platform: centred heading + full-screen fit, matching How it works */
#projects.section-card{
  min-height:100vh; box-sizing:border-box; display:flex; align-items:center;
  padding-top:calc(85px + clamp(12px, 3.5vh, 56px)); padding-bottom:clamp(20px, 4vh, 64px);
}
#projects .section-head{align-items:center; text-align:center; max-width:1000px; margin:0 auto clamp(24px, 4.5vh, 60px);}
#projects .about-headline{font-size:46px;}
#projects .section-intro{margin:0 auto; max-width:900px;}
#projects .project-card .icon-wrap{height:clamp(110px, 16vh, 190px);}
#projects .project-card .icon-wrap svg{width:clamp(44px, 6vh, 64px); height:clamp(44px, 6vh, 64px);}
#projects .section-foot{margin-top:clamp(20px, 4vh, 56px);}
@media (min-width:901px) and (max-height:820px){
  #projects.section-card{padding-top:88px; padding-bottom:20px;}
  #projects .section-head{margin-bottom:22px;}
  #projects .project-card .icon-wrap{height:104px;}
  #projects .section-foot{margin-top:20px;}
}
@media (max-width:900px){ #projects.section-card{min-height:auto; padding-top:70px; padding-bottom:70px;} }
@media (max-width:640px){ #projects .about-headline{font-size:34px;} }

/* Early access popup: light purple background */
.ea-modal{background:#fdfcf9;}
.ea-modal-close{background:#ffffff; border-color:rgba(33,31,26,.18);}
.ea-modal-close:hover{background:#f7f4ef;}
.ea-form-group input, .ea-form-group textarea{background:#ffffff; border-color:rgba(33,31,26,.22);}
.ea-form-group input:focus, .ea-form-group textarea:focus{background:#ffffff;}
.ea-demo{background:#f7f4ef; border-color:rgba(33,31,26,.16);}
.ea-demo select, .ea-demo input[type="date"]{background-color:#ffffff;}

/* Early access eyebrow matches the Home tagline */
.ea-eyebrow{color:var(--accent,#af573c); font-weight:600; letter-spacing:.18em;}

/* Early access popup: compact layout so the form and button are visible on open */
.ea-modal{padding:clamp(40px, 7vh, 90px) 24px 40px;}
.ea-modal-inner{max-width:780px;}
.ea-eyebrow{margin-bottom:12px;}
.ea-heading{font-size:clamp(36px, 5.4vh, 52px); margin:0 0 14px;}
.ea-text{font-size:16px; line-height:1.6; max-width:none; margin:0 0 20px;}
.ea-checklist{display:grid; grid-template-columns:1fr 1fr; gap:10px 32px; margin:0 0 18px;}
.ea-checklist li{padding:0; font-size:15px; align-items:flex-start; line-height:1.45;}
.ea-checklist svg{width:18px; height:18px; margin-top:1px;}
.ea-clarify{margin:0 0 22px; font-size:13px; line-height:1.55; max-width:none;}
#earlyAccessForm{display:grid; grid-template-columns:repeat(3, 1fr); column-gap:14px;}
#earlyAccessForm > *{grid-column:1 / -1;}
#earlyAccessForm > .ea-form-group:nth-child(-n+3){grid-column:auto;}
.ea-form-group{margin-bottom:16px;}
.ea-form-group input{padding:13px 15px; font-size:15px;}
.ea-form-group textarea{height:64px; min-height:48px; padding:12px 15px; font-size:15px;}
.ea-label{font-size:13.5px; margin-bottom:6px;}
.ea-check{margin:0 0 14px; font-size:15px;}
.ea-demo{padding:18px 20px; margin:0 0 16px;}
.ea-demo-heading{font-size:22px; margin-bottom:4px;}
.ea-demo-intro{font-size:13.5px; margin-bottom:12px;}
.ea-privacy{font-size:12.5px; margin:0 0 4px;}
.ea-form-footer{margin-top:6px;}
.ea-submit{padding:17px 34px;}
.ea-cancel{padding:17px 4px;}
@media (max-width:640px){
  .ea-checklist{grid-template-columns:1fr;}
  #earlyAccessForm{grid-template-columns:1fr;}
  #earlyAccessForm > .ea-form-group:nth-child(-n+3){grid-column:1 / -1;}
}
.ea-modal-inner{margin:auto 0;}
.ea-modal{padding-top:clamp(36px, 6vh, 80px); padding-bottom:clamp(28px, 4vh, 60px);}
.ea-demo .pick-expect{display:none;}
.ea-demo .pick-summary{margin:10px 0 0;}
.ea-demo{padding:16px 20px;}

/* =====================================================================
   Reference colour theme (from the CYRA visual preview styles.css)
   ink #211f1a · body #55534d · cream #f7f4ef · paper #fdfcf9 · line #d9d4cd
   coral #af573c · sage #c7d7cf · lavender #dcd8e9 · sand #e7ddd0
   ===================================================================== */
html[data-theme="dark"]{--accent:#d68566;}
.section-card{--accent:#af573c; --text:#211f1a; --text-muted:#55534d; --border:rgba(33,31,26,.16); --bg-card:rgba(253,252,249,.62);}
:focus-visible{outline:3px solid #6353bd; outline-offset:4px;}

/* Buttons: ink, not pure black */
.btn-cyan, .submit-btn, .ea-submit{background:#211f1a; color:#fff;}
.btn-cyan:hover, .submit-btn:hover, .ea-submit:hover{background:#444137;}

/* Platform – sage section, dark module panels with coral icons */
#projects .project-card::before{border-color:#99afa3;}
#projects .project-card .icon-wrap{background:#373832; position:relative;}
#projects .project-card .icon-wrap svg{color:#dc926e; position:relative; z-index:1;}
#projects .project-card .icon-wrap::before, #projects .project-card .icon-wrap::after{
  content:""; position:absolute; left:50%; top:50%; border:1px solid #56594c; border-radius:50%;
  width:96px; height:96px; transform:translate(-50%,-50%);
}
#projects .project-card .icon-wrap::after{width:128px; height:128px; opacity:.45;}
#projects .card-status{color:#211f1a; border:1px solid #839d8d; border-radius:2px; font-weight:600;}
#projects .project-features li, #projects .project-card p.card-desc{color:#36453c;}
#projects .project-card p.card-desc{color:#211f1a;}
#projects .project-features svg{color:#af573c;}
#projects .section-note{color:#43584b;}

/* About – sand panel */
#about .about-box{border-color:#c4b9a9;}

/* How it works – lavender section */
#education .hiw-node{background:rgba(247,245,252,.6); border-color:#8e879f; box-shadow:0 5px 0 rgba(169,161,187,.13);}
#education .hiw-node-main{background:rgba(247,245,252,.8);}
#education .hiw-node svg, #education .hiw-node-main svg{color:#211f1a;}
#education .hiw-node small{color:#625d70;}
#education .hiw-arrow{background:#8e879f;}
#education .hiw-arrow::after{border-left-color:#8e879f;}
@media (max-width:760px){ #education .hiw-arrow::after{border-top-color:#8e879f; border-left-color:transparent;} }
#education .hiw-step{border-top-color:#aaa3ba;}
#education .hiw-num{color:#686074;}
#education .hiw-step p{color:#4d485b;}
#education .hiw-note{color:#655d73;}

/* Contact – warm grey section, paper fields */
#contact .form-group input, #contact .form-group textarea, #contact .form-group select{background-color:#faf9f5; border-color:#c9c6bc;}
#contact .form-group input:focus, #contact .form-group textarea:focus, #contact .form-group select:focus{border-color:#211f1a; outline:none;}

/* Early access popup – paper background, cream panel */
.ea-modal{background:#fdfcf9;}
.ea-modal-inner, .ea-heading, .ea-demo-heading{color:#211f1a;}
.ea-text{color:#55534d;}
.ea-checklist li{color:#211f1a;}
.ea-clarify, .ea-privacy, .ea-required-note{color:#726c61;}
.ea-modal-close{background:#fff; border-color:#d9d4cd;}
.ea-modal-close:hover{background:#f7f4ef;}
.ea-form-group input, .ea-form-group textarea, .ea-demo select, .ea-demo input[type="date"]{background-color:#fff; border-color:#c9c6bc;}
.ea-form-group input:focus, .ea-form-group textarea:focus{border-color:#211f1a;}
.ea-demo{background:#f7f4ef; border-color:#d9d4cd;}
.ea-check input{accent-color:#211f1a;}

/* Chat + footer */
.chat-msg.user{background:#211f1a;}
footer.site-footer{border-top-color:var(--border);}
html[data-theme="dark"] #home .btn-cyan{background:#f7f4ef; color:#211f1a;}
html[data-theme="dark"] #home .btn-cyan:hover{background:#e7ddd0;}

/* CYRA logo icon stays brand purple */
.logo-svg .logo-symbol{fill:#7C3AED;}
html[data-theme="dark"] .logo-svg .logo-symbol{fill:#9467f2;}

/* =====================================================================
   Unified cream + muted-purple theme (from "The problem" screenshot)
   cream bg #f7f4ef · ink #1d1b18 · body #55534d · purple #5e5185
   lavender card #efecf3 · dark card #3d3550 · lilac on dark #c9bde6
   ===================================================================== */
:root, html[data-theme="light"], .section-card{--accent:#5e5185;}
html[data-theme="dark"]{--accent:#b7a8e0;}

/* Every section uses the Home background, with a hairline between sections */
.card-tan, .card-sage, .card-lavender, .card-rose{background:#f7f4ef;}
main > section + section{border-top:1px solid #e4dfd7;}
html[data-theme="dark"] .card-tan, html[data-theme="dark"] .card-sage,
html[data-theme="dark"] .card-lavender, html[data-theme="dark"] .card-rose{background:#f7f4ef;}

/* Text colours */
.section-card{--text:#1d1b18; --text-muted:#55534d; --border:#e4dfd7; --bg-card:#ffffff;}
.hero-badge, .hiw-eyebrow, .ea-eyebrow{color:#5e5185;}
html[data-theme="dark"] .hero-badge{color:#b7a8e0;}

/* About */
#about .about-box{border-color:#d9d3e3;}
#about .about-box-mark path{fill:#5e5185;}

/* Platform: white cards, dark purple panels with lilac icons */
#projects .project-card{background:#ffffff; border-radius:10px;}
#projects .project-card::before{border-color:#e4dfd7; border-radius:10px;}
#projects .project-card .icon-wrap{background:#3d3550;}
#projects .project-card .icon-wrap svg{color:#c9bde6;}
#projects .project-card .icon-wrap::before, #projects .project-card .icon-wrap::after{border-color:#5a4f72;}
#projects .card-status{color:#5e5185; border-color:#bdb3d3; background:#efecf3;}
#projects .project-features li{color:#55534d;}
#projects .project-features svg{color:#5e5185;}
#projects .section-note{color:#55534d;}
.project-card .icon-wrap svg circle[fill]{fill:#3d3550;}

/* How it works: lavender nodes, dark purple main node */
#education .hiw-node{background:#ffffff; border-color:#d9d3e3; box-shadow:0 4px 0 rgba(94,81,133,.08);}
#education .hiw-node-main{background:#efecf3; border-color:#bdb3d3;}
#education .hiw-node svg, #education .hiw-node-main svg{color:#5e5185;}
#education .hiw-node strong{color:#1d1b18;}
#education .hiw-node small{color:#6b6480;}
#education .hiw-arrow{background:#bdb3d3;}
#education .hiw-arrow::after{border-left-color:#8e84a8;}
@media (max-width:760px){ #education .hiw-arrow::after{border-top-color:#8e84a8; border-left-color:transparent;} }
#education .hiw-step{border-top-color:#d9d3e3;}
#education .hiw-num{color:#5e5185;}
#education .hiw-step p, #education .hiw-note{color:#55534d;}

/* Contact */
#contact .form-group input, #contact .form-group textarea, #contact .form-group select{background-color:#ffffff; border-color:#ddd8d0;}
#contact .form-group input:focus, #contact .form-group textarea:focus, #contact .form-group select:focus{border-color:#5e5185;}

/* Early access popup */
.ea-modal{background:#f7f4ef;}
.ea-demo{background:#efecf3; border-color:#d9d3e3;}
.ea-checklist svg{color:#5e5185;}
.ea-form-group input:focus, .ea-form-group textarea:focus{border-color:#5e5185;}
.ea-check input{accent-color:#5e5185;}
.ea-modal-close:hover{background:#efecf3;}

/* Chat + misc */
.chat-toggle{background:#5e5185;}
.chat-toggle:hover{background:#4b416c;}
.chat-msg.user{background:#3d3550;}
:focus-visible{outline-color:#5e5185;}
::selection{background:#c9bde6; color:#1d1b18;}

/* Buttons: dark purple primary, soft lavender secondary */
.btn-cyan, .submit-btn, .ea-submit{background:#3d3550; color:#ffffff; border:1px solid #3d3550;}
.btn-cyan:hover, .submit-btn:hover, .ea-submit:hover{background:#2c2640; border-color:#2c2640;}
.btn-cyan.btn-soft, .ea-cancel{background:#efecf3; color:#5e5185; border:1px solid #bdb3d3;}
.btn-cyan.btn-soft:hover, .ea-cancel:hover{background:#e2dcec; color:#4b416c; opacity:1;}
.ea-cancel{padding:17px 28px;}
html[data-theme="dark"] #home .btn-cyan{background:#c9bde6; color:#1d1b18; border-color:#c9bde6;}
html[data-theme="dark"] #home .btn-cyan:hover{background:#b7a8e0; border-color:#b7a8e0;}

/* Contact + footer share one screen */
footer.site-footer{padding:20px 240px 20px 74px; min-height:92px; box-sizing:border-box;}
footer.site-footer .footer-note{margin-top:12px !important;}
#contact.section-card{
  min-height:calc(100vh - 92px); box-sizing:border-box; display:flex; align-items:center;
  padding-top:calc(85px + clamp(12px, 3vh, 48px)); padding-bottom:clamp(16px, 3vh, 40px);
}
@media (min-width:901px) and (max-height:820px){
  #contact.section-card{padding-top:92px; padding-bottom:12px;}
  #contact h3{font-size:44px;}
  #contact h4{font-size:22px; margin-bottom:16px;}
  #contact .form-group{margin-bottom:12px;}
  #contact .form-group textarea{height:76px;}
  #contact p.pick-expect{display:none;}
  #contact p.form-privacy{margin-bottom:10px;}
}
@media (max-width:900px){
  #contact.section-card{min-height:auto; padding-top:70px; padding-bottom:40px;}
  footer.site-footer{padding:22px 20px 130px;}
}

@media (min-width:901px){ footer.site-footer{padding-left:100px;} }
