/* Mail Smartly site styles. One accent colour (Outlook blue) on a warm white base. */
:root{
  --blue:#0F6CBD; --blue-dark:#0B4F8C; --blue-soft:#E6F0FA;
  --ink:#0E1B2E; --text:#1F2937; --muted:#5B6472; --line:#E5E7EB;
  --bg:#FAFAF7; --card:#FFFFFF; --yellow:#FFD400;
  --radius:18px; --shadow:0 10px 30px rgba(14,27,46,.08);
  --font-head:"Plus Jakarta Sans",system-ui,"Segoe UI",sans-serif;
  --font-body:"Inter",system-ui,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{font-family:var(--font-head);color:var(--ink);line-height:1.15;margin:0 0 .5em;letter-spacing:-.01em}
h1{font-size:clamp(2.2rem,5vw,3.6rem);font-weight:800}
h2{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800}
h3{font-size:1.15rem;font-weight:700}
p{margin:0 0 1em}
.wrap{max-width:1140px;margin:0 auto;padding:0 20px}
.section{padding:72px 0}
.section.tight{padding:48px 0}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:.85rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.lead{font-size:1.2rem;color:var(--muted)}
.center{text-align:center}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:10px;padding:14px 24px;border-radius:999px;font-weight:700;font-family:var(--font-head);font-size:1rem;border:2px solid transparent;transition:transform .15s,box-shadow .15s,background .15s;cursor:pointer}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 8px 20px rgba(15,108,189,.28)}
.btn-primary:hover{background:var(--blue-dark)}
.btn-ghost{background:#fff;color:var(--ink);border-color:var(--line)}
.btn-ghost:hover{border-color:var(--ink)}
.btn-yt{background:#FF0000;color:#fff;box-shadow:0 8px 20px rgba(255,0,0,.22)}
.btn-yt:hover{background:#d90000}
.btn svg{width:20px;height:20px;fill:currentColor}

/* Header */
.header{position:sticky;top:0;z-index:50;background:rgba(250,250,247,.88);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px;position:relative}
.brand{display:flex;align-items:center;gap:12px;font-family:var(--font-head);font-weight:800;font-size:1.3rem;color:var(--ink);letter-spacing:-.01em}
.brand:hover{text-decoration:none}
.brand em{font-style:normal;color:var(--blue)}
.brand-mark{width:40px;height:40px;flex:0 0 40px}
.nav-links{display:flex;align-items:center;gap:28px;list-style:none;margin:0;padding:0}
.nav-links a{color:var(--text);font-weight:600}
.nav-links a.active{color:var(--blue)}
.nav-links .btn{padding:10px 18px;font-size:.95rem;color:#fff}
.nav-toggle{display:none;background:none;border:0;padding:8px;cursor:pointer}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--ink);margin:5px 0;border-radius:2px}

/* Hero */
/* Full-screen hero: the photo fills the viewport, copy sits on the left */
.hero{position:relative;min-height:calc(100vh - 72px);display:flex;align-items:center;overflow:hidden;background:#f3f1ec}
.hero-bg{display:block;position:absolute;inset:0;z-index:0}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:72% 30%}
.hero::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,rgba(250,250,247,.92) 0%,rgba(250,250,247,.75) 32%,rgba(250,250,247,0) 58%)}
.hero-inner{position:relative;z-index:1;width:100%;padding-top:48px;padding-bottom:64px}
.hero-copy{max-width:600px}
.hero-copy h1{margin-top:18px}
.hero-copy .lead{max-width:34rem;margin-bottom:28px;color:#3b4452}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.hero-scroll{position:absolute;z-index:1;left:50%;bottom:22px;transform:translateX(-50%);width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.9);border:1px solid var(--line);display:grid;place-items:center;color:var(--ink);box-shadow:var(--shadow)}
.hero-scroll svg{width:24px;height:24px;fill:currentColor}
.hero-scroll:hover{transform:translate(-50%,4px)}
.mvp-pill{display:inline-flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 14px 6px 6px;font-weight:700;font-size:.9rem;color:var(--ink);box-shadow:var(--shadow)}
.mvp-pill img{height:30px;width:auto;border-radius:6px}
.hero-badge small{display:block;font-family:var(--font-body);font-weight:500;color:var(--muted);font-size:.8rem}

/* Proof strip */
.proof{background:var(--ink);color:#fff}
.proof-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:34px 0}
.proof-item{text-align:center;border-left:1px solid rgba(255,255,255,.12)}
.proof-item:first-child{border-left:0}
.proof-num{font-family:var(--font-head);font-size:2rem;font-weight:800;color:#fff;line-height:1.1}
.proof-label{color:rgba(255,255,255,.7);font-size:.95rem;margin-top:4px}

/* Video grid */
.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}
.section-head p{margin:0;color:var(--muted)}
.videos{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.video{background:var(--card);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line);color:var(--ink);transition:transform .15s}
.video:hover{transform:translateY(-3px);text-decoration:none}
.video-thumb{position:relative;aspect-ratio:16/9;background:#e9eef5;overflow:hidden}
.video-thumb img{width:100%;height:100%;object-fit:cover}
.video-thumb .play{position:absolute;inset:0;display:grid;place-items:center}
.video-thumb .play span{width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.video-thumb .play svg{width:22px;height:22px;fill:var(--blue);margin-left:3px}
.video-body{padding:16px 18px 18px}
.video-body h3{margin:0 0 6px;font-size:1.05rem}
.video-body time{color:var(--muted);font-size:.9rem}

/* Topic cards */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}
.card .icon{width:48px;height:48px;border-radius:12px;background:var(--blue-soft);color:var(--blue);display:grid;place-items:center;margin-bottom:16px}
.card .icon svg{width:24px;height:24px;fill:currentColor}
.card p{color:var(--muted);margin:0}

/* Newsletter */
.newsletter{background:linear-gradient(135deg,var(--blue) 0%,var(--blue-dark) 100%);color:#fff;border-radius:28px;padding:56px;display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;box-shadow:0 20px 50px rgba(15,108,189,.3)}
.newsletter h2{color:#fff}
.newsletter p{color:rgba(255,255,255,.85)}
.kit-form{display:grid;gap:12px}
.kit-form input{width:100%;padding:15px 18px;border-radius:12px;border:0;font-size:1rem;font-family:var(--font-body)}
.kit-form button{width:100%;justify-content:center;background:var(--yellow);color:var(--ink);box-shadow:none}
.kit-form button:hover{background:#ffdf33}
.kit-form small{color:rgba(255,255,255,.7);text-align:center}

/* About teaser and About page */
.about-teaser .wrap{max-width:760px}
.about-teaser .lead{margin-bottom:28px}
.about-hero{max-width:820px;padding:72px 20px 24px}
.about-hero>*,.hero-grid>*,.about-teaser>*,.newsletter>*{min-width:0}
.about-hero .lead{margin-bottom:22px}
.prose{max-width:46rem}
.prose h2{margin-top:2em}
.prose h2:first-child{margin-top:0}
.mvp-block{display:grid;grid-template-columns:auto 1fr;gap:28px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);margin:28px 0}
.mvp-block img{width:220px;border-radius:12px}
.mvp-block p{margin:0;color:var(--muted)}
.mvp-block h3{margin-bottom:6px}
.facts{list-style:none;padding:0;margin:0 0 1.5em;display:grid;gap:10px}
.facts li{display:flex;gap:12px;align-items:flex-start}
.facts li::before{content:"";flex:0 0 10px;height:10px;margin-top:10px;border-radius:50%;background:var(--blue)}
.links{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;list-style:none;padding:0;margin:0}
.links a{display:flex;align-items:center;gap:14px;padding:18px 20px;background:var(--card);border:1px solid var(--line);border-radius:14px;color:var(--ink);font-weight:600;box-shadow:var(--shadow)}
.links a:hover{border-color:var(--blue);text-decoration:none}
.links svg{width:24px;height:24px;fill:var(--blue);flex:0 0 24px}
.links small{display:block;font-weight:400;color:var(--muted);font-size:.85rem}

/* Footer */
.footer{border-top:1px solid var(--line);padding:40px 0;color:var(--muted);font-size:.95rem}
.footer-grid{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;align-items:center}
.footer p{margin:0}
.social{display:flex;gap:10px;list-style:none;margin:0;padding:0}
.social a{width:42px;height:42px;border-radius:50%;background:#fff;border:1px solid var(--line);display:grid;place-items:center;color:var(--ink)}
.social a:hover{border-color:var(--blue);color:var(--blue)}
.social svg{width:20px;height:20px;fill:currentColor}

/* Responsive */
.nav-links .btn{white-space:nowrap}
@media (max-width:900px){
  .nav-links{display:none;position:absolute;left:0;right:0;top:72px;background:var(--bg);border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;padding:16px 20px 20px;gap:16px;box-shadow:var(--shadow)}
  .nav-links.open{display:flex}
  .nav-toggle{display:block}
}
@media (max-width:960px){
  .hero-bg img{object-position:78% 30%}
  .hero::after{background:linear-gradient(90deg,rgba(250,250,247,.94) 0%,rgba(250,250,247,.82) 45%,rgba(250,250,247,.25) 75%)}
  .videos,.cards{grid-template-columns:repeat(2,1fr)}
  .newsletter{grid-template-columns:1fr;padding:40px 28px}
  .about-hero{padding-top:40px}
  .proof-grid{grid-template-columns:repeat(2,1fr)}
  .proof-item:nth-child(3){border-left:0}
  .proof-item{padding:8px 0}
}
@media (max-width:760px){
  /* phone and small tablet: photo on top, copy underneath (matches the hero-mobile.jpg switch) */
  .hero{min-height:0;display:block;background:var(--bg)}
  .hero-bg{position:relative;height:auto;aspect-ratio:1/1}
  .hero-bg img{object-position:50% 30%}
  .hero::after{display:none}
  .hero-inner{padding-top:28px;padding-bottom:40px}
  .hero-scroll{display:none}
}
@media (max-width:640px){
  body{font-size:16px}
  .section{padding:52px 0}
  .videos,.cards,.links{grid-template-columns:1fr}
  .hero-actions .btn{width:100%;justify-content:center}
  .hero-bg{aspect-ratio:4/5}
  .brand{font-size:1.1rem}
  .mvp-block{grid-template-columns:1fr}
  .mvp-block img{width:180px}
  .section-head{flex-direction:column;align-items:flex-start}
  .newsletter{padding:32px 20px;border-radius:20px}
}
