/* Woylie Technology LLC — site styles */

:root {
  --bg: #0d1117;
  --bg-alt: #131a23;
  --surface: #171f2a;
  --border: #26303d;
  --text: #e6edf3;
  --text-dim: #9aa8b8;
  --accent: #d98a3f;      /* woylie sand/ochre */
  --accent-soft: #f0b273;
  --accent-ink: #1a1206;
  --focus: #7cc4ff;
  --radius: 12px;
  --wrap: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

a { color: var(--accent-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-dim { color: var(--text-dim); font-weight: 500; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.site-header nav a {
  color: var(--text-dim);
  font-size: 0.94rem;
}
.site-header nav a:hover { color: var(--text); text-decoration: none; }

.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
}
.nav-cta:hover { border-color: var(--accent); }
.nav-cta-active { border-color: var(--accent); }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(64px, 11vw, 130px) 0 clamp(48px, 8vw, 90px);
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(217, 138, 63, 0.16), transparent 65%),
    radial-gradient(700px 400px at 92% 5%, rgba(124, 196, 255, 0.08), transparent 60%);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 650;
  color: var(--accent);
  margin-bottom: 14px;
}

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

.lede {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--text-dim);
  max-width: 62ch;
  margin-top: 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-soft); }

.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }

.btn-block { width: 100%; }

/* ---------- Sections ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section-title { margin-bottom: 10px; }
.section-lede { color: var(--text-dim); max-width: 70ch; margin-bottom: 40px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.card h3 { color: var(--accent-soft); }
.card p { color: var(--text-dim); }
.card ul {
  margin: 16px 0 0;
  padding-left: 0;
  list-style: none;
  font-size: 0.95rem;
}
.card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-dim);
}
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------- Apps ---------- */

.app-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.app-slot {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.app-slot p { color: var(--text-dim); }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 650;
  color: var(--accent);
  border: 1px solid rgba(217, 138, 63, 0.4);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 14px;
}

.link-arrow { font-weight: 600; }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 44px;
  align-items: start;
}
.about-grid p { color: var(--text-dim); max-width: 62ch; }

.facts {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.facts h3 { margin-bottom: 16px; }
.facts dl { margin: 0; }
.facts dt {
  font-weight: 650;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 16px;
}
.facts dt:first-of-type { margin-top: 0; }
.facts dd {
  margin: 4px 0 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 7vw, 80px) 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 24px; }

/* ---------- Contact ---------- */

.contact-hero { padding-top: clamp(48px, 7vw, 80px); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.contact-details { margin: 32px 0 0; }
.contact-details dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 650;
  color: var(--accent);
  margin-top: 18px;
}
.contact-details dt:first-of-type { margin-top: 0; }
.contact-details dd { margin: 4px 0 0; color: var(--text-dim); }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.optional { color: var(--text-dim); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.98rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #e5734f; }

.field-error {
  color: #f0987a;
  font-size: 0.85rem;
  margin: 6px 0 0;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 14px 0 0;
  text-align: center;
}

.form-status { margin: 12px 0 0; font-size: 0.92rem; }
.form-status.ok { color: var(--accent-soft); }
.form-status.err { color: #f0987a; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer nav a { color: var(--text-dim); }

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner { min-height: 0; padding-block: 12px; }
  .site-header nav { gap: 14px; }
  .brand-dim { display: none; }
  .contact-form-wrap { padding: 24px 20px; }
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}
