/* vyreliano.com - magazine layout: full-bleed hero + overlapping card, zigzag article with device-framed figures. White + logo teal + mint, Nunito Sans */
:root{
  --teal:#0C4748;
  --mint:#4CA29B;
  --mint-ink:#2F7F78;
  --teal-700:#0A383A;
  --mint-50:#EAF5F3;
  --text:#1A1D2B;
  --muted:#596079;
  --line:#E4E6EE;
  --tint:#F3F9F8;
  --white:#FFFFFF;
  --font:"Nunito Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --r:16px;
  --r-sm:10px;
  --r-btn:8px;
  --wrap:1180px;
  --shadow:0 18px 50px rgba(26,29,43,.10),0 2px 8px rgba(26,29,43,.05);
  /* aliases used by contact-form.css */
  --ink:#1A1D2B;
  --rule:#E4E6EE;
}
*,*::before,*::after{box-sizing:border-box}
html,body{overflow-x:hidden;max-width:100%}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--text);font-family:var(--font);font-size:17px;font-weight:400;line-height:1.7}
img{max-width:100%;height:auto;display:block}
a{color:var(--teal)}
a:hover{color:var(--teal-700)}
h1,h2,h3{margin:0 0 .5em;color:var(--text);font-family:var(--font);font-weight:800;line-height:1.25}
h3{font-size:19px}
p{margin:0 0 1em}
strong,b{font-weight:700}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 32px}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 24px;border-radius:var(--r-btn);font-family:var(--font);font-weight:700;font-size:16px;line-height:1.2;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.btn svg{width:18px;height:18px;flex:none}
.btn-primary{background:var(--teal);color:var(--white)}
.btn-primary:hover{background:var(--teal-700);color:var(--white)}
.btn-ghost{background:var(--white);color:var(--text);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--teal);color:var(--teal)}
.btn-small{min-height:44px;padding:10px 18px;font-size:15px}

/* Topbar + header (sits on white, nothing below it) */
.topbar{background:var(--white);color:var(--muted);text-align:center;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:6px 16px;border-bottom:1px solid var(--line)}
.site-header{position:static;background:var(--white)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px;padding-bottom:16px}
.brand{display:inline-flex}
.brand img{height:54px;width:auto}

/* Hero: full-bleed image + overlapping white card */
.hero{position:relative;padding:0 0 32px}
.hero-banner{position:relative;margin:0;width:100%}
.hero-banner img{width:100%;height:520px;object-fit:cover;border-radius:0}
.hero-banner figcaption{position:absolute;right:32px;bottom:24px;max-width:340px;font-size:13px;line-height:1.5;color:var(--white);background:rgba(26,29,43,.62);padding:8px 12px;border-radius:8px}
.hero-grid{position:relative;z-index:2}
.hero-text{max-width:760px;margin:-140px 0 0 4%;background:var(--white);border-radius:var(--r);box-shadow:var(--shadow);padding:32px}
.hero h1{font-size:clamp(30px,3.8vw,46px);line-height:1.15;margin-bottom:14px}
.hero h1 span{display:block;color:var(--mint-ink)}
.hero-date{margin:0 0 10px;font-size:14px;font-weight:600;color:var(--muted)}
.hero-sub{font-size:18px;color:var(--muted);margin-bottom:18px}
.hero-chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:0}
.hero-chips li{font-size:14px;font-weight:600;color:var(--mint-ink);background:var(--mint-50);padding:4px 12px;border-radius:999px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}

/* Reading nav */
.reading-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px;padding-top:12px;padding-bottom:12px;font-size:15px}
.reading-nav a{color:var(--text);font-weight:700;text-decoration:none;border-bottom:2px solid var(--mint-50)}
.reading-nav a:hover{color:var(--teal);border-color:var(--teal)}

/* Article: magazine rhythm */
.story{padding:40px 0 72px}
.story h2{font-size:clamp(24px,2.6vw,32px);margin-bottom:16px}
.story h3{font-size:22px;margin-bottom:16px}
.story-lead{max-width:820px;margin:0 0 48px}
.story-lead .lead{font-size:21px;line-height:1.6;color:var(--text)}
.story-lead p{color:var(--muted)}
/* text-only bands: CSS columns with hairline rule */
.story-band,.story-pair{padding:48px 0;border-top:1px solid var(--line)}
.cols-2,.cols-3,.colset{columns:2;column-gap:56px;column-rule:1px solid var(--line);color:var(--muted)}
.cols-3{columns:3;column-gap:44px}
.cols-2 p,.cols-3 p{margin:0 0 1em;break-inside:avoid}
.cols-3 strong{color:var(--text)}
.colset>*{break-inside:avoid}
.colset .story-sub p{margin:0}
.colset .callout{margin:0;display:inline-flex;width:100%}
/* zigzag figure rows */
.story-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center;padding:56px 0;border-top:1px solid var(--line)}
.story-row .figure{order:-1}
.story-row.flip .figure{order:2}
.story-text p{color:var(--muted)}
.story-text p:last-child{margin-bottom:0}
.figure{margin:0}
.figure img{width:100%;border-radius:var(--r);aspect-ratio:4/3;object-fit:cover}
.figure.tall img{aspect-ratio:1/1}
.figure figcaption{font-size:14px;color:var(--muted);margin-top:10px;padding-left:12px;border-left:2px solid var(--mint)}
.callout{display:flex;gap:14px;align-items:flex-start;background:var(--mint-50);border-radius:var(--r-sm);padding:20px 22px;margin:0 0 48px}
.callout p{margin:0;font-size:16px;color:var(--muted)}
.callout strong{color:var(--text)}
.callout-icon{flex:none;width:24px;height:24px;color:var(--mint);margin-top:2px}
.callout-icon svg{width:24px;height:24px;display:block}
.closing{padding-bottom:0}

/* Device trio: three columns, teal top border */
.trio-band{padding:72px 0;border-top:1px solid var(--line)}
.trio-head{max-width:680px;margin-bottom:36px}
.trio-head h2{font-size:clamp(24px,2.8vw,34px)}
.trio-head p{margin:0;color:var(--muted)}
.trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}
.trio-card{border-top:3px solid var(--teal);padding:22px 0 0}
.trio-card h3{display:flex;align-items:center;gap:10px;font-size:20px;margin-bottom:12px}
.trio-card h3 svg{width:26px;height:26px;color:var(--mint);flex:none}
.trio-card ul{margin:0;padding-left:20px}
.trio-card li{padding:3px 0;font-size:16px;color:var(--muted)}
.trio-card li::marker{color:var(--mint)}
.trio-cta{margin-top:36px}

/* Features: centered icon cards */
.features{padding:80px 0;background:var(--tint)}
.section-head{max-width:640px;margin:0 auto 40px;text-align:center}
.section-head h2{font-size:clamp(24px,2.8vw,34px)}
.section-head p{color:var(--muted);margin:0}
.bento{display:flex;flex-wrap:wrap;justify-content:center;gap:24px}
.tile{flex:0 1 calc((100% - 48px)/3);background:var(--white);border:1px solid var(--line);border-radius:var(--r);padding:32px 28px;text-align:center}
.tile .ico{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--mint-50);color:var(--teal);margin:0 auto 18px}
.tile .ico svg{width:28px;height:28px}
.tile h3{font-size:19px;margin-bottom:8px}
.tile p{margin:0;font-size:16px;color:var(--muted)}

/* Steps: icon circles on a dashed line */
.steps{padding:80px 0}
.steps-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:48px}
.steps-intro h2{font-size:clamp(24px,2.8vw,34px)}
.steps-intro p{margin:0;color:var(--muted)}
.step-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
.step-cards li{position:relative;text-align:center}
.step-cards li:not(:last-child)::after{content:"";position:absolute;top:36px;left:calc(50% + 44px);width:calc(100% - 56px);border-top:2px dashed var(--mint);opacity:.55}
.step-ico{position:relative;z-index:1;width:72px;height:72px;margin:0 auto 20px;border-radius:50%;background:var(--white);border:2px solid var(--teal);color:var(--teal);display:grid;place-items:center}
.step-ico svg{width:28px;height:28px}
.step-body h3{font-size:18px;margin-bottom:6px}
.step-body p{margin:0;font-size:16px;color:var(--muted)}

/* FAQ: 2-column grid of bordered cards */
.faq{padding:72px 0 80px;border-top:1px solid var(--line)}
.faq-head{margin-bottom:32px}
.faq-head h2{font-size:clamp(24px,2.8vw,34px)}
.faq-head p{color:var(--muted);margin:0}
.faq-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;align-items:start}
.faq-list details{border:1px solid var(--line);border-radius:12px;background:var(--white);transition:border-color .15s}
.faq-list details[open]{border-color:var(--teal)}
.faq-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:16px 20px;font-weight:700;font-size:17px;color:var(--text)}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"";flex:none;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C4748' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/20px no-repeat;transition:transform .2s}
.faq-list details[open] summary::after{transform:rotate(45deg)}
.faq-list summary:hover{color:var(--teal)}
.answer{padding:0 20px 18px;color:var(--muted)}
.answer p{margin:0}

/* Bottom CTA: full-width soft mint band */
.cta{background:var(--mint-50);padding:64px 0 48px}
.cta-split{display:flex;justify-content:space-between;align-items:center;gap:48px}
.cta-split>div:first-child{max-width:700px}
.cta h2{font-size:clamp(24px,2.8vw,34px)}
.cta-split p{margin:0;color:var(--muted)}
.cta-action{flex:none}
.disclaimer-note{max-width:720px;margin:40px auto 0;padding-top:24px;border-top:1px solid rgba(76,162,155,.15);text-align:center;font-size:13px;line-height:1.65;color:var(--muted)}

/* Footer: one compact row + identity line */
.site-footer{background:var(--white);color:var(--muted);padding:28px 0 24px;border-top:1px solid var(--line);font-size:14px}
.footer-top{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px}
.footer-top img{height:36px;width:auto}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 20px}
.footer-links a{color:var(--text);text-decoration:none;font-weight:600;padding:8px 0;display:inline-block}
.footer-links a:hover{color:var(--teal)}
.copyright{margin:0;font-size:13px;white-space:nowrap}
.footer-identity{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 0;margin-top:14px;padding-top:14px;border-top:1px solid var(--line);font-size:13px}
.footer-identity p{margin:0}
.footer-identity p+p::before{content:"\00B7";margin:0 10px;color:var(--muted)}

/* Subpages: tinted title band + overlapping white card */
.doc-hero{background:var(--mint-50);padding:56px 0 120px;text-align:center}
.doc-hero h1{font-size:clamp(30px,4vw,44px);max-width:22ch;margin:0 auto 12px}
.doc-hero p{font-size:18px;color:var(--muted);max-width:60ch;margin:0 auto}
.doc-band{padding:0 0 80px}
.doc{max-width:820px;margin:-80px auto 0;position:relative;background:var(--white);border-radius:var(--r);box-shadow:var(--shadow);padding:44px 52px}
.doc h2{font-size:22px;margin:36px 0 12px}
.doc h2:first-child,.doc .updated+h2{margin-top:0}
.doc h3{font-size:17px}
.doc p,.doc li{color:var(--muted)}
.doc ul{padding-left:22px}
.doc li{margin-bottom:8px}
.doc li::marker{color:var(--mint)}
.updated{font-size:14px;color:var(--muted);margin-bottom:24px}
.contact-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}
.contact-card{background:var(--tint);border:1px solid var(--line);border-radius:12px;padding:18px 20px}
.contact-card h3{font-size:16px;color:var(--text);margin-bottom:4px}
.contact-card p{margin:0;color:var(--muted);overflow-wrap:anywhere}
.cform{background:var(--tint)}
.cform-steps{list-style:disc}
.cform-actions .btn{background:var(--teal);border-radius:var(--r-btn);min-height:48px}
.cform-actions .btn:hover{background:var(--teal-700)}
.cform-input:focus-visible{outline-color:var(--teal)}
.cform-panel{border-radius:var(--r)}

/* Responsive */
@media (max-width:1024px){
  .tile{flex-basis:calc((100% - 24px)/2)}
  .step-cards{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:40px}
  .step-cards li::after{display:none}
  .cols-3{columns:1}
  .footer-top{grid-template-columns:1fr;justify-items:center;text-align:center}
}
@media (max-width:820px){
  .wrap{padding:0 16px}
  .hero{padding-bottom:16px}
  .hero-banner img{height:300px}
  .hero-banner figcaption{display:none}
  .hero-text{margin:-40px 0 0;padding:24px 20px}
  .hero-actions .btn{flex:1 1 100%}
  .story{padding:24px 0 48px}
  .story-row{grid-template-columns:1fr;gap:24px;padding:36px 0}
  .story-row .figure,.story-row.flip .figure{order:0}
  .story-band,.story-pair{padding:36px 0}
  .cols-2,.colset{columns:1}
  .colset .story-sub{margin-bottom:20px}
  .trio{grid-template-columns:1fr;gap:28px}
  .trio-band,.features,.steps,.faq{padding:52px 0}
  .faq-list{grid-template-columns:1fr}
  .cta{padding:44px 0 36px}
  .cta-split{flex-direction:column;align-items:stretch;gap:24px}
  .cta .btn{width:100%}
  .doc-hero{padding:40px 0 80px}
  .doc{margin-top:-48px;padding:28px 20px}
  .contact-cards{grid-template-columns:1fr}
  .footer-identity{flex-direction:column;align-items:center;text-align:center}
  .footer-identity p+p::before{display:none}
}
@media (max-width:560px){
  .tile{flex-basis:100%}
  .step-cards{grid-template-columns:1fr}
  .brand img{height:44px}
  .site-header .btn-small{padding:8px 12px;font-size:14px}
  .trio-cta .btn,.steps-intro .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ===== Multi-screen device system (v c) ===== */
:root{--bezel:#14161F;--bezel-2:#262A38;--metal:#C9CEDA}
.site-header{border-bottom:1px solid var(--line)}

/* hero device row */
.hero-devices{display:flex;align-items:center;gap:6px;margin:0 0 16px}
.hero-devices span{width:36px;height:36px;border-radius:50%;background:var(--mint-50);color:var(--teal);display:grid;place-items:center}
.hero-devices svg{width:19px;height:19px}
.hero-devices i{display:block;width:16px;border-top:2px dotted rgba(76,162,155,.4)}

/* device stage shared by the three room figures */
.device .dev-stage{position:relative;display:grid;place-items:center;padding:44px 36px;border-radius:20px;border:1px solid var(--line);background-color:var(--tint);background-image:radial-gradient(rgba(76,162,155,.13) 1px,transparent 1.3px);background-size:18px 18px}
.device .dev-stage::before{content:"";position:absolute;inset:18% 14%;border-radius:50%;background:radial-gradient(closest-side,rgba(76,162,155,.10),transparent);pointer-events:none}
.device img{border-radius:0;aspect-ratio:auto}
.device figcaption{margin-top:14px}

/* monitor */
.dev-monitor{position:relative;width:100%;max-width:500px;display:flex;flex-direction:column;align-items:center}
.dev-screen{position:relative;width:100%;background:var(--bezel);padding:10px 10px 24px;border-radius:14px;box-shadow:0 24px 50px rgba(20,22,31,.22),inset 0 0 0 1px rgba(255,255,255,.06)}
.dev-screen::after{content:"";position:absolute;left:50%;bottom:9px;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:#3A3F52}
.device .dev-screen img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:4px}
.dev-neck{width:60px;height:46px;background:linear-gradient(90deg,#B4BAC9,#DDE1EA 50%,#B4BAC9);clip-path:polygon(20% 0,80% 0,90% 100%,10% 100%)}
.dev-foot{width:190px;height:10px;border-radius:8px 8px 3px 3px;background:linear-gradient(#D6DAE4,var(--metal));box-shadow:0 10px 20px rgba(20,22,31,.16)}

/* phone */
.dev-phone{position:relative;width:236px;aspect-ratio:9/19;padding:10px;background:var(--bezel);border-radius:42px;box-shadow:0 28px 54px rgba(20,22,31,.26),inset 0 0 0 2px var(--bezel-2)}
.dev-phone::before,.dev-phone::after{content:"";position:absolute;width:3px;border-radius:2px;background:var(--bezel-2)}
.dev-phone::before{right:-3px;top:28%;height:64px}
.dev-phone::after{left:-3px;top:22%;height:40px}
.device .dev-phone img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;border-radius:33px}
.dev-notch{position:absolute;top:20px;left:50%;transform:translateX(-50%);width:78px;height:22px;border-radius:999px;background:var(--bezel);z-index:2}

/* headset lens */
.dev-vr{position:relative;z-index:0;width:100%;max-width:520px;padding:16px;background:linear-gradient(180deg,var(--bezel-2),var(--bezel));border-radius:110px/80px;box-shadow:0 26px 52px rgba(20,22,31,.24)}
.dev-strap{position:absolute;z-index:-1;top:50%;left:-26px;right:-26px;height:16px;margin-top:-8px;border-radius:8px;background:#3A3F52}
.dev-lens{overflow:hidden;border-radius:96px/68px}
.device .dev-lens img{width:100%;aspect-ratio:2/1;object-fit:cover;object-position:50% 30%}
.dev-bridge{position:absolute;left:50%;bottom:16px;width:104px;height:40px;margin-left:-52px;border-radius:52px 52px 0 0;background:var(--bezel);box-shadow:0 0 0 3px var(--bezel-2)}
.dev-vr::after{content:"";position:absolute;left:50%;top:16px;bottom:56px;width:2px;margin-left:-1px;background:rgba(20,22,31,.5)}

/* screen-size visual in the side-by-side band */
.screen-sizes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:44px;align-items:end;justify-items:center;margin:8px 0 32px;padding:28px 24px 0;border-bottom:2px solid var(--line)}
.ss{display:grid;place-items:center;background:linear-gradient(160deg,var(--white),var(--mint-50));border:2px solid var(--teal);color:var(--teal);margin-bottom:-2px;box-shadow:0 10px 24px rgba(76,162,155,.08)}
.ss span{width:44px;height:44px;border-radius:50%;background:var(--mint-50);display:grid;place-items:center}
.ss svg{width:22px;height:22px}
.ss-wide{width:min(100%,232px);aspect-ratio:16/9;border-radius:10px}
.ss-tall{width:74px;aspect-ratio:9/16;border-radius:16px}
.ss-vr{width:min(100%,216px);aspect-ratio:2.5/1;border-radius:999px}

/* trio cards */
.trio-card{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:var(--r);padding:30px 28px 28px;background:var(--white);transition:border-color .15s,box-shadow .15s}
.trio-card:hover{border-color:rgba(76,162,155,.35);box-shadow:var(--shadow)}
.trio-card h3 svg{display:none}
.trio-card h3,.trio-card ul{position:relative}
.trio-ico{display:grid;place-items:center;width:72px;height:72px;margin:0 0 20px;border-radius:50%;background:var(--teal);color:var(--white);box-shadow:0 0 0 8px var(--mint-50)}
.trio-ico svg{width:34px;height:34px}
.trio-art{position:absolute;right:-30px;top:-26px;width:180px;height:180px;color:var(--teal);opacity:.08;pointer-events:none}
.trio-art svg{width:100%;height:100%;stroke-width:.7}

/* CTA device stack */
.cta-split>div.cta-copy{max-width:780px;display:flex;align-items:center;gap:28px}
.cta-devices{display:flex;flex:none}
.cta-devices span{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--white);color:var(--teal);border:3px solid var(--mint-50);box-shadow:0 8px 20px rgba(76,162,155,.14)}
.cta-devices span+span{margin-left:-12px}
.cta-devices svg{width:26px;height:26px}

@media (max-width:1024px){
  .screen-sizes{column-gap:20px}
}
@media (max-width:820px){
  .device .dev-stage{padding:28px 16px}
  .dev-phone{width:200px;border-radius:36px;padding:8px}
  .device .dev-phone img{border-radius:29px}
  .dev-notch{top:16px;width:64px;height:18px}
  .dev-vr{padding:10px;border-radius:70px/52px}
  .dev-lens{border-radius:62px/44px}
  .dev-bridge{bottom:10px;width:60px;height:22px;margin-left:-30px}
  .dev-vr::after{top:10px;bottom:32px}
  .dev-strap{left:-12px;right:-12px;height:12px;margin-top:-6px}
  .dev-foot{width:130px}
  .dev-neck{height:32px;width:46px}
  .screen-sizes{column-gap:12px;padding:20px 8px 0}
  .ss span{width:34px;height:34px}
  .ss svg{width:18px;height:18px}
  .ss-tall{width:48px}
  .cta-split>div.cta-copy{flex-direction:column;align-items:flex-start;gap:18px}
}
