/* securityscanner.us, the company's own site: a software development company, said plainly. What the company builds is
   shown as it is: real pictures of its three products, on the web, on the desktop and on the phone.
   Type: Archivo, one family, condensed for display and regular for text. One accent colour. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --band: #edf2f6;
  --ink: #12284b;
  --ink-2: #4c5d7a;
  --ink-soft: #1c3763;
  --rule: #d5dde7;
  --rule-band: #c3cedb;
  --accent: #2a6be6;
  --accent-on-ink: #8fb4ff;
  --on-ink: #aebbd2;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 420;
  font-stretch: 100%;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p,
li,
dd {
  text-wrap: pretty;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.wrap {
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 650;
  border-radius: 4px;
}
.skip:focus {
  top: 12px;
}

/* ---- display type: the same family, drawn narrow and heavy ---- */
h1,
h2,
h3,
.mail {
  font-stretch: 68%;
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.005em;
  margin: 0;
}

/* ---- top ---- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 18px;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 720;
  font-stretch: 84%;
  text-decoration: none;
  white-space: nowrap;
}
.logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  background: var(--ink);
  color: #fff;
  border-radius: 7px;
  font-size: 21px;
  font-weight: 800;
  font-stretch: 70%;
  line-height: 1;
}
.top nav {
  display: flex;
  gap: clamp(16px, 2.6vw, 34px);
  font-size: 15.5px;
  font-weight: 560;
}
.top nav a {
  text-decoration: none;
  padding: 6px 0;
}
.top nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* ---- hero: what the company does, and its products as they look ---- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 12fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(20px, 4vw, 52px);
  padding-bottom: clamp(52px, 7vw, 100px);
}
h1 {
  font-size: clamp(50px, 7.2vw, 98px);
  line-height: 0.93;
}
.hero-say p {
  margin: clamp(20px, 2.6vw, 30px) 0 0;
  max-width: 31em;
  font-size: clamp(17.5px, 1.5vw, 19.5px);
}
.hero-go {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: clamp(22px, 3vw, 34px);
}
.btn {
  display: inline-block;
  padding: 13px 22px;
  background: var(--ink);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  border-radius: 4px;
}
.btn:hover {
  background: var(--ink-soft);
}
.more {
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* a picture of a product in its own window: a browser page, an app, a phone */
.frame {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #c6d0dc;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(18, 40, 75, 0.08), 0 22px 44px -18px rgba(18, 40, 75, 0.34);
}
.frame img {
  display: block;
  width: 100%;
  height: auto;
}
.frame .bar {
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  background: #f1f4f8;
  border-bottom: 1px solid #d9e0e9;
}
.frame .bar span {
  padding: 2px 10px;
  background: #fff;
  border: 1px solid #d9e0e9;
  border-radius: 99px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-2);
}
.frame.phone {
  border: 7px solid #0f1f3a;
  border-radius: 28px;
}

.show {
  margin: 0;
}
.show-stage {
  position: relative;
  aspect-ratio: 6 / 5;
}
.show-stage .frame {
  position: absolute;
}
.show-stage .web {
  left: 0;
  top: 0;
  width: 84%;
}
.show-stage .app {
  right: 0;
  bottom: 0;
  width: 70%;
}
.show-stage .phone {
  left: 4%;
  bottom: 0;
  width: 23%;
}
.show figcaption {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ---- sections ---- */
section {
  padding: clamp(56px, 8vw, 116px) 0;
}
h2 {
  font-size: clamp(40px, 5.4vw, 72px);
}
.lede {
  margin: 16px 0 0;
  max-width: 36em;
  font-size: clamp(17.5px, 1.5vw, 19.5px);
  color: var(--ink-2);
}
.band {
  background: var(--band);
}

/* what we do: two crafts side by side under one rule */
.crafts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(30px, 4vw, 56px);
  border-top: 2px solid var(--ink);
}
.craft {
  padding: 34px clamp(20px, 4vw, 56px) 0 0;
}
.craft + .craft {
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: 0;
  border-left: 1px solid var(--rule-band);
}
h3 {
  font-size: clamp(27px, 2.8vw, 36px);
  font-stretch: 76%;
  line-height: 1.05;
}
.craft p {
  margin: 12px 0 0;
  max-width: 32em;
}
.craft ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  font-size: 16px;
}
.craft li {
  padding: 11px 0;
  border-top: 1px solid var(--rule-band);
}

/* products: the picture, then the name, what it is and where it runs */
.rows {
  margin-top: clamp(30px, 4vw, 56px);
  border-top: 2px solid var(--ink);
}
.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(34px, 4.5vw, 60px) 0;
  border-bottom: 1px solid var(--rule);
}
.row .frame {
  box-shadow: 0 1px 2px rgba(18, 40, 75, 0.08), 0 16px 34px -18px rgba(18, 40, 75, 0.3);
}
.row h3 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-stretch: 68%;
}
.kind {
  margin: 8px 0 0;
  font-size: 16.5px;
  line-height: 1.4;
  color: var(--ink-2);
}
.desc {
  margin: 18px 0 0;
  max-width: 34em;
}
.runs {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  gap: 10px 18px;
  margin: 22px 0 0;
  font-size: 15.5px;
}
.runs dt {
  font-size: 14px;
  color: var(--ink-2);
}
.runs dd {
  margin: 0;
  font-weight: 620;
}
.site {
  font-weight: 720;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.site:hover {
  text-decoration-thickness: 5px;
}

/* contact: white on the dark blue */
.contact {
  background: var(--ink);
  color: #fff;
}
.contact .lede {
  color: var(--on-ink);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: start;
  margin-top: clamp(30px, 4vw, 52px);
}
.mail {
  display: inline-block;
  font-size: clamp(27px, 3.9vw, 50px);
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--accent-on-ink);
  text-decoration-thickness: 4px;
  text-underline-offset: 9px;
}
.tel {
  display: inline-block;
  margin-top: 22px;
  font-size: 22px;
  font-weight: 650;
  text-decoration: none;
}
.tel:hover,
.mail:hover {
  text-decoration-color: #fff;
  text-decoration-line: underline;
}
.facts {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.facts div {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.facts dt {
  font-size: 14.5px;
  color: var(--on-ink);
}
.facts dd {
  margin: 0;
  font-weight: 560;
}
.facts a {
  text-decoration: none;
}
.facts a:hover {
  text-decoration: underline;
}

.foot {
  background: var(--ink);
  color: var(--on-ink);
  font-size: 14px;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 28px;
  padding-bottom: 30px;
}
/* the rule over the footer, as wide as the text and no wider */
.foot .wrap::before {
  content: "";
  flex: 0 0 100%;
  height: 1px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.2);
}
/* after a white page there is nothing to rule off */
.foot.alone .wrap {
  padding-top: 24px;
}
.foot.alone .wrap::before {
  display: none;
}
.foot p {
  margin: 0;
}
.foot a {
  color: #fff;
}
.nb {
  white-space: nowrap;
}

/* ---- the privacy page: plain reading ---- */
.doc {
  max-width: 44em;
  padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 104px);
}
.doc h1 {
  font-size: clamp(44px, 6vw, 76px);
}
.doc h2 {
  margin-top: 40px;
  font-size: 26px;
  font-stretch: 80%;
  line-height: 1.15;
}
.doc p {
  margin: 12px 0 0;
}
.doc .when {
  color: var(--ink-2);
}
.doc a {
  font-weight: 620;
  text-underline-offset: 4px;
}

/* ---- narrower windows ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .row .frame {
    max-width: 560px;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .crafts {
    grid-template-columns: minmax(0, 1fr);
  }
  .craft,
  .craft + .craft {
    padding: 30px 0 0;
    border-left: 0;
  }
  .craft + .craft {
    margin-top: 34px;
    border-top: 2px solid var(--ink);
  }
}
@media (max-width: 560px) {
  .top {
    flex-wrap: wrap;
    gap: 6px 16px;
  }
  .mark {
    gap: 8px;
    font-size: 18px;
  }
  .logo {
    width: 26px;
    height: 26px;
    font-size: 18px;
    border-radius: 6px;
  }
  .top nav {
    gap: 16px;
    font-size: 15px;
  }
  .top nav a:first-child {
    display: none;
  }
  .frame.phone {
    border-width: 5px;
    border-radius: 20px;
  }
  .frame .bar {
    height: 20px;
  }
  .frame .bar span {
    padding: 0 7px;
    font-size: 8.5px;
  }
  .facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
