/* Sirkit marketing site — hand-built static CSS, no framework.
   Brand: purple #873593, indigo #3D4C9F, teal #43C1C5 (accent only), ink #434343.
   System font stack (no webfont download — school-office DSL friendly); the brand
   is carried by color + the SVG logos, matching the SPA's light visual language. */

:root {
  --purple: #873593;
  --purple-dark: #6d2a77;
  --indigo: #3D4C9F;
  --teal: #43C1C5;
  --ink: #434343;
  --muted: #767676;
  --border: #E4E0EA;
  --bg-alt: #F7F5FA;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; }
a { color: var(--indigo); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); }
.btn-outline { border-color: var(--purple); color: var(--purple); background: #fff; }
.btn-outline:hover { background: var(--bg-alt); }
.btn-light { background: #fff; color: var(--purple); }
.btn-light:hover { background: var(--bg-alt); }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
}
.nav-logo { height: 34px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--ink); }
.nav-links .btn { padding: 8px 20px; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 72px 24px 64px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}
.hero-mark { height: 72px; margin-bottom: 24px; }
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  max-width: 720px;
  margin: 0 auto 16px;
}
.hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ── Sections ────────────────────────────────────────────────────────── */
.section { padding: 64px 24px; max-width: 1080px; margin: 0 auto; }
.section h2 { font-size: 32px; font-weight: 700; text-align: center; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 36px; }
.section-alt { max-width: none; background: var(--bg-alt); }
.section-alt > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.section-alt h2 { margin-bottom: 10px; }
.center { text-align: center; margin-top: 28px; }

/* ── Feature cards ───────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
}
.card h3 { font-size: 18px; margin-bottom: 8px; color: var(--purple); }
.card p { font-size: 15px; color: var(--ink); }

/* ── Pricing table ───────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pricing {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  min-width: 640px; /* pans inside .table-wrap on phones — headers never wrap to mush */
}
.pricing th, .pricing td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: 15px;
}
.pricing td:first-child { text-align: left; font-weight: 500; }
.pricing thead th { background: #fff; vertical-align: top; padding-top: 20px; padding-bottom: 16px; }
.plan-name { display: block; font-size: 18px; font-weight: 700; color: var(--ink); }
.plan-price { display: block; font-size: 24px; font-weight: 800; color: var(--purple); margin-top: 4px; }
.plan-price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan-yr { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.plan-featured { background: var(--bg-alt); }
.pricing tbody td { color: var(--ink); }

/* ── Apps ────────────────────────────────────────────────────────────── */
#apps { text-align: center; }
.apps-soon { font-size: 17px; color: var(--muted); }

/* ── Contact ─────────────────────────────────────────────────────────── */
.section-brand {
  max-width: none;
  background: var(--purple);
  color: #fff;
}
.section-brand h2, .section-brand .section-sub { color: #fff; }
.section-brand .section-sub { opacity: .9; }
.contact-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}
.footer-mark { height: 32px; margin-bottom: 14px; }
.footer-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--purple); }

/* ── Phones (390px-class) ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 48px 20px 44px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 16px; }
  .hero-mark { height: 56px; }
  .section { padding: 44px 18px; }
  .section h2 { font-size: 25px; }
  .nav-logo { height: 28px; }
  .btn { padding: 11px 22px; font-size: 15px; }
}
