:root {
  --blue:     #0099ff;
  --blue-d:   #007acc;
  --green:    #89b700;
  --green-l:  #f0ffc4;
  --ink:      #333333;
  --ink-soft: #666666;
  --ink-mute: #999999;
  --line:     #dcdcdc;
  --bg-alt:   #f6f8fa;
  --radius:   4px;
  --wrap:     1120px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 .55em; font-weight: 700; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); }
a:hover, a:focus-visible { color: var(--green); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.brand { margin-right: auto; }
.brand img { width: 190px; height: auto; }

.primary-nav ul { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: block; padding: 10px 14px; border-radius: var(--radius); text-decoration: none;
  color: var(--ink); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.primary-nav a:hover, .primary-nav a:focus-visible { background: var(--green-l); color: var(--ink); }

.nav-toggle { display: none; width: 46px; height: 42px; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.nav-toggle__box { display: block; position: relative; width: 22px; height: 2px; margin: 0 auto; background: var(--ink); }
.nav-toggle__box::before, .nav-toggle__box::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); }
.nav-toggle__box::before { top: -7px; }
.nav-toggle__box::after  { top:  7px; }

/* hero */
.hero { padding: 58px 0; background: linear-gradient(120deg, #f7fbff, var(--green-l)); border-bottom: 1px solid var(--line); }
.hero__eyebrow { margin: 0 0 .4em; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.hero h1 { max-width: 16ch; }
.hero__lead { max-width: 66ch; color: var(--ink-soft); font-size: 1.05rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

.btn { display: inline-block; padding: 12px 26px; border-radius: var(--radius); font-weight: 700; text-decoration: none; font-size: .92rem; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); color: #fff; }
.btn--ghost { border: 2px solid var(--ink); color: var(--ink); padding: 10px 24px; }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* sections */
.section { padding: 50px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { position: relative; padding-bottom: 12px; margin-bottom: 24px; }
.section__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--green); }
.section__lead { max-width: 82ch; color: var(--ink-soft); margin-bottom: 26px; }
.prose { max-width: 82ch; }
.prose p:last-child { margin-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards > * { min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radius); padding: 20px; }
.card h3 { color: var(--ink); }
.card p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

.callout { margin-top: 26px; background: #fff; border-left: 4px solid var(--green); border-radius: var(--radius); padding: 20px 24px; }
.callout h3 { color: var(--green); }
.callout p { margin: 0; max-width: 84ch; }

.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.skill { min-width: 0; }
.skill h3 { padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.skill ul { list-style: none; margin: 0; padding: 0; font-size: .93rem; color: var(--ink-soft); }
.skill li { position: relative; padding: 3px 0 3px 18px; }
.skill li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.product img { width: 84px; height: auto; flex: none; }
.product h3 { color: var(--blue-d); letter-spacing: .04em; }
.product p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

.section--contact { background: #1d2733; color: #c8d3de; }
.section--contact .section__title { color: #fff; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact__box { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 20px 22px; min-width: 0; }
.contact__box h3 { color: var(--green); }
.contact address { font-style: normal; margin-bottom: 1em; }
.contact a { color: #fff; font-weight: 600; }
.contact a:hover { color: var(--blue); }
.contact p:last-child { margin-bottom: 0; }

/* footer */
.site-footer { background: #131b24; color: #93a3b3; font-size: .92rem; padding-top: 34px; }
.footer__in { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 26px; padding-bottom: 22px; }
.footer__name { color: #fff; font-weight: 700; }
.footer__head { color: #fff; font-weight: 700; margin-bottom: .6em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #93a3b3; text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer__bottom { border-top: 1px solid #232f3b; padding: 14px 0; }
.footer__bottom p { margin: 0; font-size: .84rem; }

/* mobile */
@media (max-width: 1000px) {
  .cards, .skills, .products { grid-template-columns: repeat(2, 1fr); }
  .contact, .footer__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }
  .hero, .section { padding: 34px 0; }
  .nav-toggle { display: block; }
  .primary-nav { display: none; width: 100%; order: 3; padding-bottom: 12px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { padding: 11px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header__in { flex-wrap: wrap; min-height: 68px; }
  .brand img { width: 150px; }
  .cards, .skills, .products, .contact, .footer__in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
