/* Shiporah — marketing site styles
   Written by hand. Brand colours pulled from the invoice/invite emails:
   navy #1F4E79, gold #FFC000. Warm paper background so it doesn't feel
   like every other indigo SaaS page. */

:root {
  --navy: #1f4e79;
  --navy-deep: #173a5b;
  --gold: #ffc000;
  --gold-ink: #8a6400;
  --ink: #1c242e;
  --muted: #5d6772;
  --line: #e7e3da;
  --paper: #fbfaf6;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(28, 36, 46, .05), 0 8px 24px rgba(28, 36, 46, .06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  /* serif headings give it an editorial, less-templated feel */
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.01em;
  font-weight: 600;
}

a { color: var(--navy); }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, .9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  font-family: "Iowan Old Style", Georgia, serif;
}
.brand .mark {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
}
.brand .mark b { color: var(--gold); }
.brand .tag {
  font-family: -apple-system, "Segoe UI", sans-serif;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 6px;
}
.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: .92rem;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
}
.nav-links a:hover { color: var(--navy); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  border-radius: 7px;
  padding: 9px 16px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .04s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-gold { background: var(--gold); color: #3a2c00; }
.btn-gold:hover { background: #f0b500; }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: #cfc9bc; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 36px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}
.kicker {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 14px;
}
.hero h1 { font-size: 2.85rem; margin: 0 0 18px; }
.hero p.lead {
  font-size: 1.16rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 30em;
}
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-cta .small {
  font-size: .86rem;
  color: var(--muted);
}

/* the little product mock on the right of the hero */
.mock {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(-.6deg);
}
.mock .mock-bar {
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
}
.mock .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.mock .dot.gold { background: var(--gold); }
.mock .mock-body { padding: 16px; }
.mock .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .9rem;
}
.mock .row:last-child { border-bottom: 0; }
.mock .row .inv { font-weight: 600; color: var(--navy); min-width: 88px; }
.mock .row .muted { color: var(--muted); flex: 1; }
.mock .row .amt {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
  font-size: .86rem;
}
.mock .row .pill { flex: 0 0 auto; min-width: 88px; text-align: center; }
.pill {
  font-size: .72rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 20px;
}
.pill.approved { background: #e7f4ec; color: #1c7a43; }
.pill.draft { background: #eef0f2; color: #5d6772; }
.pill.bl { background: #fff3da; color: var(--gold-ink); }
.mock .total {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 2px solid var(--navy);
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- generic section ---------- */
section { padding: 56px 0; }
.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 10px;
}
.section-head h2 { font-size: 2rem; margin: 0 0 12px; }
.section-head p {
  color: var(--muted);
  max-width: 40em;
  margin: 0;
}

/* the "what it is" band */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .prose {
  max-width: 38em;
  font-size: 1.18rem;
  line-height: 1.7;
}
.band .prose p { margin: 0 0 18px; }
.band .prose strong { color: var(--navy); }
.signoff {
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- big feature blocks ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  padding: 38px 0;
}
.feature.flip .feature-text { order: 2; }
.feature h3 { font-size: 1.5rem; margin: 0 0 12px; }
.feature p { color: var(--muted); margin: 0 0 16px; }
.feature ul { margin: 0; padding-left: 0; list-style: none; }
.feature li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: .98rem;
}
.feature li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--gold);
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 22px;
}

/* report list inside a panel */
.report-list { display: flex; flex-direction: column; gap: 0; }
.report-list .item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.report-list .item:last-child { border-bottom: 0; }
.report-list .ic {
  width: 30px; height: 30px;
  flex: 0 0 30px;
  border-radius: 6px;
  background: #eef2f6;
  color: var(--navy);
  display: grid; place-items: center;
  font-weight: 700; font-size: .8rem;
}
.report-list .name { font-weight: 600; }
.report-list .desc { color: var(--muted); font-size: .86rem; }
.report-list .item.allinone .ic { background: var(--gold); color: #3a2c00; }

/* ---------- workflow strip ---------- */
.workflow { background: var(--navy); color: #eaf0f6; }
.workflow h2 { color: #fff; }
.workflow .section-label { color: var(--gold); }
.workflow .section-head p { color: #b9c7d6; }
.pipeline {
  display: flex;
  gap: 0;
  margin-top: 34px;
  flex-wrap: wrap;
}
.stage {
  flex: 1 1 160px;
  position: relative;
  padding: 0 14px;
}
.stage .num {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  display: grid; place-items: center;
  font-weight: 700;
  margin-bottom: 12px;
}
.stage h4 { margin: 0 0 6px; color: #fff; font-size: 1.02rem; }
.stage p { margin: 0; color: #aebfd0; font-size: .88rem; }
.stage:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px; left: 47px; right: -3px;
  height: 2px;
  background: rgba(255,255,255,.18);
}

/* ---------- small capability grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.cap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
.cap .cap-mark {
  font-family: "Iowan Old Style", Georgia, serif;
  color: var(--gold-ink);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
}
.cap h4 { margin: 8px 0 6px; color: var(--navy); font-size: 1.05rem; }
.cap p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- roles ---------- */
.roles .grid { grid-template-columns: repeat(3, 1fr); }
.role { border-top: 3px solid var(--gold); }
.role h4 { font-size: 1.1rem; }
.role .who { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ---------- closing CTA ---------- */
.cta-band {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 44px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: 1.9rem; margin: 0 0 10px; }
.cta-band p { color: var(--muted); margin: 0 0 24px; }

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 36px 0;
  font-size: .9rem;
  color: var(--muted);
}
.site-foot .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--navy); }
.foot-links { display: flex; gap: 20px; }

/* ---------- login page ---------- */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.login-aside {
  background: var(--navy);
  color: #eaf0f6;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
}
.login-aside .brand .mark { color: #fff; }
.login-aside .brand .tag { color: #b9c7d6; border-color: rgba(255,255,255,.25); }
.login-aside h2 { color: #fff; font-size: 2rem; margin: auto 0 16px; max-width: 14em; }
.login-aside .aside-note { color: #aebfd0; font-size: .95rem; max-width: 26em; }
.login-aside ul { list-style: none; padding: 0; margin: 18px 0 0; }
.login-aside li {
  padding: 7px 0 7px 24px;
  position: relative;
  color: #cdd9e6;
  font-size: .95rem;
}
.login-aside li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--gold);
}

.login-main {
  display: grid;
  place-items: center;
  padding: 40px;
}
.login-card { width: 100%; max-width: 380px; }
.login-card h1 { font-size: 1.7rem; margin: 0 0 6px; }
.login-card .sub { color: var(--muted); margin: 0 0 26px; font-size: .95rem; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  font: inherit;
  font-size: .98rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.field input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(31, 78, 121, .12);
}
.field-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.field-row a { font-size: .82rem; text-decoration: none; }
.login-card .btn-primary { width: 100%; justify-content: center; padding: 12px; font-size: 1rem; }
.login-foot {
  margin-top: 22px;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}
.divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: .8rem;
  margin: 22px 0;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.back-home { display: inline-block; margin-top: 26px; font-size: .85rem; color: var(--muted); text-decoration: none; }
.back-home:hover { color: var(--navy); }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 2.3rem; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
  .grid, .roles .grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .login-page { grid-template-columns: 1fr; }
  .login-aside { display: none; }
}

/* ---------- sub-pages (FAQ, Security, Terms, Privacy) ---------- */
.subpage { padding: 48px 0 16px; max-width: 880px; }
.back-top {
  display: inline-block;
  font-size: .85rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 22px;
}
.back-top:hover { color: var(--navy); }
.page-hero { margin-bottom: 34px; }
.page-hero h1 { font-size: 2.3rem; margin: 0 0 10px; }
.page-hero .sub { color: var(--muted); font-size: 1.1rem; max-width: 42em; margin: 0; }
.page-hero .updated {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  margin-top: 10px;
}

/* callout / notice */
.notice {
  background: #e7f4ec;
  border-left: 4px solid #1c7a43;
  border-radius: 8px;
  padding: 16px 18px;
  color: #14532d;
  font-size: .96rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.notice strong { font-weight: 700; }

/* FAQ — native <details> accordion, no JS */
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item > summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  color: var(--gold-ink);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item .faq-body {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.65;
}
.faq-item .faq-body strong { color: var(--ink); }
.faq-item .faq-body ul { margin: 10px 0 0; padding-left: 20px; }
.faq-item .faq-body li { margin: 4px 0; }

/* legal pages (Terms, Privacy) */
.legal {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 26px 32px;
}
.legal section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.legal section:first-child { padding-top: 4px; }
.legal section:last-child { border-bottom: 0; padding-bottom: 4px; }
.legal h2 { font-size: 1.2rem; margin: 0 0 10px; }
.legal p { color: var(--muted); margin: 0; line-height: 1.72; }
.legal ul { color: var(--muted); padding-left: 20px; line-height: 1.72; margin: 8px 0 0; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--ink); }

/* Security cards reuse .grid/.cap; add accents + closing panel */
.cap.sec { border-top: 3px solid var(--navy); }
.cap.sec.ok { border-top-color: #1c7a43; }
.soft-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 22px 24px;
  margin-top: 28px;
}
.soft-panel h3 { font-size: 1.1rem; margin: 0 0 8px; color: var(--navy); }
.soft-panel p { color: var(--muted); margin: 0; line-height: 1.7; }
