/*
FileName: style.css
Version: 1.0.0
Purpose: Lightweight A-SUN .ir gateway/catalog.
Decision Log: Static-first; no framework; no external dependency.
*/

:root {
  --color-primary: #a46497;
  --color-accent: #2d5c4d;
  --bg-light: #e7e7e7;
  --bg-dark: #323232;
  --text: #262626;
  --muted: #696969;
  --white: #f5f5f2;
  --radius-asym: 0 7px 0 7px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text);
  font-family: "Tahoma", "Segoe UI", sans-serif;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

.sunline {
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-primary) 18%,
    var(--color-accent) 50%,
    var(--color-primary) 82%,
    transparent 100%
  );
}

.topbar {
  max-width: var(--max-width);
  margin: auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius-asym);
}

nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

nav a:hover,
.card a:hover,
footer a:hover {
  color: var(--color-primary);
}

main {
  max-width: var(--max-width);
  margin: auto;
  padding: 55px 28px 20px;
}

.hero {
  max-width: 820px;
  padding: 30px 0 90px;
}

.eyebrow,
.label {
  direction: ltr;
  text-align: right;
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.hero h1 {
  margin: 15px 0;
  font-size: clamp(48px, 8vw, 94px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 800;
}

.hero h1 em {
  color: var(--color-primary);
  font-style: normal;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #b9b9b9;
  border-radius: var(--radius-asym);
  transition: .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.button.primary {
  background: var(--bg-dark);
  color: var(--white);
  border-color: var(--bg-dark);
}

.catalog {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.card {
  min-height: 245px;
  padding: 25px;
  background: rgba(255,255,255,.36);
  border: 1px solid rgba(50,50,50,.12);
  border-radius: var(--radius-asym);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s ease, background .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.58);
}

.card.featured {
  background: var(--bg-dark);
  color: var(--white);
}

.card.featured .label,
.card.featured a {
  color: #d5aaca;
}

.number {
  direction: ltr;
  font-family: monospace;
  font-size: 12px;
  opacity: .65;
}

.card h2 {
  margin: 8px 0;
  font-size: 28px;
}

.card p {
  color: var(--muted);
  max-width: 520px;
}

.card.featured p {
  color: #c8c8c8;
}

.card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--color-accent);
  font-weight: 700;
}

.statement {
  margin: 70px 0 30px;
  padding: 22px 0;
  border-top: 1px solid rgba(50,50,50,.18);
  border-bottom: 1px solid rgba(50,50,50,.18);
  display: flex;
  align-items: center;
  gap: 14px;
  direction: ltr;
  font-family: monospace;
  font-size: 13px;
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

footer {
  max-width: var(--max-width);
  margin: 30px auto;
  padding: 20px 28px 35px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
  direction: ltr;
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  main {
    padding-top: 30px;
  }

  .hero {
    padding-bottom: 55px;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 70px);
  }

  .catalog {
    grid-template-columns: 1fr;
  }

  .statement {
    overflow: hidden;
    white-space: nowrap;
    font-size: 11px;
  }

  footer {
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .button { transition: none; }
}
