/* Digigarda website. Palette from Config/brand-guidelines. No external fonts or libraries. */
:root {
  --navy: #0e599b;
  --royal: #1f6fb7;
  --bright: #1375bc;
  --sky: #55c9f4;
  --text: #333333;
  --muted: #5b6770;
  --bg: #ffffff;
  --alt: #f2f7fb;
  --line: #dbe6ef;
  --radius: 14px;
  --font: "Avenir Next", Avenir, "Segoe UI", Aptos, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 var(--font); color: var(--text); background: var(--bg); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 720px; margin-inline: auto; }
.narrow-wrap { max-width: 760px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; padding: .5em .8em; border-radius: 8px; font-weight: 600; font-size: .96rem; }
.nav a:not(.btn):hover { background: var(--alt); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--bright); box-shadow: inset 0 -3px 0 var(--sky); border-radius: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* buttons */
.btn { display: inline-block; background: var(--bright); color: #fff; text-decoration: none; font-weight: 700; padding: .8em 1.7em; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 700; transition: background .15s, transform .15s; }
.btn:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-sm { padding: .5em 1.3em; font-size: .95rem; margin-left: 8px; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--royal) 60%, var(--bright) 100%); color: #fff; overflow: hidden; }
.hero-in { padding: clamp(40px, 7vw, 84px) 0; display: grid; gap: 40px; align-items: center; }
.hero-in.has-art { grid-template-columns: 1fr 1.25fr; }
.hero h1 { color: #fff; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #e6f3fb; max-width: 40em; }
.hero-art img { border-radius: var(--radius); background: #fff; padding: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.28); }

/* sections */
.section { padding: clamp(44px, 7vw, 84px) 0; }
.section.alt { background: var(--alt); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { display: block; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--sky); border-radius: var(--radius); padding: 28px; text-decoration: none; color: var(--text); box-shadow: 0 6px 18px rgba(14,89,155,.06); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(14,89,155,.14); color: var(--text); }
.card h2, .card h3 { font-size: 1.5rem; }
.card .more { color: var(--bright); font-weight: 700; }

/* benefits + stats */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; margin-top: 32px; }
.benefit { background: #fff; border-radius: var(--radius); overflow: hidden; text-align: center; border: 1px solid var(--line); padding-bottom: 20px; }
.benefit h3 { background: var(--navy); color: #fff; margin: 0 0 18px; padding: 18px 12px; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; }
.benefit svg { color: var(--royal); margin: 0 auto 14px; }
.benefit p { padding: 0 18px; font-size: .97rem; }
.stats { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; text-align: center; }
.stats strong { display: block; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--bright); line-height: 1.1; }
.stats span { color: var(--muted); font-weight: 600; }

/* band */
.band { background: var(--navy); color: #fff; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px 0; }
.band h2 { color: #fff; margin: 0 0 .2em; }
.band p { margin: 0; color: #d7ebf8; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: 28px 0; }
.feature.flip .feature-text { order: 2; }
.feature-img img { margin-inline: auto; max-height: 360px; width: auto; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(14,89,155,.15); }

/* industries */
.industry { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.industry:last-child { border-bottom: 0; }
.industry img { border-radius: var(--radius); width: 100%; }
.ticks { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.ticks li { padding-left: 1.6em; position: relative; margin: 0 0 .45em; break-inside: avoid; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8em; height: .45em; border-left: 3px solid var(--sky); border-bottom: 3px solid var(--sky); transform: translateY(-60%) rotate(-45deg); }

/* about */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.rounded { border-radius: var(--radius); box-shadow: 0 12px 34px rgba(0,0,0,.15); }
.partners { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; margin-top: 24px; }
.partners img { max-height: 70px; width: auto; }

/* contact */
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; color: var(--navy); }
.form input, .form textarea { font: inherit; padding: .75em .9em; border: 1px solid #b9cbd9; border-radius: 10px; width: 100%; color: var(--text); background: #fff; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--sky); border-color: var(--bright); }
.form .btn { justify-self: end; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.office { font-style: normal; display: grid; gap: 2px; align-content: start; }
.office h3 { margin-bottom: .3em; }
.office a { margin-top: 8px; word-break: break-all; }
.notice { background: var(--alt); border-left: 5px solid var(--sky); padding: 20px 24px; border-radius: 10px; }
.notice.error { border-color: #c0392b; }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tier { padding: 24px 20px; text-align: center; }
.tier:nth-child(1) { background: #ccffcc; } .tier:nth-child(2) { background: #d3e6ff; }
.tier:nth-child(3) { background: #87d3ff; } .tier:nth-child(4) { background: #68b5ff; } .tier:nth-child(5) { background: #4aa3ff; }
.tier h2 { font-size: 1.35rem; color: #0b2a44; }
.tier .price { font-size: 1.7rem; font-weight: 800; color: #0b2a44; margin: .2em 0; }
.tier .price2 { font-size: 1.2rem; font-weight: 800; color: #0b2a44; margin: 0 0 .3em; }
.tier .note { margin: 0 0 .3em; font-size: .92rem; color: #0b2a44; }
.tier .what, .tier .ideal { border-top: 1px solid rgba(11,42,68,.35); padding-top: .8em; margin-top: .8em; color: #0b2a44; }
.tier h3 { font-size: 1rem; color: #0b2a44; margin-top: 1em; }
.tier .ticks { columns: 1; text-align: left; color: #0b2a44; font-size: .95rem; }
.fine { color: var(--muted); font-size: .92rem; margin-top: 20px; }

/* footer */
.site-footer { background: #0a4272; color: #cfe3f2; padding-top: 52px; }
.site-footer h2 { color: #fff; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 14px; }
.site-footer li { margin: 0 0 .4em; }
.site-footer a { color: #cfe3f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.social { display: inline-block; color: #fff; }
.legal { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.18); margin-top: 36px; padding: 24px 0 32px; font-size: .92rem; }
.legal p { margin: 0; }
.legal .tag { color: var(--sky); font-weight: 700; }
.legal p:last-child { margin-left: auto; }

/* responsive */
@media (max-width: 900px) {
  .hero-in.has-art, .feature, .industry, .split { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
  .ticks { columns: 1; }
  .legal p:last-child { margin-left: 0; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(0,0,0,.08); }
  .js .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .8em .4em; }
  .btn-sm { margin: 8px 0 0; text-align: center; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--bright); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
