/* 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;
  --on-ink: #d3dfd6;
  --grass-light: #8cc79a;
  --wrap: 1200px;
}

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

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

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: ""; flex: none; 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: an ink bar with a grass edge, so the brand and menu stand apart from the page. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  color: var(--ground);
  border-bottom: 4px solid var(--grass);
}
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 44px; min-height: 84px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ground); }
.brand:hover { color: #fff; }
.brand .display { font-size: 34px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 36px; font-size: 17px; font-weight: 600; }
.main-nav a { color: var(--on-ink); text-decoration: none; padding: 10px 0; }
.main-nav a:hover { color: #fff; box-shadow: inset 0 -2px 0 var(--grass-light); }
.main-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--grass-light); }
.header-cta { margin-left: auto; gap: 0.28em; border-color: var(--grass-light); }
.site-header :focus-visible { outline-color: #f0a37f; }

.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: headline and pitch on top, one readable product screen below on mowed grass. */
.hero { position: relative; overflow: hidden; }
.hero-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
  padding-top: 88px;
  padding-bottom: 56px;
}
.hero-title .label { margin-bottom: 20px; }
.hero h1 { font-size: 84px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.lede { font-size: 19px; color: var(--text-2); max-width: 30em; }
.hero-shot { position: relative; padding-bottom: 72px; }
/* Mowed grass behind the lower part of the screenshot, running edge to edge. */
.hero-shot::before {
  content: "";
  position: absolute;
  left: -50vw;
  right: -50vw;
  top: 38%;
  bottom: 0;
  background-color: var(--grass);
  background-image: repeating-linear-gradient(135deg, var(--grass) 0 80px, var(--grass-2) 80px 160px);
}
.hero-shot .caption { position: absolute; left: 0; bottom: 22px; margin: 0; color: var(--on-grass); }
.browser { position: relative; 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); }
.browser img { width: 100%; }

.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: 50px; max-width: 14em; margin-bottom: 48px; }
.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: 50px; }
.split-wide { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.split-copy p { color: var(--text-2); }
.frame { border: 1px solid var(--ink); background: #fff; box-shadow: 0 18px 36px rgba(19, 34, 26, 0.12); }
.frame img { width: 100%; }
.wide-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.wide-head h2 { font-size: 50px; }
.wide-head > p { color: var(--text-2); max-width: 30em; }
.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: 50px; 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.6fr) minmax(0, 1.4fr); gap: 56px; 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-block { margin-top: 80px; }
.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; align-self: flex-start; }
.cta .address { font-size: 15px; color: var(--on-grass); }
.cta .address strong { color: #fff; font-weight: 600; user-select: all; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* Pricing */
.page-head { padding: 88px 0 56px; }
.page-head .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.page-head .mono { color: var(--muted); }
.page-head h1 { font-size: 80px; }
.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) {
  html { scroll-padding-top: 16px; }
  .site-header { position: static; }
  .hero-head { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 40px; gap: 28px; }
  .hero h1 { font-size: 64px; }
  .wide-head { grid-template-columns: 1fr; }
  .split-wide { grid-template-columns: 1fr; }
  .section { padding: 72px 0 64px; }
  .section-flush { padding-top: 0; }
  .section-title, .split h2, .band h2, .wide-head h2 { font-size: 42px; }
  .cta h2, .page-head h1, .notfound h1 { font-size: 56px; }
  .split + .split { margin-top: 64px; }
  .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-row { min-height: 0; padding-top: 10px; padding-bottom: 0; column-gap: 12px; }
  .brand .display { font-size: 28px; }
  .brand svg { width: 26px; height: 26px; }
  .header-cta { min-height: 42px; padding: 0 16px; font-size: 15px; }
  .cta-long { display: none; }
  .main-nav { order: 3; flex-basis: 100%; gap: 0 28px; font-size: 16px; border-top: 1px solid rgba(251, 250, 244, 0.14); }
  .label::after { display: none; }
  .hero h1 { font-size: 54px; }
  .hero-shot::before { top: 30%; }
  .phones { grid-template-columns: minmax(0, 260px); justify-content: center; }
  .phones li:not(:nth-child(2)) { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .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; }
}
