:root {
  --salt: #f3f5f1;      /* page background: salt-white with a little green */
  --ink: #10202b;       /* text and dark bands */
  --tide: #1b5e7a;      /* links, secondary */
  --deep: #0d3346;      /* support band */
  --marigold: #ffaa4d;  /* the logo orange: contact buttons and the sun */
  --muted: #4a5a63;
  --line: rgba(16, 32, 43, 0.16);

  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--salt);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--tide); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }
p, li { max-width: 62ch; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-weight: 700; line-height: 1.05; letter-spacing: -0.015em; margin: 0; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 750; }
h3 { font-size: 1.25rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  font: 600 1rem/1.2 var(--font);
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.15s, color 0.15s;
}
.btn--sun { background: var(--marigold); color: var(--ink); }
.btn--sun:hover { background: #ffbe75; }
.btn--line { border-color: currentColor; color: inherit; }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--salt); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.nav__brand { display: block; line-height: 0; }
.nav__brand img { height: 54px; width: auto; }
@media (max-width: 760px) { .nav__brand img { height: 44px; } }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav__links a:hover { color: var(--tide); }
@media (max-width: 760px) { .nav__links .nav__section { display: none; } }

/* Hero: headline over a Pacific horizon with the sun going down behind it */
.hero { position: relative; overflow: hidden; padding-bottom: clamp(56px, 9vw, 120px); }
.hero__sun {
  position: absolute;
  right: calc(var(--gutter) * 0.5);
  bottom: clamp(56px, 9vw, 120px);
  width: clamp(180px, 30vw, 420px);
  aspect-ratio: 2 / 1;
  border-radius: 999px 999px 0 0;
  background: var(--marigold);
  z-index: 0;
}
.hero__horizon {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(56px, 9vw, 120px);
  border-top: 2px solid var(--ink);
}
.hero__copy { position: relative; z-index: 1; padding-top: clamp(40px, 8vw, 110px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero h1 {
  font-size: clamp(2.7rem, 8.4vw, 7.4rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.035em;
  max-width: 11ch;
}
.hero__made { display: block; margin-top: 0.3em; font-size: 0.5em; line-height: 1.1; color: var(--tide); letter-spacing: -0.01em; }
.hero__lede { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--muted); margin: 1.4em 0 1.8em; max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero__actions .link { font-weight: 600; color: var(--ink); }
.hero__note { margin: 1.1em 0 0; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 760px) {
  .hero__sun { width: 150px; right: var(--gutter); }
  .hero__copy { padding-bottom: 104px; } /* keep the text above the sun */
}

/* Two-column sections: heading left, content right */
.section { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.split { display: grid; gap: 28px 64px; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; } }
.split__head p { color: var(--muted); margin: 1em 0 0; }

/* Website package */
.price { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0; }
.price__note { color: var(--muted); margin: 0.6em 0 1.6em; }
.checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checks li { padding: 0.85em 0 0.85em 2em; border-bottom: 1px solid var(--line); position: relative; max-width: none; }
.checks li::before {
  content: "";
  position: absolute; left: 0.2em; top: 1.2em;
  width: 0.75em; height: 0.4em;
  border-left: 2px solid var(--tide); border-bottom: 2px solid var(--tide);
  transform: rotate(-45deg);
}
.checks strong { font-weight: 650; }

/* Site tiers: name and description left, price right */
.tiers { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.tiers li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 28px;
  align-items: baseline;
  padding: 1.3em 0;
  border-bottom: 1px solid var(--line);
  max-width: none;
}
.tiers h3 { font-size: 1.35rem; }
.tiers p { margin: 0.35em 0 0; color: var(--muted); }
.tiers .tiers__price { margin: 0; color: var(--ink); font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
@media (max-width: 560px) { .tiers li { grid-template-columns: 1fr; } }
.price__note { margin-top: 1.2em; }
.tax-note { margin: 2.2em 0 0; font-size: 0.85rem; color: var(--muted); opacity: 0.85; }
.subhead { font-size: 1.25rem; margin: 2.2em 0 0.9em; }


/* Monthly support under each tier's price */
.tiers__cost { text-align: right; }
.tiers .tiers__price--quote { font-size: 1.15rem; letter-spacing: -0.01em; }
.tiers .tiers__monthly { margin: 0.3em 0 0; font-size: 0.95rem; font-weight: 600; color: var(--tide); white-space: nowrap; }
@media (max-width: 560px) { .tiers__cost { text-align: left; } }

/* Change sizes: a real scale from quick to new feature, so it's numbered */
.sizes { list-style: none; margin: 0; padding: 0; counter-reset: size; border-top: 1px solid rgba(243, 245, 241, 0.2); }
.sizes li { counter-increment: size; display: grid; grid-template-columns: 2.2em 11em 1fr; gap: 4px 12px; padding: 0.85em 0; border-bottom: 1px solid rgba(243, 245, 241, 0.2); max-width: none; }
.sizes li::before { content: counter(size); color: var(--marigold); font-weight: 800; }
.sizes strong { font-weight: 650; }
.sizes span { color: rgba(243, 245, 241, 0.8); }
@media (max-width: 560px) { .sizes li { grid-template-columns: 2.2em 1fr; } .sizes span { grid-column: 2; } }

/* Support plans and price list */
.plans { display: grid; gap: 18px; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { border: 1px solid rgba(243, 245, 241, 0.25); border-radius: 12px; padding: 1.4em 1.5em; }
.plan h3 { font-size: 1.15rem; }
.plan__price { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin: 0.3em 0 0.4em; color: var(--marigold); }
.plan__price span { font-size: 1rem; font-weight: 500; color: rgba(243, 245, 241, 0.7); letter-spacing: 0; }
.plan p:last-child { margin: 0; color: rgba(243, 245, 241, 0.8); font-size: 0.98rem; }
.band__lede { color: rgba(243, 245, 241, 0.72); margin: -0.4em 0 1em; }
.pricelist { width: 100%; border-collapse: collapse; }
.pricelist th, .pricelist td { padding: 0.75em 0; border-bottom: 1px solid rgba(243, 245, 241, 0.2); text-align: left; vertical-align: top; }
.pricelist th { font-weight: 400; padding-right: 20px; }
.pricelist td { font-weight: 650; white-space: nowrap; text-align: right; }
.fine { margin: 1.2em 0 0; padding-left: 1.1em; font-size: 0.95rem; color: rgba(243, 245, 241, 0.72); }
.fine li { margin: 0.3em 0; }

/* Support band */
.band { background: var(--deep); color: var(--salt); }
.band .split__head p { color: rgba(243, 245, 241, 0.72); }
.band .checks { border-color: rgba(243, 245, 241, 0.2); }
.band .checks li { border-color: rgba(243, 245, 241, 0.2); }
.band .checks li::before { border-color: var(--marigold); }
.band a { color: var(--marigold); }
.callout { margin-top: 2em; padding: 1.4em 1.6em; border-left: 4px solid var(--marigold); background: rgba(243, 245, 241, 0.06); }
.callout h3 { margin-bottom: 0.4em; }
.callout p { margin: 0; color: rgba(243, 245, 241, 0.82); }

/* Work */
.case { display: grid; gap: 32px 56px; margin-top: 40px; align-items: start; }
@media (min-width: 900px) { .case { grid-template-columns: 7fr 5fr; } }
.shot {
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 2px solid var(--ink); background: var(--salt); }
.shot__bar span { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); }
.shot__bar em { margin-left: 10px; font-style: normal; font-size: 0.85rem; color: var(--muted); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot__empty { display: none; }
.shot.is-empty .shot__empty {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 10;
  background: #123b33; color: #eef3ee;
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em;
}
.case__media { margin: 0; }
.case__media img { width: 100%; height: auto; border-radius: 14px; }
.case__copy h3 { font-size: 1.6rem; }
.case__copy p { color: var(--muted); }
.case__copy .checks { margin: 1.2em 0 1.6em; }

/* Process: a real sequence, so it's numbered */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 32px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--tide); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0.5em 0 0; }

/* About */
.about { border-top: 1px solid var(--line); }
.about p { font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.5; margin: 0 0 1em; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1em 2.2em 1.1em 0;
  font-weight: 650;
  font-size: 1.1rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2em; top: 0.85em; font-size: 1.5rem; font-weight: 400; color: var(--tide); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.3em; color: var(--muted); }

/* Contact */
.contact { background: var(--ink); color: var(--salt); }
.contact h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 800; letter-spacing: -0.03em; max-width: 14ch; }
.contact p { color: rgba(243, 245, 241, 0.75); font-size: 1.15rem; margin: 1em 0 2em; }
.contact__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.contact__links .link { color: var(--salt); font-weight: 600; }
.contact .fallback { color: var(--marigold); margin: 0; }

/* Footer */
.footer { background: var(--ink); color: rgba(243, 245, 241, 0.6); border-top: 1px solid rgba(243, 245, 241, 0.14); font-size: 0.92rem; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 26px; padding-bottom: 26px; }
.footer p { margin: 0; }
.footer a { color: inherit; }
.footer__logo { height: 44px; width: auto; }

/* Simple pages (404) */
.page { max-width: 640px; margin: 0 auto; padding: 120px var(--gutter); }
.page__logo { height: 56px; width: auto; margin-bottom: 40px; }
.page h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 800; }
.page p { color: var(--muted); }
