/* ArcHelm site styles. Change the brand colours here, in one place. */
:root {
  --navy: #0b2d5b;        /* ArcHelm Navy */
  --navy-deep: #082244;
  --teal: #00b8c4;        /* Arc Teal: accents only, too light for small text */
  --teal-text: #0a6f7c;   /* darker Arc Teal for readable small text */
  --ink: #14181f;
  --text: #3f4d60;
  --muted: #4e5b6c;
  --line: #dfe7f1;
  --card: #f3f7fc;
  --card-line: #d5e1f0;
  --white: #fff;
  --product-dark: #0e1014;
  --product-panel: #1e2229;
  --flame: #ff9a4d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--teal-text); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--white); padding: 8px 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(27, 58, 99, 0.05);
}
.site-header::after { content: ""; display: block; height: 2px; background: linear-gradient(90deg, var(--navy), var(--teal)); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 74px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 600; letter-spacing: -0.01em; color: var(--navy-deep); text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { position: relative; padding: 6px 0; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 0.18s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav .nav-cta { padding: 9px 16px; white-space: nowrap; border: 1px solid var(--navy); border-radius: 8px; color: var(--navy); font-weight: 600; }
.site-nav .nav-cta:hover { background: var(--navy); color: var(--white); }

/* Shared type */
h1 { margin: 0; font-size: clamp(36px, 6vw, 58px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
h2 { margin: 0 0 12px; font-size: clamp(26px, 3.5vw, 34px); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-text); }
.lead { max-width: 640px; margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: var(--text); }
.section { padding: 72px 0; }
.section-intro { max-width: 640px; margin: 0 0 32px; color: var(--text); font-size: 17px; }
.tint { background: var(--card); }

.btn {
  display: inline-block; margin-top: 30px; padding: 13px 24px; border-radius: 8px;
  background: var(--navy); color: var(--white); font-size: 16px; font-weight: 600; text-decoration: none;
}
.btn:hover { background: #143f7a; }

/* Home */
.hero { padding: 96px 0 88px; background: linear-gradient(135deg, #dfeafa 0%, #eef4fc 55%, #e3f1f3 100%); }
.hero h1 { max-width: 780px; }

.product-card {
  display: flex; align-items: center; gap: 20px; padding: 22px 24px; margin-bottom: 14px;
  border: 1px solid var(--card-line); border-left: 4px solid var(--teal); border-radius: 12px;
  background: var(--card); color: inherit; text-decoration: none;
}
a.product-card:hover { border-color: var(--navy); }
.product-card img { flex: none; border-radius: 16px; }
.product-card img.bordered { border: 1px solid var(--card-line); background: var(--white); }
.product-card .body { flex: 1; min-width: 0; }
.product-card h3 { margin: 0 0 2px; }
.product-card p { margin: 0; color: var(--muted); font-size: 15px; }
.product-card .more { font-size: 15px; font-weight: 600; color: var(--navy); white-space: nowrap; }

/* Call Firewall product page: the product's own look sits inside the ArcHelm frame */
.product-hero { padding: 72px 0; background: var(--product-dark); color: #eceef1; }
.product-hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.product-title { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.product-title img { border-radius: 14px; }
.product-title span { font-size: 20px; font-weight: 600; }
.product-hero h1 { font-size: clamp(34px, 5vw, 50px); }
.product-hero .lead { color: #c3c8cf; }
.store-badge {
  display: inline-block; margin-top: 28px; padding: 12px 20px; border: 1px solid #5a616b;
  border-radius: 8px; color: #eceef1; font-size: 15px; font-weight: 600;
}

/* Illustration of the app's US section, built in HTML */
.phone { max-width: 300px; margin: 0 auto; padding: 14px; border: 1px solid #343a44; border-radius: 34px; background: #000; }
.phone-screen { padding: 20px 14px; border-radius: 22px; background: var(--product-dark); }
.phone-label { margin: 0 0 8px 4px; color: var(--flame); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }
.phone-card { padding: 6px 14px; border-radius: 16px; background: var(--product-panel); }
.phone-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; font-size: 14px; color: #eceef1; }
.phone-row small { display: block; color: #b4b8bf; font-size: 12px; }
.phone-sub { margin: 8px 0 0; color: #b4b8bf; font-size: 11px; letter-spacing: 0.06em; }
.toggle { flex: none; width: 38px; height: 22px; border-radius: 11px; background: #ff7a1f; position: relative; }
.toggle::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #1f0b00; }
.toggle.off { background: #3a404a; }
.toggle.off::after { right: auto; left: 3px; background: #8c929b; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tile { padding: 22px 24px; border: 1px solid var(--card-line); border-radius: 12px; background: var(--white); }
.tile p { margin: 0; color: var(--muted); font-size: 15.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; color: var(--muted); font-size: 15.5px; }
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 600;
}
.steps strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 18px; font-weight: 600; }

.check-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; }
.check-list li { position: relative; padding-left: 26px; color: var(--text); }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--teal-text); font-weight: 700; }

.plain-list { max-width: 760px; margin: 0; padding-left: 20px; color: var(--text); }
.plain-list li { margin-bottom: 8px; }

/* Reading pages */
.page-head { padding: 56px 0 44px; background: linear-gradient(135deg, #dfeafa 0%, #eef4fc 55%, #e3f1f3 100%); }
.page-head h1 { font-size: clamp(32px, 5vw, 44px); }
.page-head p { margin: 12px 0 0; color: var(--text); }
.reading { max-width: 720px; padding-top: 44px; padding-bottom: 72px; }
.reading h2 { margin: 36px 0 8px; font-size: 21px; }
.reading p, .reading li { color: var(--text); }

/* Footer */
.site-footer { background: linear-gradient(160deg, #103a72 0%, var(--navy) 55%, var(--navy-deep) 100%); color: #c9d7e8; font-size: 15px; }
.site-footer::before { content: ""; display: block; height: 2px; background: linear-gradient(90deg, var(--teal), var(--navy)); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 40px; padding-top: 52px; padding-bottom: 44px; }
.footer-brand .brand { color: var(--white); }
.brand-footer { gap: 16px; }
.footer-brand p { max-width: 320px; margin: 14px 0 0; line-height: 1.55; }
.footer-col h2 { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #7fdde3; }
.footer-col a { display: block; padding: 4px 0; color: #eaf1f9; text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13.5px; color: #b8c9dd; }
.footer-legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 18px; padding-bottom: 18px; }

@media (max-width: 760px) {
  .hero { padding: 56px 0; }
  .section { padding: 52px 0; }
  .product-hero { padding: 48px 0; }
  .product-hero .wrap, .grid, .steps, .check-list { grid-template-columns: 1fr; }
  .product-card { flex-wrap: wrap; }
  .product-card .more { width: 100%; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 14px; }
  .site-nav .nav-cta { padding: 7px 10px; }
  .site-header .brand img { width: 158px; height: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-nav a::after { transition: none; }
}
