/* diamondhq.net. Groundskeeper look: chalk ground, ink text, grass green as the one brand color,
   clay only for small marks. Fonts are self-hosted (OFL); no third-party requests. */

@font-face {
  font-family: "Anybody";
  src: url("/fonts/anybody-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("/fonts/martian-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #13221a;
  --ground: #fbfaf4;
  --sand: #f2f0e4;
  --line: #dddacb;
  --rule: #9aa79e;
  --text-2: #3a4a40;
  --muted: #5a6a5f;
  --grass: #2f6b3e;
  --grass-2: #33724a;
  --clay: #c2562b;
  --clay-text: #a8441c;
  --on-grass: #e4efe6;
  --wrap: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--grass); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }

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

.display {
  font-family: "Anybody", "Arial Narrow", sans-serif;
  font-stretch: 62%;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.9;
}

.mono {
  font-family: "Martian Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.label { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--muted); }
.label::after { content: ""; width: 48px; border-top: 1px solid var(--rule); }

h1, h2, h3 { margin: 0; }
p { margin: 0; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--ground);
  z-index: 10;
}
.skip:focus { top: 12px; color: var(--ground); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ink:hover { background: #22382b; color: var(--ground); }
.btn-grass { background: var(--grass); color: #fff; }
.btn-grass:hover { background: #255733; color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--ground); }
.btn-light { background: var(--ground); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-line-light { border-color: var(--ground); color: var(--ground); }
.btn-line-light:hover { background: var(--ground); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .display { font-size: 28px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; }
.main-nav a { color: var(--text-2); text-decoration: none; padding: 8px 0; }
.main-nav a:hover { color: var(--grass); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--grass); }
.header-cta { margin-left: auto; }

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: 14px; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; gap: 24px 56px; justify-content: space-between; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .display { font-size: 24px; color: var(--ink); }
.footer-brand a, .footer-nav a { color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.footer-note { flex-basis: 100%; font-size: 13px; }

/* Mowed grass */
.mow {
  background-color: var(--grass);
  background-image: repeating-linear-gradient(135deg, var(--grass) 0 80px, var(--grass-2) 80px 160px);
  color: #fff;
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-self: start; }
.hero h1 { font-size: 96px; }
.lede { font-size: 19px; color: var(--text-2); max-width: 28em; }
.shots { position: relative; padding-bottom: 40px; }
/* Mowed grass behind the lower half of the screenshots, running off the right edge. */
.shots::before {
  content: "";
  position: absolute;
  left: -40px;
  right: -50vw;
  top: 45%;
  bottom: -88px;
  background-color: var(--grass);
  background-image: repeating-linear-gradient(135deg, var(--grass) 0 80px, var(--grass-2) 80px 160px);
}
.browser, .phone-shot { position: relative; }
.browser { background: #fff; border: 1px solid var(--ink); box-shadow: 0 24px 48px rgba(19, 34, 26, 0.18); }
.browser-bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 9px; height: 9px; background: var(--line); }
.browser-bar .url { width: auto; height: auto; background: none; margin-left: 10px; font-family: "Martian Mono", monospace; font-size: 11px; color: var(--muted); }
.phone-shot { position: absolute; right: -28px; bottom: 0; width: 26%; border: 1px solid var(--ink); background: #fff; box-shadow: 0 18px 36px rgba(19, 34, 26, 0.25); }

.facts { border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; font-size: 15px; color: var(--text-2); }
.facts li { display: flex; gap: 10px; align-items: center; }

/* Sections */
.section { padding: 112px 0 96px; }
.section-flush { padding-top: 0; }
.section-title { font-size: 64px; max-width: 12em; margin-bottom: 56px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); column-gap: 48px; border-top: 1px solid var(--line); }
.features li { display: flex; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.features svg { width: 28px; height: 28px; flex: none; color: var(--grass); }
.features h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.features p { font-size: 15px; color: var(--muted); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split-copy { display: flex; flex-direction: column; gap: 16px; }
.split-copy .label { margin: 0; }
.split h2 { font-size: 56px; }
.split-copy p { color: var(--text-2); }
.frame { border: 1px solid var(--ink); background: #fff; height: 420px; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.caption { margin-top: 10px; font-size: 13px; color: var(--muted); }

.band { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 96px 0; }
.band h2 { font-size: 56px; margin-bottom: 48px; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; border-top: 1px solid var(--rule); }
.steps li { position: relative; display: flex; flex-direction: column; gap: 12px; }
.steps .mono { color: var(--clay-text); }
.steps h3 { font-size: 20px; font-weight: 600; }
.steps p { font-size: 15px; color: var(--muted); }

.apps-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 64px; align-items: center; }
.apps-head { display: flex; flex-direction: column; gap: 16px; }
.apps-head .label { margin: 0; }
.apps-head h2 { margin: 0; }
.apps-head p { color: var(--text-2); }
.phones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.phones li:nth-child(2) { transform: translateY(-32px); }
.phones img { border: 1px solid var(--ink); background: #fff; box-shadow: 0 18px 36px rgba(19, 34, 26, 0.14); }
.apps-shots .caption { margin-top: 20px; }

.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; border-top: 1px solid var(--ink); padding-top: 32px; }
.promises h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.promises p { font-size: 15px; color: var(--muted); }

.cta { padding: 96px 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.cta-copy { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.cta .mono { color: #d5e6d9; font-size: 13px; }
.cta h2 { font-size: 72px; }
.cta p { font-size: 18px; color: var(--on-grass); }
.cta-apply { display: flex; flex-direction: column; gap: 14px; min-width: 300px; padding: 28px; background: rgba(19, 34, 26, 0.28); border: 1px solid rgba(251, 250, 244, 0.35); }
.cta-apply ul { margin: 0; padding: 0 0 0 18px; color: #fff; font-size: 16px; }
.cta-apply li { padding: 3px 0; }
.cta-apply .btn { margin-top: 8px; }

/* Pricing */
.page-head { padding: 96px 0 64px; text-align: center; }
.page-head .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.page-head .mono { color: var(--muted); }
.page-head h1 { font-size: 88px; }
.page-head p { font-size: 19px; color: var(--text-2); max-width: 32em; }

.plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); border: 1px solid var(--ink); background: #fff; }
.plan-main { padding: 44px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); }
.plan-name { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; }
.plan-price { margin-top: 12px; font-size: 48px; }
.plan-note { font-size: 15px; color: var(--muted); }
.plan-main .btn { margin-top: 16px; align-self: flex-start; }
.plan-list { padding: 44px; }
.plan-list .mono { color: var(--muted); margin-bottom: 18px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 28px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: baseline; }
.checks svg { flex: none; }

.addons { margin-top: 48px; }
.addon-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.addon-table th, .addon-table td { text-align: left; vertical-align: baseline; padding: 22px 32px 22px 0; border-bottom: 1px solid var(--line); }
.addon-table th { font-size: 18px; font-weight: 600; white-space: nowrap; }
.addon-table td { font-size: 15px; color: var(--muted); }
.addon-table td:last-child { color: var(--ink); font-weight: 600; text-align: right; padding-right: 0; white-space: nowrap; }

.faq { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.faq h2 { font-size: 48px; flex: 1 1 260px; margin: 0; }
.faq dl { margin: 0; flex: 2 1 520px; min-width: 0; }
.faq dl div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 600; margin-bottom: 4px; }
.faq dd { margin: 0; font-size: 15px; color: var(--muted); }

.notfound { padding: 120px 0; }
.notfound .wrap { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.notfound h1 { font-size: 88px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; gap: 40px; }
  .hero h1 { font-size: 64px; }
  .shots::before { left: -32px; right: -32px; bottom: -48px; }
  .section { padding: 72px 0 64px; }
  .section-flush { padding-top: 0; }
  .section-title, .split h2, .band h2 { font-size: 44px; }
  .cta h2, .page-head h1, .notfound h1 { font-size: 56px; }
  .split + .split { margin-top: 64px; }
  .frame { height: 300px; }
  .apps-grid { grid-template-columns: 1fr; gap: 40px; }
  .phones { gap: 16px; }
  .phones li:nth-child(2) { transform: none; }
  .plan-main { border-right: none; border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .header-cta { display: none; }
  .shots::before { left: -20px; right: -20px; }
  .main-nav { flex-basis: 100%; gap: 0 20px; font-size: 14px; }
  .hero h1 { font-size: 54px; }
  .actions .btn { flex: 1 1 100%; }
  .phones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .cta-apply { min-width: 0; width: 100%; padding: 20px; }
  .plan-main, .plan-list { padding: 24px 20px; }
  .addon-table, .addon-table tbody, .addon-table tr, .addon-table th, .addon-table td { display: block; }
  .addon-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .addon-table th, .addon-table td { padding: 2px 0; border: none; text-align: left; }
  .addon-table td:last-child { text-align: left; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
