/* T-Star Digital green look. Colours and fonts match the wiki's website page. */
:root {
  --cream: #FBF9F4;
  --sand: #EFEBE1;
  --text: #1B2E24;
  --muted: #4F5E55;
  --accent: #2D6A4F;
  --dark: #1B4332;
  --mint: #95D5B2;
  --border: #D6D0C2;
  --on-dark: #E2F4EA;
  --on-dark-muted: #B7D3C3;
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--dark); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.section { padding-top: 80px; padding-bottom: 80px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }

h2 { font-size: 36px; line-height: 42px; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 22px; line-height: 28px; font-weight: 700; }
.eyebrow { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.mono, .address { font-family: var(--mono); font-size: 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 6px; background: var(--accent); color: #FFFFFF; font-size: 18px; font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--dark); color: #FFFFFF; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 16px; font-weight: 600; }
.btn-mint { background: var(--mint); color: var(--text); }
.btn-mint:hover { background: #B7E4C7; color: var(--text); }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--cream); }
.header-row { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 16px; font-weight: 600; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--accent); }

/* Hero */
.hero { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(40px, 7vw, 56px); line-height: 1.07; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.lead { max-width: 560px; font-size: 19px; line-height: 30px; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.address { color: var(--text); padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--sand); }
.note { font-size: 15px; color: var(--muted); }

.familiar { flex: 1 1 400px; min-width: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--sand); padding: 24px; }
.familiar .eyebrow { display: block; padding-bottom: 16px; }
.familiar ul { margin: 0; padding: 0; list-style: none; }
.familiar li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
.familiar li:last-child { border-bottom: 0; }
.familiar b { font-size: 14px; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* Services */
.band { background: var(--sand); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.section-head p { font-size: 18px; line-height: 28px; color: var(--muted); }
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 440px; min-width: 0; background: #FFFFFF; border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card p { font-size: 16px; line-height: 26px; color: var(--muted); }
.icon { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* How it works */
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 32px; }
.steps li { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--text); padding-top: 20px; }
.steps p { font-size: 16px; line-height: 26px; color: var(--muted); }
.step-num { font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--accent); }

/* About */
.about-band { border-top: 1px solid var(--border); }
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.photo { flex: 0 1 320px; min-width: 0; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 12px; background: var(--sand); border: 1px dashed #7D8A80; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; font-weight: 600; }
.about-text { flex: 1 1 420px; min-width: 0; max-width: 620px; display: flex; flex-direction: column; gap: 16px; }
.about-lead { font-size: 18px; line-height: 28px; }
.about-text p:not(.about-lead) { font-size: 16px; line-height: 26px; color: var(--muted); }

/* Closing band */
.dark-band { background: var(--dark); color: var(--on-dark); }
.closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.closing-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.closing-text h2 { color: #FFFFFF; text-wrap: balance; }
.closing-text p { font-size: 18px; line-height: 28px; color: var(--on-dark-muted); }
.closing-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.closing-cta .mono { color: var(--on-dark); }

/* Footer */
.footer { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }

@media (max-width: 480px) {
  .section, .hero { padding-top: 56px; padding-bottom: 56px; }
  h2 { font-size: 30px; line-height: 36px; }
  .familiar li { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
