/* ===== Base theme ===== */
:root{
  --bg:#EEE7E3;
  --ink:#121417;
  --muted:#5a5f66;
  --border:#d6cfc9;
  --radius:14px;
  --container:1200px;}
*{box-sizing:border-box;}
html,body{
  max-width: 100%;
  overflow-x: hidden; 
}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}

/* layout */
.container{width:min(var(--container),92%);margin-inline:auto;}
.section{padding:80px 0;}
.grid{display:grid;gap:24px;}
.eyebrow{letter-spacing:.18em;text-transform:uppercase;font-size:.8rem;color:var(--muted);}
.headline{font-size:clamp(28px,2.6vw + 8px,44px);line-height:1.08;margin:.4rem 0 .6rem;}
.sub{font-size:1.05rem;color:var(--muted);max-width:62ch;}

/* header */
.hdr{position:sticky;top:0;z-index:50;background:var(--bg);border-bottom:1px solid var(--border);}
.hdr .bar{display:flex;align-items:center;gap:20px;padding:14px 0;}
.logo{font-weight:800;letter-spacing:.2px;}
.crumb{color:var(--muted);}
.spacer{flex:1;}
.btn{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:0px;font-weight:700;border:1px solid var(--ink);color:var(--ink);background:transparent;text-decoration:none;transition:background .15s ease,color .15s ease;}
.btn:hover{background:var(--ink);color:#fff;}

/* hero */
.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:stretch;}
.card{background:#fff;border:1px solid var(--border);border-radius:0px;}
.card.pad{padding:28px;}

/* stats */
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--border);margin-top:20px;}
.stat{padding:14px 0;}
.stat .num{font-weight:800;}
.stat .lbl{color:var(--muted);font-size:.95rem;}

/* forms */
.hero-form{display:grid;gap:14px;}
label{font-size:.9rem;color:var(--muted);display:block;}
input,textarea{width:100%;margin-top:6px;padding:12px 12px;border:1px solid var(--border);border-radius:0px;background:#fff;color:#121417;outline:none;}
textarea{min-height:110px;resize:vertical;}
input:focus,textarea:focus{border-color:#bcb4ad;}
.submit{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;height:40px;border-radius:0px;border:1px solid var(--ink);background:var(--ink);color:#fff;font-weight:800;cursor:pointer;}
.row-2{display:grid;grid-template-columns:1fr 1fr;gap:12px;}

/* chips */
.chips{display:flex;flex-wrap:wrap;gap:8px;}
.chip{font-size:.86rem;padding:6px 10px;border-radius:0px;background:#f7f4f1;border:1px solid var(--border);color:#333;}

/* intro (What is Red Team) */
.intro-card{position:relative;background:#fff;border:1px solid var(--border);border-radius:0px;
  padding:24px;box-shadow:0 8px 24px rgba(0,0,0,.05);max-width:800px;margin-inline:auto;text-align:justify;}
.intro-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;border-radius:6px 0 0 6px;
  background:linear-gradient(180deg,var(--ink),rgba(18,20,23,.45));opacity:.9;}
.intro-card .sub + ul{margin-top:10px;}
.intro-card ul{padding-left:18px;}
@media(min-width:980px){.intro-card{padding:28px 32px;}}
/* Intro card: let the main paragraph span the full card width
   (bulleted list keeps the 62ch width) */
.intro-card > p.sub { 
  max-width: none;
}


/* steps grid (service flow) */
.steps-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
.step{min-height:160px;}


/* OWASP grid */
.owasp-grid{grid-template-columns:repeat(5,minmax(0,1fr));}
.owasp h4{margin:.2rem 0 .35rem;}

/* What you get — compact 3-up grid */
.features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}

/* make the cards shorter and tighter */
.feature.card.pad{padding:18px 20px;}
.feature{border-radius:0px;box-shadow:0 1px 0 rgba(0,0,0,.04);}
.feature h4{margin:4px 0 10px;}
.feat-list{margin:6px 0 0;padding-left:18px;list-style:disc;}
.feat-list li{margin:6px 0;color:var(--muted);}

/* responsive */
@media(max-width:1100px){.features{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px){.features{grid-template-columns:1fr;}}

/* Contact (end) */
.contact-card{border-radius:0px;}
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:22px;align-items:start;}
.contact-bullets{margin-top:8px;line-height:1.8;}
.contact-bullets li{margin:4px 0;}

/* Actions row: consent + submit */
.form-actions{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:16px;}
.form-actions .agree{margin:0;display:flex;align-items:center;gap:8px;}
.form-actions .agree input{accent-color:var(--ink);}

/* Responsiveness */
@media(max-width:1100px){
  .hero{grid-template-columns:1fr;}
  .stats{grid-template-columns:repeat(2,1fr);}
  .owasp-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .steps-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .features{grid-template-columns:repeat(2,minmax(0,1fr));}
  .contact-grid{grid-template-columns:1fr;}
}
@media(max-width:700px){
  .row-2{grid-template-columns:1fr;}
  .owasp-grid{grid-template-columns:1fr;}
  .steps-grid{grid-template-columns:1fr;}
  .features{grid-template-columns:1fr;}
  .form-actions{flex-direction:column;align-items:flex-start;}
  .form-actions .submit{width:100%;}
}


/* --- Process cards: shadow + hover liveness + icons --- */
.step{border-radius:0px;box-shadow:0 2px 8px rgba(0,0,0,.04);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.step:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,.10);border-color:#cfc7c1;}
.step-head{display:flex;align-items:center;gap:12px;margin:0 0 8px;}
.step-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:0px;background:#f7f4f1;border:1px solid var(--border);color:var(--ink);}
.step-icon svg{width:20px;height:20px;}


/* --- "What you get" cards: shadow + hover + icons --- */
.feature{border-radius:0px;box-shadow:0 2px 8px rgba(0,0,0,.04);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.feature:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,.10);border-color:#cfc7c1;}
.feat-head{display:flex;align-items:center;gap:12px;margin:0 0 8px;}
.feat-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:0px;background:#f7f4f1;border:1px solid var(--border);color:var(--ink);}
.feat-icon svg{width:20px;height:20px;}
.feat-list{margin:6px 0 0;padding-left:18px;list-style:disc;}
.feat-list li{margin:6px 0;color:var(--muted);}


/* OWASP cards: shadow + hover + 'View' link */
.owasp{display:flex;flex-direction:column;}
.owasp h4{margin-bottom:6px;}
.owasp p.sub{margin-bottom:0;}
.owasp:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,.10);border-color:#cfc7c1;background:#fff;}
.owasp .view{margin-top:auto;padding-top:12px;color:var(--muted);font-weight:600;font-size:.95rem;text-decoration:none;border-bottom:none;opacity:.85;}
.owasp .view::after{content:"→";font-weight:900;line-height:1;}
.owasp .view:hover{border-bottom-color:var(--ink);}

/* --- Section separators (subtle line between sections) --- */
.section{position:relative;}
.section + .section{padding-top:72px;}
.section + .section::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:min(var(--container),92%);height:1px;background:linear-gradient(90deg,rgba(0,0,0,0) 0%,#dcd4ce 12%,#dcd4ce 88%,rgba(0,0,0,0) 100%);pointer-events:none;}
@media(max-width:700px){.section + .section{padding-top:56px;}}

/* faq */
.faq details{background:#fff; border:1px solid var(--border); border-radius:0px; padding:14px 16px; margin:10px 0}
summary{cursor:pointer; list-style:none; font-weight:700}
summary::-webkit-details-marker{display:none}
details p{color:var(--muted); margin:.6rem 0 0}

.faq-hint{color:var(--muted);font-size:.92rem;margin:2px 0 12px;}
.faq details{transition:border-color .15s ease,box-shadow .15s ease;}
.faq details:hover{border-color:#bcb4ad;box-shadow:0 4px 14px rgba(0,0,0,.04);}
.faq details[open]{border-color:#bcb4ad;}
.faq details > summary{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.faq details > summary::after{content:"▸";flex:0 0 auto;opacity:.6;transform:translateY(1px) rotate(0deg);transition:transform .15s ease,opacity .15s ease;}
.faq details[open] > summary::after{transform:translateY(1px) rotate(90deg);opacity:.9;}
.faq details > summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:0px;}

/* nav and footer */

body{
    margin:0; background:var(--bg); color:var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
  .logo { position: absolute; width: 130px; height: 168px; left: 131px; top: 20px; object-fit: contain; }
/* Header: logo image next to title */
.and-logo img{
  display: block;
  height: 90px; /* 8px top/bottom breathing room */
  width: 250px;                        /* keep aspect ratio */
  object-fit: contain;                /* no cropping */
}

/* layout */
.container{width:min(var(--container),92%); margin-inline:auto}
.section{padding:80px 0}
.grid{display:grid; gap:24px}
.eyebrow{letter-spacing:.18em; text-transform:uppercase; font-size:.8rem; color:var(--muted)}
.headline{font-size:clamp(28px,2.6vw + 8px,44px); line-height:1.08; margin:.4rem 0 .6rem}
.sub{font-size:1.05rem; color:var(--muted); max-width:62ch}

/* header */
.hdr{position:sticky; top:0; z-index:50; background:var(--bg); border-bottom:1px solid var(--border)}
.hdr .bar{display:flex; align-items:center; gap:20px; padding:14px 0}
.logo{font-weight:800; letter-spacing:.2px}
.crumb{color:var(--muted)}
.spacer{flex:1}
.btn{
    display:inline-flex; align-items:center; gap:8px; height:40px;
    padding:0 14px; border-radius:0px; font-weight:700;
    border:1px solid var(--ink); color:var(--ink); background:transparent;
    text-decoration:none; transition:background .15s ease, color .15s ease;
}
.btn:hover{background:var(--ink); color:#fff}

.top-bar { position: fixed; width: 1121px; height: 43px; left: 274px; top: 67px; filter: drop-shadow(0px 4px 4px #000000); z-index: 1000; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; height: 100px; }
.top-bar.hidden { opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }
.top-bar nav { flex: 1; display: flex; align-items: center; height: 100%; margin-left: 32px; }
.top-bar nav ul { display: flex; gap: 48px; list-style: none; margin: 0; padding: 0; align-items: center; height: 100%; }
nav ul li { font-family: 'Inter', Arial, sans-serif; font-size: 18px; font-weight: 500; color: #fff; cursor: pointer; text-transform: uppercase; letter-spacing: 0.08em; transition: color 0.2s; height: 100%; display: flex; align-items: center; padding: 0 8px; position: relative; }
nav ul li:hover { color: #007aff; }
.nav-links { position: relative; width: 100%; height: 100%; }
.nav-links ul { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: absolute; top: 73px; height: 31px; font-family: 'Inter', sans-serif; font-style: normal; font-weight: 500; font-size: 18px; line-height: 22px; color: #FFFFFF; text-decoration: none; text-transform: uppercase; cursor: pointer; border-bottom: 2px solid transparent; padding-bottom: 4px; transition: border-color 0.3s ease; }
.nav-item:hover { border-bottom: 2px solid #fff; }
.nav-line { position: absolute; left: 1135px; top: 70px; width: 1px; height: 22px; background-color: #FFFFFF; }

/* ===  NAV + MOBILE SHEET + FOOTER (glass header) === */
:root { --nav-h: 56px; }
/* Push content below fixed header */
body { padding-top: var(--nav-h); }
/* Header (glass) */
.and-header { position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: rgba(0,0,0,.30); -webkit-backdrop-filter: saturate(150%) blur(10px); backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid rgba(255,255,255,.15); }
.and-row { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); padding-right: 0; }
@media (min-width: 768px) {
  .and-row { justify-content: flex-start; }
  .and-divide > * + * { border-left: 1px solid rgba(255,255,255,.20); }
}

/* Logo + name */
.and-logo { display: flex; align-items: center; gap: 12px; padding: 0 12px; color: #fff; text-decoration: none; }
/* Desktop menu */
.and-menu { display: none; }
@media (min-width: 768px) { .and-menu { display: flex; align-items: center; gap: 32px; padding: 0 16px; flex: 1; } }
.and-menu a { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.and-plus { margin-left: 8px; font-size: 18px; line-height: 1; }
/* "We're Hiring" (sm+) */
.and-hire { display: none; color: #fff; text-decoration: none; }
@media (min-width: 640px) { .and-hire { display: flex; align-items: center; padding: 0 16px; } }

/* Black hamburger (iOS-safe) */
.and-hamb { margin-left: auto; width: var(--nav-h); height: var(--nav-h); background: #000; color: #fff; border: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; appearance: none; -webkit-appearance: none; outline: none; box-shadow: none; }
.and-hamb svg{ width:24px; height:24px; display:block; }

/* Navbar dividers: full-height lines next to Logo|Menu and Hire|Hamburger */
@media (min-width: 768px){
  .and-row{ align-items: stretch; }                 /* children fill bar height */
  .and-divide > *{ display:flex; align-items:center; position:relative; }

  /* turn OFF the old short borders */
  .and-divide > * + *{ border-left: none !important; }

  /* draw full-height lines only before the Menu and Hire blocks */
  .and-divide > .and-menu::before,
  .and-divide > .and-hire::before{
    content:"";
    position:absolute;
    left:0; top:0; bottom:0;                       /* full height of the bar */
    width:1px;
    background: rgba(255,255,255,.35);
  }
}

/* Mobile sheet */
.and-sheet-wrap { position: fixed; inset: 0; z-index: 95; pointer-events: none; overflow: hidden; }
.and-sheet-wrap.open { pointer-events: auto; }
.and-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .3s ease; }
.and-sheet-wrap.open .and-backdrop { opacity: 1; }
.and-sheet { position: absolute; left: 20px; right: 20px; top: 20px; bottom: 20px; background: #000; color: #fff; border-radius: 0px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 60px rgba(0,0,0,.3); transform: translateY(-20px); opacity: 0; transition: transform .3s ease, opacity .3s ease; overflow: hidden; }
.and-sheet-wrap.open .and-sheet{ transform:none; opacity:1; }
/* === Show the menu from the RIGHT on all screens === */
.and-sheet { left: auto !important; right: 12px !important; top: 12px !important; bottom: 12px !important; width: min(92vw, 480px); transform: translateX(110%); transition: transform .32s cubic-bezier(.22,.61,.36,1), opacity .25s ease; } /* start off-canvas right */
.and-sheet-wrap.open .and-sheet { transform: translateX(0); opacity: 1; } /* slide in from right */
.and-sheet-top { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
.and-close { width: 40px; height: 40px; background: transparent; color: #fff; border: 0; border-radius: 8px; appearance: none; -webkit-appearance: none; outline: none; box-shadow: none; margin-left: auto;}
.and-close:hover {
  background: rgba(255, 255, 255, 0.16);
}
.and-list { overflow: auto; max-height: calc(100% - var(--nav-h)); }
.and-list a { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 600; font-size: 20px; color: #fff; text-decoration: none; }
.and-list a:hover{ background:rgba(255,255,255,.05); }

/* Footer */
.and-footer{ margin-top:80px; background:#000; color:#fff; }
.and-foot-wrap{ max-width:1200px; margin:0 auto; padding:0 20px; }
.and-foot-logo{ display:flex; flex-direction:column; align-items:center; padding:40px 0 12px; }
.and-foot-logo img{ width:196px; height:196px; object-fit:contain; }
.and-foot-name{ margin-top:8px; font-size:14px; letter-spacing:0.35em; }
.and-foot-grid { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }

@media (min-width:768px){ .and-foot-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
.and-foot-grid h5{ font-size:12px; font-weight:700; letter-spacing:.16em; color:rgba(255,255,255,.7); margin:0; }
.and-foot-grid ul{ margin:10px 0 0; padding:0; list-style:none; }
.and-foot-grid li{ margin:8px 0; }
.and-foot-grid a{ color:#fff; opacity:.9; text-decoration:none; }
.and-foot-grid a:hover{ opacity:1; text-decoration:underline; }
.and-foot-div{ border-top:1px solid rgba(255,255,255,.1); }
.and-copy{ text-align:center; padding:14px 0; font-size:14px; color:rgba(255,255,255,.7); }
.and-legal{ display:flex; flex-wrap:wrap; justify-content:center; gap:16px; padding:0 0 28px; font-size:12px; color:rgba(255,255,255,.6); }
.and-legal a{ color:inherit; text-decoration:none; }
.and-legal a:hover{ color:#fff; }

/* ── Mobile footer clean-up ─────────────────────────────────────────── */
@media (max-width: 900px){
  .site-footer { padding: 28px 16px calc(24px + env(safe-area-inset-bottom)); overflow-x: hidden; } /* tighter vertical rhythm; prevent any stray sideways scroll */
  .footer-container { width: min(640px, 94vw); margin: 0 auto; gap: 24px; align-items: center; text-align: center; } /* keep content centered/narrower; was 40px */
  .footer-logo img { width: 110px; height: auto; } /* smaller logo on phones */
  .footer-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; width: 100%; text-align: left; } /* compact grid for link columns on mobile; smaller gap */
  .footer-column { min-width: 0; }
  .footer-column h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: .08em; color: #bbb; }
  .footer-column ul li { margin: 0 0 6px; }
  .footer-column ul li a, .contact-email { font-size: 14px; white-space: normal; word-break: break-word; } /* allow wrapping; avoid overflow on long addresses */
  .footer-bottom { margin-top: 18px; padding-top: 14px; font-size: 12.5px; }
}

/* --- Mobile arrow tweaks --- */
@media (max-width: 900px){
  /* Move the DOWN arrow to the left on mobile */
  .arrow-btn { right: 5px; bottom: 15%; } /* was right-aligned; keep it comfortably above the edge */
  /* Hide any UP arrows on mobile (hero or mission) */
  .arrow-btn.up, .mission .arrow-btn.up, .mission--glass .arrow-btn.up, .mission-desktop .arrow-btn.up { display: none !important; }
}

/* footer section */
.site-footer { background: #000; color: #fff; padding: 60px 40px 40px; font-family: 'Inter', sans-serif; }
.footer-container { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 1200px; margin: 0 auto; gap: 40px; }
.footer-logo img { width: 140px; height: auto; }
.footer-columns { display: flex; justify-content: center; flex-wrap: wrap; text-align: left; gap: 60px; }
.footer-column h4 { font-size: 14px; text-transform: uppercase; margin-bottom: 12px; text-align: left; font-weight: 600; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 8px; }
.footer-column ul li a, .contact-email { color: #fff; text-decoration: none; font-size: 16px; transition: color 0.3s ease; }
.footer-column ul li a:hover, .contact-email:hover { color: #007aff; }
.footer-bottom { border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: #aaa; text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* Top quick-contact (hero) – make the CTA smaller */
.hero-form .submit{
  width: auto;            /* stop filling the grid track */
  place-self: start;      /* align top/left inside the grid cell */
  padding: 8px 12px;      /* tighter */
  height: 34px;           /* shorter */
  font-size: .95rem;      /* slightly smaller type */
  border-radius: 0px;     /* (optional) a bit of rounding */
}

/* even tighter on small phones (optional) */
@media (max-width: 480px){
  .hero-form .submit{
    padding: 7px 10px;
    height: 32px;
    font-size: .9rem;
  }
}
/* 1) Sticky footer for either footer variant used in this project */
body{
  min-height: 100vh;                         /* fill viewport */
  min-height: 100svh;                        /* better on mobile browser UI */
  min-height: 100dvh;                        /* dynamic viewport on iOS/Android */
  display: flex;
  flex-direction: column;
}

/* Footer should stick to bottom when content is short */
.site-footer { margin-top: auto; }
.container{width:min(var(--container),92%);margin-inline:auto;}
.section{padding:80px 0;}
.grid{display:grid;gap:24px;}
.eyebrow{letter-spacing:.18em;text-transform:uppercase;font-size:.8rem;color:var(--muted);}
.headline{font-size:clamp(28px,2.6vw + 8px,44px);line-height:1.08;margin:.4rem 0 .6rem;}
.sub{font-size:1.05rem;color:var(--muted);max-width:62ch;}

/* --- 3D drop shadows for cards --- */
:root{
  /* Layered shadow tokens (subtle depth on rest, stronger on hover) */
  --elev-1: 0 1px 0 rgba(0,0,0,.02),
            0 6px 12px rgba(17,23,31,.08),
            0 22px 40px -16px rgba(17,23,31,.16);
  --elev-2: 0 2px 0 rgba(0,0,0,.03),
            0 12px 24px rgba(17,23,31,.12),
            0 46px 80px -28px rgba(17,23,31,.24);
}

/* Base elevation on all cards used across the page */
.card,
.w-card,
.ai-card,
.tier{
  box-shadow: var(--elev-1);
  transform: translateZ(0);                /* creates its own layer for smoother anim */
  transition: transform .18s ease, box-shadow .22s ease;
}

/* Lift + deepen shadow on hover/focus */
.card:hover, .card:focus-within,
.w-card:hover, .w-card:focus-within,
.ai-card:hover, .ai-card:focus-within,
.tier:hover, .tier:focus-within{
  transform: translateY(-2px);
  box-shadow: var(--elev-2);
}

/* Motion-friendly fallback */
@media (prefers-reduced-motion: reduce){
  .card, .w-card, .ai-card, .tier{
    transition: box-shadow .22s ease;
  }
  .card:hover, .w-card:hover, .ai-card:hover, .tier:hover{
    transform: none;
  }
}
/* Optional heavier cast shadow */
.card.e3d{
  box-shadow:
    0 2px 0 rgba(0,0,0,.03),
    0 16px 32px rgba(17,23,31,.14),
    0 60px 90px -40px rgba(17,23,31,.28);
}

/* Make the mobile sheet a column layout */
.and-sheet{
  display:flex;
  flex-direction:column;
}

/* Top bar: only the close button, aligned right */
.and-sheet-top{
  height: var(--nav-h);
  display:flex;
  align-items:center;
  justify-content:flex-end;   /* was space-between */
  padding: 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

/* List should take remaining space and scroll */
.and-list{
  flex:1;
  overflow:auto;
  max-height: none;           /* override earlier rule */
}

/* Bottom logo area */
.and-sheet-bottom{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px 20px;
  border-top:1px solid rgba(255,255,255,.12);
}
.and-sheet-bottom img{
  max-width: 220px;   /* adjust as you like */
  height:auto;
  opacity:.95;
}


/* What you get: 3 cards with "+" between (HTML-based, desktop only) */
.features-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
}
.features-row .feature {
  flex: 1 1 0;
}
.feat-plus {
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: rgba(18,20,23,.35);
  line-height: 1;
}

/* kill the old auto "+" rules */
.features .feature::after,
.features::before,
.features::after {
  content: none !important;
}

/* mobile/tablet: stack, show "+" between cards */
@media (max-width: 900px) {
  .features-row {
    flex-direction: column;
    gap: 14px;
  }
  .feat-plus {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    font-size: 26px;
    line-height: 1;
  }
}
