/* Drutak Technologies — site styles
   Brand: Deep navy #16213E · Signal orange #FF4A1C · Slate #5B6478 · Warm fog #F4F3F1
   Type: Onest (700 headings, 500 sub-headings) */

:root {
  --navy: #16213E;
  --navy-2: #1E2B4F;
  --navy-3: #2A3862;
  --orange: #FF4A1C;
  --orange-dark: #E03A0F;
  --slate: #5B6478;
  --slate-light: #B9C0D4;
  --fog: #F4F3F1;
  --fog-2: #EAE8E4;
  --white: #FFFFFF;
  --ink: #16213E;
  --line: #E1DFDA;

  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 1px 2px rgba(22, 33, 62, .06), 0 8px 24px rgba(22, 33, 62, .06);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration-color: rgba(22, 33, 62, .3); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--orange); }
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--fog { background: var(--fog); }
.section--navy { background: var(--navy); color: var(--slate-light); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #F7F6F3; }
.section--navy a { color: #F7F6F3; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--orange); border-radius: 2px; }
.section--navy .eyebrow { color: var(--slate-light); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { font-size: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font: 600 1rem/1 var(--font); text-decoration: none;
  padding: 16px 24px; border-radius: 10px; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-3); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.section--navy .btn--ghost, .hero--navy .btn--ghost { border-color: rgba(247, 246, 243, .5); color: #F7F6F3; }
.section--navy .btn--ghost:hover, .hero--navy .btn--ghost:hover { background: #F7F6F3; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--navy); text-decoration: none; font-weight: 500; font-size: .98rem;
}
.nav-links a:hover { background: var(--fog); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav-links .btn { margin-left: 10px; padding: 12px 18px; color: #fff; }
.nav-links .btn:hover { background: var(--navy-3); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 16px 32px rgba(22, 33, 62, .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--fog-2); border-radius: 0; font-size: 1.05rem; }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; }
  .nav-links .btn { margin: 16px 0 0; padding: 16px; border-bottom: 0; }
  .brand img { height: 36px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--fog); padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .dot { color: var(--orange); }
.hero .lead { margin-bottom: 36px; color: var(--slate); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 36px 0 0; padding: 0; list-style: none; font-size: .95rem; font-weight: 500; color: var(--navy); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: var(--slate-light); padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.page-hero h1 { color: #F7F6F3; max-width: 18ch; }
.page-hero .lead { color: var(--slate-light); }
.page-hero .eyebrow { color: var(--slate-light); }
.page-hero .btn-row { margin-top: 32px; }
.page-hero .chamfer {
  position: absolute; right: -40px; bottom: -40px; width: clamp(200px, 32vw, 420px); aspect-ratio: 1;
  opacity: .08; pointer-events: none;
}
.crumbs { font-size: .9rem; margin-bottom: 20px; }
.crumbs a { color: var(--slate-light); }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1000px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px); position: relative;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.section--fog .card { border-color: transparent; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 10px; }
.card--link:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line); }
.card .icon {
  width: 48px; height: 48px; border-radius: 10px; background: var(--fog);
  display: grid; place-items: center; color: var(--navy); margin-bottom: 20px;
}
.section--fog .card .icon { background: var(--fog); }
.card .icon svg { width: 24px; height: 24px; }
.card-list { list-style: none; padding: 0; margin: 16px 0 0; font-size: .95rem; }
.card-list li { padding: 8px 0 8px 22px; border-top: 1px solid var(--fog-2); position: relative; }
.card-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; background: var(--navy); clip-path: polygon(0 0, 100% 100%, 0 100%); }

/* Big pillar cards (home) */
.pillar {
  display: flex; flex-direction: column; border-radius: 18px; padding: clamp(28px, 4vw, 44px);
  text-decoration: none; position: relative; overflow: hidden; min-height: 100%;
}
.pillar--light { background: #fff; border: 1px solid var(--line); color: var(--slate); }
.pillar--dark { background: var(--navy); color: var(--slate-light); }
.pillar--dark h3 { color: #F7F6F3; }
.pillar h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; letter-spacing: -.025em; }
.pillar .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; padding: 0; list-style: none; }
.pillar .tags li { font-size: .85rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--fog); color: var(--navy); }
.pillar--dark .tags li { background: rgba(255, 255, 255, .08); color: #E6E8EF; }
.pillar .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.pillar--dark .more { color: #F7F6F3; }
.pillar .more svg { width: 18px; height: 18px; transition: transform .2s; }
.pillar:hover .more svg { transform: translateX(4px); }
.pillar:hover { box-shadow: var(--shadow); }
.pillar-label { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; color: var(--slate); }
.pillar--dark .pillar-label { color: var(--slate-light); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split--center { align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 22px; border-top: 2px solid rgba(185, 192, 212, .25); }
.steps li::after { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--orange); }
.steps li::before { content: "0" counter(step); display: block; font-weight: 700; font-size: .85rem; color: #F7F6F3; letter-spacing: .08em; }
.steps h3 { font-size: 1.15rem; margin-top: 10px; }
.steps p { font-size: .97rem; margin: 0; }
.section:not(.section--navy) .steps li { border-top-color: var(--line); }
.section:not(.section--navy) .steps li::before { color: var(--navy); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checks svg { width: 22px; height: 22px; color: var(--orange); margin-top: 2px; }
.checks strong { color: var(--navy); display: block; font-weight: 600; }
.section--navy .checks strong { color: #F7F6F3; }

/* Tech chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 10px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 500; font-size: .95rem; }
.section--fog .chips li { border-color: transparent; }

/* Use cases */
.usecase { border-left: 3px solid var(--navy); padding: 4px 0 4px 20px; }
.usecase h3 { font-size: 1.1rem; margin-bottom: 6px; }
.usecase p { margin: 0; font-size: .97rem; }

/* CTA band */
.cta-band { background: var(--navy); border-radius: 22px; padding: clamp(36px, 6vw, 72px); color: var(--slate-light); position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #F7F6F3; margin-bottom: 12px; max-width: 20ch; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band .chamfer { position: absolute; right: -60px; top: -60px; width: 260px; opacity: .07; pointer-events: none; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; color: var(--navy); font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 40px 22px 0; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; color: var(--navy); font-size: .95rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy);
  padding: 13px 14px; border: 1.5px solid #D6D3CD; border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(22, 33, 62, .08); }
.form-note { font-size: .9rem; margin: 0; }
.contact-card { background: var(--fog); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); }
.contact-card h3 { margin-bottom: 16px; }
.contact-card dl { margin: 0; display: grid; gap: 16px; }
.contact-card dt { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.contact-card dd { margin: 4px 0 0; color: var(--navy); font-weight: 500; word-break: break-word; }

/* Footer */
.site-footer { background: var(--navy); color: var(--slate-light); padding: 72px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #F7F6F3; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--slate-light); text-decoration: none; }
.footer-grid a:hover { color: #F7F6F3; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(185, 192, 212, .18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Misc */
.muted { color: var(--slate); }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.note { font-size: .9rem; }
.stack > * + * { margin-top: 20px; }
.divider-title { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; animation: none !important; }
}
