/* Arca Digital — single-file marketing site
 * Brand palette mirrors Arcasend (sister product) for calm continuity.
 * Pure CSS, no build step. */

:root {
  --ink: #172033;
  --slate: #536078;
  --mist: #EEF3F8;
  --paper: #FFFFFF;
  --line: #DCE5EF;
  --blue: #3767FF;
  --blue-soft: rgba(55, 103, 255, 0.08);

  --radius-card: 22px;
  --radius-button: 10px;
  --shadow-card: 0 1px 0 rgba(23, 32, 51, 0.04),
                 0 1px 2px rgba(23, 32, 51, 0.04),
                 0 8px 24px -8px rgba(23, 32, 51, 0.08);
  --shadow-card-hover: 0 1px 0 rgba(23, 32, 51, 0.04),
                       0 2px 4px rgba(23, 32, 51, 0.06),
                       0 16px 40px -10px rgba(23, 32, 51, 0.12);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 480px);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", Inter, ui-sans-serif, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 24px 56px;
}

/* ─── Topbar ─── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.contact-link {
  color: var(--slate);
  font-size: 14px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-button);
  transition: background 120ms ease, color 120ms ease;
}
.contact-link:hover { background: var(--mist); color: var(--ink); }

/* ─── Hero ─── */
.hero {
  padding: 32px 0 48px;
  max-width: 720px;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 18px;
}
.hero .lede {
  color: var(--slate);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}

/* ─── Section title ─── */
.section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-bottom: 16px;
}

/* ─── Products ─── */
.products { padding: 16px 0 48px; }

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid rgba(220, 229, 239, 0.6);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 160ms ease, transform 160ms ease;
}
.product-card:not(.product-card--soon):hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.product-card--soon { opacity: 0.7; }

.product-glyph {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-glyph svg { width: 44px; height: 44px; display: block; }

.product-text { display: flex; flex-direction: column; gap: 4px; }
.product-name {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.product-tag {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.45;
  margin: 0;
  min-height: 60px;
}
.product-url {
  font-size: 12.5px;
  color: var(--blue);
  margin: 4px 0 0;
  font-variant-numeric: tabular-nums;
}
.product-card--soon .product-url { color: var(--slate); }

/* ─── About ─── */
.about {
  padding: 16px 0 48px;
  max-width: 720px;
}
.about p {
  color: var(--slate);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.about p:last-child { margin-bottom: 0; }

/* ─── Footer ─── */
.footer {
  padding-top: 32px;
  border-top: 1px solid rgba(220, 229, 239, 0.8);
}
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 640px) {
  .footer-row { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-meta, .footer-contact {
  font-size: 13px;
  color: var(--slate);
  margin: 0;
}
.footer-meta a, .footer-contact a {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}
.footer-meta a:hover, .footer-contact a:hover {
  color: var(--ink);
  border-bottom-color: var(--slate);
}

/* ─── Reduce motion ─── */
@media (prefers-reduced-motion: reduce) {
  .product-card { transition: none; }
}
