/* Roha IT Solutions — rohait.com
   Standalone corporate marketing site.
   No framework. Inter from Google Fonts. */

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-deep: #134e4a;
  --ink: #0f172a;
  --ink-soft: #1f2937;
  --muted: #475569;
  --muted-2: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-deep: #0f172a;
  --amber: #d97706;
  --violet: #7c3aed;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal-deep); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px;
}
.skip-link:focus { left: 12px; top: 12px; z-index: 100; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: var(--shadow-sm);
}
.brand-mark.small { width: 28px; height: 28px; border-radius: 8px; font-size: 14px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-weight: 800; font-size: 16px; color: var(--ink); }
.brand-text small { color: var(--muted); font-size: 12px; }
.site-nav {
  margin-left: auto;
  display: flex; gap: 24px;
}
.site-nav a {
  color: var(--ink-soft); font-weight: 500; font-size: 14px;
}
.site-nav a:hover { color: var(--teal-dark); }

/* ---------- buttons ---------- */
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600; font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.cta-primary {
  background: var(--teal-dark);
  color: #fff;
  border-color: var(--teal-dark);
  box-shadow: var(--shadow-sm);
}
.cta-primary:hover { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }
.cta-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.cta-ghost:hover { border-color: var(--teal-dark); color: var(--teal-dark); }
.cta-block { display: block; text-align: center; width: 100%; font-size: 16px; padding: 14px 18px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(13, 148, 136, 0.10), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(124, 58, 237, 0.06), transparent 60%),
    var(--bg);
  padding: 88px 0 64px;
}
.hero-inner { max-width: 820px; }
.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 12px;
  color: var(--teal-dark);
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.lede {
  margin: 0 0 28px;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 680px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-strip {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.hero-strip li {
  font-size: 12px; font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-muted { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.01em;
  font-weight: 800;
}
.section-lede { color: var(--muted); margin: 0; }

/* ---------- product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 1080px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}
.product-card {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 148, 136, 0.4);
}
.product-card-feature {
  border-color: rgba(13, 148, 136, 0.4);
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(13, 148, 136, 0.08), transparent 60%),
    #fff;
}
.product-card header {
  display: flex; align-items: center; gap: 12px;
}
.product-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff; font-weight: 800; font-size: 16px;
  flex-shrink: 0;
}
.product-mark.mark-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
}
.product-mark.mark-violet {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}
.product-card h3 {
  margin: 0;
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.01em;
}
.product-tag {
  margin: 2px 0 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  font-weight: 600;
}
.product-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.product-points {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.product-points li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.product-points li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--teal); border-radius: 2px;
}
.product-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
}
.product-status {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 999px;
}
.status-shipping { color: var(--teal-deep); background: rgba(13, 148, 136, 0.12); }
.status-preview { color: #b45309; background: rgba(245, 158, 11, 0.14); }
.status-design { color: #6d28d9; background: rgba(124, 58, 237, 0.12); }
.status-discovery { color: var(--muted); background: rgba(100, 116, 139, 0.12); }

.product-card-more {
  border: 1px dashed var(--line);
  background: var(--bg-soft);
  box-shadow: none;
}
.product-card-more:hover { border-color: var(--teal-dark); }
.product-mark.mark-outline {
  background: #fff;
  color: var(--teal-dark);
  border: 1px dashed var(--teal-dark);
  font-weight: 700;
}

/* ---------- about / two-col ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.two-col h2 { margin-top: 0; }
.stat-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-stack > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.stat-stack strong {
  display: block;
  font-size: 28px; font-weight: 800;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
}
.stat-stack span {
  font-size: 12px;
  color: var(--muted);
  display: block; margin-top: 4px;
  line-height: 1.4;
}

/* ---------- pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillars article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}
.pillars h3 {
  margin: 0 0 8px;
  font-size: 16px; font-weight: 700;
  color: var(--teal-deep);
}
.pillars p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- contact ---------- */
.section-cta {
  background:
    radial-gradient(800px 300px at 100% 0%, rgba(13, 148, 136, 0.12), transparent 60%),
    var(--bg-deep);
  color: #e2e8f0;
}
.section-cta .eyebrow { color: #5eead4; }
.section-cta h2 { color: #ffffff; }
.section-cta p { color: rgba(226, 232, 240, 0.85); margin: 0 0 8px; }
.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-card {
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}
.contact-meta {
  margin: 18px 0 0;
  display: grid; gap: 10px;
}
.contact-note {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.55;
}
.contact-meta > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  font-size: 13px;
}
.contact-meta dt {
  color: var(--muted-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  padding-top: 2px;
}
.contact-meta dd {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- footer ---------- */
.site-footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: 56px 0 24px;
}
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 32px;
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand strong { color: #fff; font-weight: 700; display: block; }
.footer-brand p { margin: 4px 0 0; color: #94a3b8; font-size: 13px; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer-nav h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin: 0 0 12px;
}
.footer-nav a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
}
.site-footer-fine {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #94a3b8;
  font-size: 12px;
}
.site-footer-fine a { color: #94a3b8; }
.site-footer-fine a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .product-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .site-header-inner { flex-wrap: wrap; row-gap: 10px; }
  .site-nav {
    order: 3;
    margin-left: 0;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { white-space: nowrap; font-size: 13px; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .stat-stack { grid-template-columns: 1fr 1fr; }
  .contact-meta > div { grid-template-columns: 1fr; gap: 2px; }
  .hero h1 { font-size: clamp(30px, 8vw, 40px); }
}

/* ---------- a11y: focus-visible ---------- */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
.cta:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 3px;
  border-radius: 6px;
}
.product-card a:focus-visible { outline-offset: 2px; }
.cta-primary:focus-visible { outline-color: #fff; box-shadow: 0 0 0 4px var(--teal-dark); }

/* ---------- footer "(soon)" non-link items ---------- */
.footer-soon {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: #64748b;
  cursor: not-allowed;
}
.footer-soon em { font-style: normal; opacity: 0.7; font-size: 12px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .product-card:hover { transform: none; }
}

/* ---------- legal / long-form pages ---------- */
.legal { max-width: 760px; }
.legal h1 {
  margin: 8px 0 4px;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.01em;
  font-weight: 800;
}
.legal-meta {
  color: var(--muted-2);
  font-size: 13px;
  margin: 0 0 32px;
}
.legal h2 {
  margin: 36px 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.legal p, .legal li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}
.legal ul {
  padding-left: 22px;
  margin: 8px 0 16px;
}
.legal li { margin-bottom: 6px; }
.legal code {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
