/* ===== OWANDS landing — light corporate, brand blue (matches OWANDS logo "OWA") =====
   Var names kept as --teal-* for stability; values repointed to brand blue. */

:root {
  --teal-50:  #eef4ff;
  --teal-100: #d6e4ff;
  --teal-500: #2f7bef;
  --teal-600: #1568db;
  --teal-700: #1056b8;
  --teal-800: #0d4596;

  --ink:      #0f172a;  /* slate-900 */
  --ink-soft: #334155;  /* slate-700 */
  --muted:    #64748b;  /* slate-500 */
  --line:     #e2e8f0;  /* slate-200 */
  --bg:       #ffffff;
  --bg-tint:  #f8fafc;  /* slate-50 */

  --radius: 14px;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg: 0 12px 40px rgba(13,148,136,.14);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.accent { color: var(--teal-600); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--teal-600); color: #fff; box-shadow: var(--shadow-lg); }
.btn--primary:hover { background: var(--teal-700); transform: translateY(-1px); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--teal-600); color: var(--teal-700); }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { color: var(--teal-700); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { height: 40px; width: auto; display: block; }
.brand__tagline {
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -.01em;
  color: var(--ink);
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.brand__text {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.03em;
  color: var(--ink);
}
.brand__text span { color: var(--teal-600); }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-weight: 500; color: var(--ink-soft); font-size: .95rem; }
.nav__links a:hover { color: var(--teal-700); }
.nav__links .btn { padding: 9px 20px; }
/* `.nav__links a` is more specific than `.btn--primary`, so restate the white. */
.nav__links .btn--primary,
.nav__links .btn--primary:hover { color: #fff; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 96px 0 88px;
  background:
    radial-gradient(900px 380px at 80% -10%, var(--teal-50), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-tint));
  overflow: hidden;
}
.hero__inner { max-width: 760px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
.hero__sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 620px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.hero__stats span { color: var(--muted); font-size: .9rem; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section--tint { background: var(--bg-tint); border-block: 1px solid var(--line); }
.section__head { max-width: 680px; margin-bottom: 52px; }
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.section__lead { margin-top: 16px; color: var(--ink-soft); font-size: 1.08rem; }

/* ===== Grids ===== */
.grid { display: grid; gap: 24px; }
.grid--cards { grid-template-columns: repeat(3, 1fr); }
.grid--three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal-100); }
.card__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: var(--teal-50);
  border-radius: 12px;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .97rem; }

.feature h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--teal-700); }
.feature p { color: var(--ink-soft); }

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 56px;
  align-items: center;
}
.about__text h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 18px; }
.about__text p { color: var(--ink-soft); margin-bottom: 16px; max-width: 56ch; }
.about__panel {
  background: linear-gradient(160deg, var(--teal-600), var(--teal-800));
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.stack-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.stack-list li {
  color: #fff;
  font-weight: 600;
  padding: 12px 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
}

/* ===== Contact form ===== */
.contact .section__head { text-align: center; margin-inline: auto; }
.form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-tint);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  background: #fff;
  box-shadow: 0 0 0 3px var(--teal-100);
}
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form__status { font-size: .92rem; font-weight: 600; margin: 0; min-height: 1.2em; }
.form__status.is-ok { color: var(--teal-700); }
.form__status.is-err { color: #be123c; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 48px 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.footer__brand .brand__text { color: #fff; }
.footer__brand .brand__text span { color: var(--teal-500); }
.footer__brand p { color: #94a3b8; font-size: .9rem; margin-top: 4px; }
.footer__links { display: flex; gap: 24px; justify-content: center; }
.footer__links a { color: #cbd5e1; font-size: .92rem; }
.footer__links a:hover { color: #fff; }
.footer__copy { color: #94a3b8; font-size: .85rem; text-align: right; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .grid--cards, .grid--three { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__panel { order: -1; }
}
@media (max-width: 720px) {
  .nav__links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 10px 0; width: 100%; }
  .nav__toggle { display: flex; }
  .brand__tagline { display: none; }
  .nav__links .btn { padding: 10px 0; }
  .nav__links .btn--ghost { color: var(--teal-700); }
}
@media (max-width: 560px) {
  .grid--cards, .grid--three { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__links { justify-content: center; }
  .footer__copy { text-align: center; }
  .hero__stats { gap: 28px; }
}
