/* HBOT Dive Master. No outside fonts or scripts, so the site never contacts anyone but itself. */
:root{
  --depth:#12324d; --depth-2:#1c4566; --paper:#f4f7f8; --white:#fff;
  --ink:#1d2733; --muted:#55636f; --o2:#1b8a86; --gauge:#e0a526; --line:#cfd9de;
  --head: Bahnschrift, "DIN Alternate", "Franklin Gothic Medium", "Nimbus Sans Narrow", "Arial Narrow", sans-serif;
  --body: Seravek, "Gill Sans Nova", Ubuntu, Calibri, "DejaVu Sans", "Segoe UI", sans-serif;
}
*{box-sizing:border-box}
html{scroll-padding-top:1rem}
body{margin:0;background:var(--paper);color:var(--ink);font:1.0625rem/1.6 var(--body)}
img{max-width:100%;height:auto;display:block}
a{color:var(--depth-2)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--gauge);outline-offset:2px}
h1,h2,h3,h4{font-family:var(--head);font-weight:600;line-height:1.15;letter-spacing:.005em;color:var(--depth)}
h1{font-size:clamp(2.1rem,5vw,3.4rem);margin:0 0 .5em}
h2{font-size:clamp(1.5rem,3vw,2.1rem);margin:2.2em 0 .6em}
h3{font-size:1.25rem;margin:1.6em 0 .4em}
p,li{max-width:68ch}
.wrap{max-width:1120px;margin:0 auto;padding:0 1.25rem}
.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;background:#fff;padding:.5rem;z-index:9}

/* Header */
.site-head{background:var(--depth);border-bottom:1px solid rgba(255,255,255,.12)}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.6rem;padding-bottom:.6rem}
.logo img{height:110px;width:auto;max-width:100%}
.nav{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;font-family:var(--head);font-size:.98rem}
.nav a{text-decoration:none;color:#dbe6ee;padding:.35rem 0;border-bottom:3px solid transparent}
.nav a:hover{border-color:rgba(255,255,255,.35);color:#fff}
.nav a[aria-current]{border-color:var(--gauge);color:#fff}
@media (max-width:820px){
  .logo img,.site-foot .logo-foot img{height:80px}
  .site-head .wrap{flex-direction:column;align-items:flex-start}
  .nav{overflow-x:auto;flex-wrap:nowrap;width:100%;padding-bottom:.25rem}
  .nav a{white-space:nowrap}
}

/* Hero with the dive profile */
.hero{background:var(--depth);color:#e6eef3;position:relative;overflow:hidden;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:40px 40px}
.hero .wrap{padding-top:4rem;padding-bottom:3rem;position:relative}
.hero h1{color:#fff;max-width:15ch}
.hero p{font-size:1.2rem;max-width:46ch}
.profile{width:100%;height:auto;margin-top:1.5rem}
.profile .trace{fill:none;stroke:var(--o2);stroke-width:4;stroke-linejoin:round;stroke-linecap:round;
  stroke-dasharray:1600;stroke-dashoffset:1600;animation:draw 3.2s ease-out .3s forwards}
.profile .mark{fill:var(--gauge);opacity:0;animation:show .4s ease-out forwards}
.profile text{fill:#9fb6c6;font:24px var(--head)}
.profile .axis{stroke:rgba(255,255,255,.25);stroke-width:1}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes show{to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  .profile .trace{animation:none;stroke-dashoffset:0}
  .profile .mark{animation:none;opacity:1}
}
.btn{display:inline-block;background:var(--gauge);color:var(--depth);font:600 1.05rem var(--head);
  text-decoration:none;padding:.75rem 1.4rem;border-radius:4px;border:0;cursor:pointer}
.btn:hover{background:#f0b938}
.btn.ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.6);margin-left:.5rem}

/* Page heads */
.page-head{background:var(--depth);color:#dbe6ee;border-bottom:6px solid var(--o2)}
.page-head .wrap{padding-top:2.75rem;padding-bottom:2.25rem}
.page-head h1{color:#fff;margin:0}
.page-head p{margin:.6rem 0 0;font-size:1.15rem}

main{padding-bottom:4rem}
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:2rem}
.shot{margin:2rem 0;border:1px solid var(--line);background:#fff;padding:.5rem}
figure figcaption{font-size:.95rem;color:var(--muted);padding:.5rem .25rem 0}

/* Editions: the left rule gets thicker as the edition goes "deeper" */
.edition{border-left:4px solid var(--o2);padding:0 0 0 1.5rem;margin:3rem 0}
.edition.pro{border-left-width:8px}
.edition.ent{border-left-width:12px;border-left-color:var(--depth-2)}
.edition h2{margin-top:0}
.edition .lead{font-size:1.15rem;color:var(--muted);margin-top:-.3rem}
.groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:0 2rem}
ul.checks{list-style:none;padding:0}
ul.checks li{padding-left:1.6rem;position:relative;margin:.35rem 0}
ul.checks li::before{content:"✓";position:absolute;left:0;color:var(--o2);font-weight:700}
.note{background:#fff;border:1px solid var(--line);border-left:6px solid var(--gauge);padding:1rem 1.25rem;margin:2rem 0}
.quote{font-size:1.2rem;font-style:italic;border-left:4px solid var(--o2);padding-left:1.25rem;margin:1.5rem 0}

/* Then-vs-now rows (security page) */
.vs{margin:1rem 0 1.5rem}
.vs .q{font-family:var(--head);font-weight:600;color:var(--depth);margin:1rem 0 .2rem}
.vs p{margin:.1rem 0}
.vs .bad::before{content:"✗ ";color:#b3422f;font-weight:700}
.vs .good::before{content:"✓ ";color:var(--o2);font-weight:700}

/* Pricing tiers */
.tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;margin:2.5rem 0}
.tier{background:#fff;border-top:6px solid var(--o2);padding:1rem}
.tier:nth-child(2){border-top-color:var(--depth-2)}
.tier:nth-child(3){border-top-color:var(--depth)}
.tier img{width:100%;aspect-ratio:3/2;object-fit:cover;background:var(--paper)}
.tier h3{margin:.75rem 0 .2rem}
.tier p{margin:0;color:var(--muted)}
.price{font:600 1.1rem var(--head);color:var(--o2)}

/* Resources */
.shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem}
.shots figure{margin:0;background:#fff;border:1px solid var(--line);padding:.5rem}
.videos{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}
.videos figure{margin:0}
.videos video{width:100%;background:#0d2234;aspect-ratio:16/9}
.dl{display:inline-block;margin:.5rem 0;font-family:var(--head);font-weight:600}

/* Contact */
.form{background:#fff;border:1px solid var(--line);padding:1.5rem;max-width:640px;position:relative}
.form label{display:block;font-family:var(--head);font-weight:600;margin:1rem 0 .3rem}
.form input,.form textarea{width:100%;font:inherit;padding:.6rem .7rem;border:1px solid #9fb0bb;border-radius:3px;background:#fff}
.form textarea{min-height:9rem}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form button{margin-top:1.25rem}
@media (max-width:560px){.form .row{grid-template-columns:1fr}}
.hp{position:absolute;left:-5000px}
.status{padding:.8rem 1rem;margin:0 0 1rem;border-radius:3px;display:none}
.status.sent{display:block;background:#e3f3f1;border:1px solid var(--o2)}
.status.error{display:block;background:#fbeee9;border:1px solid #b3422f}
.demo{display:grid;grid-template-columns:160px 1fr;gap:1.5rem;align-items:start;margin:2rem 0}
@media (max-width:560px){.demo{grid-template-columns:1fr}}

/* Footer */
.site-foot{background:var(--depth);color:#c9d7e1;padding:2.5rem 0;font-size:.98rem}
.site-foot .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1.5rem;align-items:center}
.site-foot a{color:#fff}
.site-foot .logo-foot{display:block}
.site-foot .logo-foot img{height:110px;width:auto;max-width:100%}
.site-foot p{margin:.2rem 0}

/* Blog */
.post-card{border-bottom:1px solid var(--line);padding:1.75rem 0}
.post-card h2{margin:0 0 .3rem;font-size:clamp(1.3rem,2.5vw,1.7rem)}
.post-card h2 a{text-decoration:none;color:var(--depth)}
.post-card h2 a:hover{text-decoration:underline}
.meta{color:var(--muted);font-size:.95rem;margin:0 0 .6rem}
.article{max-width:72ch}
.article h2{font-size:1.5rem}
.article pre{background:#fff;border:1px solid var(--line);border-left:6px solid var(--o2);padding:1rem;overflow-x:auto;font-size:.9rem;line-height:1.5;white-space:pre-wrap}
.article blockquote{border-left:4px solid var(--o2);margin:1.5rem 0;padding-left:1.25rem}

/* Homepage: compact hero, text beside the dive profile on wide screens */
.hero .hero-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:2rem;align-items:center;padding-top:2.25rem;padding-bottom:2rem}
.hero h1{font-size:clamp(1.9rem,4vw,2.8rem);margin-bottom:.35em;max-width:16ch}
.hero p{margin:.4rem 0}
.hero-btns{margin-top:1rem!important}
.hero .profile{margin-top:0}
@media (max-width:860px){.hero .hero-grid{grid-template-columns:1fr;gap:1rem}}
.home-shot{max-width:860px;margin:1.5rem auto 0}
h2.center{text-align:center;margin:2rem 0 1rem}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:1rem;max-width:780px;margin:0 auto}
.pair img{width:100%;aspect-ratio:481/415;object-fit:cover}
.three{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:0 2rem;margin-top:1.5rem}
.three h3{margin-top:1rem}
.home-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}
.home-cta h3{margin:0}
