/* Granite Gecko Systems — granite read as a rock specimen: cool speckled grey
   with mineral flecks. Azurite carries interaction; feldspar is reserved for
   compliance flags, where the colour means something.

   System fonts only, deliberately: the site's CSP has no font-src, so it falls
   back to default-src 'self' and external font loading is blocked. The setting
   does the work instead of the face. */

:root {
  --ink: #23272c;
  --ink-soft: #545b63;
  --ground: #e9e7e2;
  --ground-deep: #dcd9d2;
  --rule: #c3bfb7;
  --azurite: #1f5c7a;
  --azurite-lift: #17455c;
  --feldspar: #a85a42;

  --prose: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --structure: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --measure: 64ch;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--prose);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

/* ---- structure -------------------------------------------------------- */

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

.masthead {
  border-bottom: 1px solid var(--rule);
}

.masthead .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.wordmark {
  font-family: var(--structure);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}

.masthead nav {
  font-family: var(--structure);
  font-size: 0.9375rem;
  display: flex;
  gap: 1.75rem;
}

.masthead nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.masthead nav a:hover,
.masthead nav a[aria-current="page"] {
  color: var(--ink);
}

main {
  padding: clamp(2.5rem, 7vw, 5rem) 0 4rem;
}

.colophon {
  border-top: 1px solid var(--rule);
  margin-top: 4rem;
  font-family: var(--structure);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.colophon .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
}

.colophon a {
  color: var(--ink-soft);
}

/* ---- type ------------------------------------------------------------- */

h1,
h2,
h3 {
  font-family: var(--structure);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 600;
  max-width: 18ch;
}

h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2.5em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2em;
}

p,
ul,
ol {
  max-width: var(--measure);
}

.lede {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 46ch;
}

a {
  color: var(--azurite);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--azurite-lift);
}

:focus-visible {
  outline: 2px solid var(--azurite);
  outline-offset: 3px;
}

/* ---- ledger: the list of what this company ships ---------------------- */

.ledger {
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  border-top: 1px solid var(--rule);
}

.entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.entry-name {
  font-family: var(--structure);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

.entry-name a {
  text-decoration: none;
  color: var(--ink);
}

.entry-name a:hover {
  color: var(--azurite);
  text-decoration: underline;
}

.entry-note {
  grid-column: 1;
  margin: 0;
  color: var(--ink-soft);
  max-width: 52ch;
}

.entry-meta {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--structure);
  font-size: 0.8125rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.entry-meta b {
  font-weight: 600;
  color: var(--ink);
}

/* ---- prose pages (legal, privacy, support) ---------------------------- */

.prose h2 {
  padding-top: 0.4em;
  border-top: 1px solid var(--rule);
}

.prose blockquote {
  margin: 0 0 2.5rem;
  padding: 1rem 1.25rem;
  max-width: var(--measure);
  border-left: 3px solid var(--feldspar);
  background: var(--ground-deep);
  font-family: var(--structure);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.prose blockquote p {
  margin: 0 0 0.6em;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose li {
  margin-bottom: 0.4em;
}

/* ---- data safety table ------------------------------------------------ */

.datatable-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
}

table {
  border-collapse: collapse;
  font-family: var(--structure);
  font-size: 0.9375rem;
  min-width: 34rem;
  width: 100%;
}

caption {
  text-align: left;
  color: var(--ink-soft);
  font-family: var(--structure);
  font-size: 0.875rem;
  padding-bottom: 0.6rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 1.25rem 0.6rem 0;
  border-bottom: 1px solid var(--rule);
}

thead th {
  font-weight: 600;
  border-bottom-color: var(--ink);
}

/* ---- compliance callout ----------------------------------------------- */

.deletion {
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.75rem;
  background: var(--ground-deep);
  border-left: 3px solid var(--feldspar);
}

.deletion h2 {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.deletion p:last-child {
  margin-bottom: 0;
}

/* ---- gallery ---------------------------------------------------------- */

.shots {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
  max-width: none;
}

.shots img {
  display: block;
  max-width: 100%;
  height: auto;
  width: 15rem;
  border: 1px solid var(--rule);
}

.applink {
  display: inline-block;
  margin: 1.5rem 0;
}

.applink img {
  display: block;
  height: 3.25rem;
  width: auto;
}

.appicon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 2px;
  display: block;
  margin-bottom: 1.25rem;
}

/* ---- 404 -------------------------------------------------------------- */

.notfound {
  max-width: var(--measure);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- home page -------------------------------------------------------- */

/* The tagline is the one place this design raises its voice. Two short
   sentences, set large and tight, allowed to break onto their own lines. */
.tagline {
  font-size: clamp(2.1rem, 6.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 13ch;
  margin-bottom: 0.5em;
  text-wrap: balance;
}

.band {
  background: var(--ground-deep);
  border-left: 3px solid var(--ink);
  padding: 1.75rem 1.75rem 2rem;
  margin: 3rem 0;
}

.band h2 {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.band p:last-child {
  margin-bottom: 0;
}

.statement {
  font-size: 1.1rem;
}

/* Rule-separated rather than a row of identical cards: these are three
   distinct service lines, not interchangeable tiles. */
.services {
  border-top: 1px solid var(--rule);
  margin-bottom: 1rem;
}

.service {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.service h3 {
  margin: 0 0 0.35em;
  font-size: 1.15rem;
}

.service p {
  margin: 0;
  color: var(--ink-soft);
}

.reasons {
  margin: 1.5rem 0 0;
  max-width: var(--measure);
}

.reasons dt {
  font-family: var(--structure);
  font-weight: 600;
  margin-top: 1.4rem;
}

.reasons dd {
  margin: 0.3rem 0 0;
  color: var(--ink-soft);
}

.cta-block {
  border-left-color: var(--azurite);
}

.cta {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.7rem 1.4rem;
  background: var(--azurite);
  color: var(--ground);
  font-family: var(--structure);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}

.cta:hover {
  background: var(--azurite-lift);
  color: var(--ground);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
}
