/* Osmond Technologies — site styles */
:root {
  --bg: #0b1220;
  --surface: #121c30;
  --surface-2: #182540;
  --line: #26375a;
  --text: #e9eef6;
  --muted: #b3c0d4;
  --orange: #f36e26;       /* logo orange */
  --orange-soft: #ff9a5c;  /* for text links on dark */
  --blue: #5cb2ff;
  --radius: 14px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 1.0625rem/1.65 var(--font);
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(92,178,255,.14), transparent 60%),
    radial-gradient(800px 500px at -10% 10%, rgba(243,110,38,.12), transparent 60%);
  background-repeat: no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-soft); text-underline-offset: .18em; }
a:hover { color: #ffc29c; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.section { padding-top: 2.5rem; padding-bottom: 1rem; }
.plain { list-style: none; padding: 0; margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--orange); color: var(--bg); padding: .6em 1em; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
main:focus { outline: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,18,32,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; flex-wrap: wrap; }
.brand img { width: 165px; }
#site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; }
#site-nav a { display: block; padding: .5em .8em; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .98rem; }
#site-nav a:hover { background: var(--surface-2); }
#site-nav a[aria-current="page"] { color: var(--orange-soft); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 8px 8px 0 0; }
.nav-toggle { font: inherit; font-weight: 700; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: .5em 1em; cursor: pointer; }
@media (max-width: 860px) {
  #site-nav { width: 100%; }
  #site-nav.closed { display: none; }
  #site-nav ul { flex-direction: column; padding-bottom: .75rem; }
  #site-nav a { padding: .75em .5em; border-bottom: 1px solid var(--line); border-radius: 0; }
  #site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); padding-left: .9em; }
}

/* Hero */
.page-hero { padding: 3.5rem 0 2rem; }
.hero-grid > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--blue); margin-bottom: .6rem; }
.lead { font-size: 1.25rem; color: var(--muted); }
.home-hero .sub { color: var(--orange-soft); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .1em; margin-top: 1.5rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .hero-img { max-width: min(420px, 100%); }
  .page-hero { padding-top: 2rem; }
}

.btn { display: inline-block; background: var(--orange); color: #111827; font-weight: 800; text-decoration: none; padding: .8em 1.4em; border-radius: 10px; }
.btn:hover { background: #ff8a4c; color: #111827; }

/* Service cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card { display: grid; grid-template-columns: 170px 1fr; gap: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.card img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }
.card p { color: var(--muted); }
.card .more { font-weight: 700; }
.card .more::after { content: " →"; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .card { grid-template-columns: 1fr; } .card img { max-width: 220px; } }

/* Prose */
.prose { padding-top: .5rem; padding-bottom: 1.5rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.pull { font-size: 1.35rem; font-weight: 700; color: var(--orange-soft); border-left: 4px solid var(--orange); padding-left: 1rem; }
.checks { list-style: none; padding: 0 !important; }
.checks li { padding-left: 1.8em; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.legal { font-size: 1rem; }
.legal h2 { font-size: 1.35rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.1rem; }

/* Panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.panel p:last-child { margin-bottom: 0; }
.panel p { color: var(--muted); }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.grid-3 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .two-up, .grid-3 { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.plan h2 { margin-top: 0; border: 0; padding: 0; }
.plan-featured { border-color: var(--orange); }
.price { font-size: 1.1rem; color: var(--muted); }
.price strong { font-size: 2.2rem; color: var(--text); }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* Team */
.team { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.person { display: grid; grid-template-columns: 220px 1fr; gap: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.person img { border-radius: 10px; width: 220px; aspect-ratio: 4/5; object-fit: cover; }
.person h3 { font-size: 1.5rem; margin-bottom: .1em; }
.role { color: var(--orange-soft); font-weight: 700; }
.person p:last-child { color: var(--muted); margin-bottom: 0; }
@media (max-width: 700px) { .person { grid-template-columns: 1fr; } .person img { width: 180px; } }

/* Clients */
.clients { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.clients a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.25rem; color: var(--text); font-weight: 700; text-decoration: none; }
.clients a::after { content: " ↗"; color: var(--orange); }
.clients a:hover { border-color: var(--orange); background: var(--surface-2); }

/* CTA */
.cta { margin: 2rem 0 0; }
.cta .wrap { }
.cta-line { background: linear-gradient(90deg, rgba(243,110,38,.18), rgba(92,178,255,.14)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; font-size: 1.15rem; font-weight: 600; margin: 0; }

/* Footer */
.site-footer { margin-top: 4rem; background: #080e1a; border-top: 1px solid var(--line); padding-top: 3rem; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr .9fr; gap: 2.5rem; }
.site-footer h2 { font-size: 1.1rem; color: var(--orange-soft); text-transform: uppercase; letter-spacing: .08em; }
.site-footer p { color: var(--muted); }
.site-footer strong { color: var(--text); }
.site-footer li { margin: .35em 0; }
.footer-base { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.25rem; padding-bottom: 2rem; }
.footer-base p { font-size: .9rem; margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .cta, .skip { display: none; }
  a { color: #000; }
}

/* Software & themes (Solutions page) */
.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; }
.section-lead { color: var(--muted); max-width: 760px; font-size: 1.1rem; }
.products { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.product { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.product h3 { font-size: 1.7rem; margin-bottom: .2em; }
.product .tagline { color: var(--orange-soft); font-weight: 700; }
.product p { color: var(--muted); }
.product .btn { color: #111827; }
.status { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3em .8em; border-radius: 999px; margin-bottom: 1rem; }
.status-soon { background: rgba(243,110,38,.18); color: var(--orange-soft) !important; border: 1px solid rgba(243,110,38,.5); }
.status-dev { background: rgba(92,178,255,.14); color: var(--blue) !important; border: 1px solid rgba(92,178,255,.45); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.feature p { color: var(--muted); }
.feature .checks li { margin: 0 0 1rem; color: var(--muted); }
.feature .checks strong { color: var(--text); }
@media (max-width: 860px) { .products, .feature { grid-template-columns: 1fr; } .feature { gap: 1rem; } }

/* ===== Centered layout (v2) ===== */
.center { text-align: center; }
.section > h2, .section > .eyebrow { text-align: center; }
.section-lead { margin-left: auto; margin-right: auto; text-align: center; }
.page-hero { text-align: center; }
.page-hero .narrow, .page-hero .lead { margin-left: auto; margin-right: auto; }
.lead { max-width: 760px; }
.hero-grid { grid-template-columns: minmax(0, 1fr) !important; justify-items: center; gap: 2rem; }
.hero-img { width: 100%; max-width: min(440px, 100%); margin: 0 auto; }
.home-hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.8rem); }
.home-hero .accent { color: var(--orange-soft); }
.home-hero .lead { margin: 0 auto 1.5rem; }
.home-hero .hero-img { margin-top: 2.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.btn-ghost { background: transparent; color: var(--text); border: 2px solid var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.prose { margin-left: auto; margin-right: auto; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: none; }
.step { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem; }
.step-num { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--orange); color: #111827; font-weight: 900; font-size: 1.2rem; margin-bottom: 1rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Service cards: image on top, centered */
.cards { grid-template-columns: repeat(4, 1fr); }
.card { grid-template-columns: 1fr; text-align: center; gap: 1rem; align-content: start; }
.card img { width: 100%; max-width: 260px; margin: 0 auto; }
.card .problem { color: var(--orange-soft); font-weight: 700; font-style: italic; margin-bottom: .6rem; }
@media (max-width: 1060px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Case studies */
.cases { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.case { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.case h3 { text-align: center; font-size: 1.35rem; margin-bottom: 1rem; }
.case dl { margin: 0; }
.case dt { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-top: 1rem; }
.case dd { margin: .25rem 0 0; color: var(--muted); }
.case dd.result { color: var(--text); font-weight: 700; font-size: 1.1rem; }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } }

/* Hosting band */
.band { text-align: center; background: linear-gradient(90deg, rgba(243,110,38,.16), rgba(92,178,255,.12)); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.25rem 1.5rem; }
.band p { color: var(--muted); }
.band p:last-child { margin: 0; }

/* Panels, grids, products, themes: centered headings */
.grid-3 .panel, .two-up .panel { text-align: center; }
.product { text-align: center; }
.product p:not(.tagline):not(.status) { text-align: left; }
.product p:last-child { text-align: center !important; }
.feature { grid-template-columns: 1fr; text-align: center; }
.feature > div { max-width: 760px; margin: 0 auto; }
.feature .checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; text-align: left; }
@media (max-width: 700px) { .feature .checks { grid-template-columns: 1fr; } }

/* Team: two-column vertical cards */
.team { grid-template-columns: 1fr 1fr; }
.person { grid-template-columns: 1fr; text-align: center; gap: 1rem; }
.person img { width: 200px; margin: 0 auto; }
.person p:last-child { text-align: left; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }

/* Clients, CTA, footer base */
.clients a { text-align: center; }
.cta-line { text-align: center; }
.footer-base { text-align: center; }
.legal { text-align: left; }
