/* Studio Green public site: light editorial system (Brand Guide v1, 2026-11-28).
   Tokens are the deck source tokens (marketing/seed-deck-2026-v17/deck.css).
   Paper ground, Ink type, Fairway as the one accent, Newsreader and Source Sans 3.
   Lime stays inside the Studio Caddy mark and real app screens. No cards, no
   mono eyebrows, no glows: whitespace and 1 px rules do the grouping. */

:root {
  --paper: #F5F2EA;
  --sand: #E9E3D5;
  --ink: #16201B;
  --ink-soft: #59625C;
  --rule: #D6CFBF;
  --fairway: #2E6643;
  --deep: #1D3B2A;
  --grey: #B9B6AC;
  --lime: #C8FF3D;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Segoe UI', Helvetica, Arial, sans-serif;
  --max: 1200px;
  --gutter: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 28px;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--fairway); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--sand); }

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

/* Type scale: Newsreader for display, Source Sans 3 for everything else */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.2vw, 72px); line-height: 1.05; }
h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; max-width: 22ch; }
h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.18; }
h4 { font-size: 24px; line-height: 32px; }
.lede { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.45; }
.cap { font-size: 15px; line-height: 22px; }
.src { font-size: 13px; line-height: 20px; color: var(--ink-soft); }
.soft { color: var(--ink-soft); }
.us { color: var(--fairway); }
.label { font-weight: 600; font-size: 16px; line-height: 24px; color: var(--fairway); }
.label.soft { color: var(--ink-soft); }
.rule { border-top: 1px solid var(--rule); }
.measure { max-width: 62ch; }
.body p + p { margin-top: 16px; }
strong { font-weight: 600; }
em { font-family: var(--serif); font-style: italic; font-size: 1.04em; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 40; }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.wm { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--ink); white-space: nowrap; }
.wm img { height: 28px; width: auto; }
.wm:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-size: 17px; }
.nav a:hover { color: var(--fairway); text-decoration: none; }
.nav .btn { margin-left: 8px; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Buttons: Fairway fill, or an Ink hairline */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 20px;
  padding: 12px 22px; border-radius: 4px; border: 1px solid var(--fairway);
  background: var(--fairway); color: var(--paper); cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--deep); border-color: var(--deep); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--sand); }
.dark .btn.ghost { color: var(--paper); border-color: rgba(245, 242, 234, 0.6); }
.dark .btn.ghost:hover { background: rgba(245, 242, 234, 0.1); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--fairway); outline-offset: 3px; }

/* Sections */
section { padding: 96px 0; }
section + section { border-top: 1px solid var(--rule); }
.band.sand { background: var(--sand); }
.band.dark, .dark { background: var(--deep); color: var(--paper); }
.dark .soft, .dark .src { color: rgba(245, 242, 234, 0.72); }
.dark .rule { border-top-color: rgba(245, 242, 234, 0.22); }
.dark a { color: var(--paper); }
.dark .label { color: var(--paper); }
.head { margin-bottom: 48px; }
.head .label { margin-bottom: 14px; display: block; }
.head .lede { margin-top: 18px; max-width: 62ch; }

/* Split: text beside a photo or a screen */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.wide { grid-template-columns: 1.15fr 1fr; }
.split .text .label { display: block; margin-bottom: 14px; }
.split .text h3 { margin-bottom: 12px; }
.split .text .tag { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 32px; color: var(--ink-soft); margin-bottom: 20px; }
.split .text p + p { margin-top: 14px; }
.split.flip .media { order: -1; }
@media (max-width: 860px) {
  .split, .split.wide { grid-template-columns: 1fr; gap: 36px; }
  .split.flip .media { order: 0; }
}

/* Photography: hard crops, no overlays */
.photo { overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 16 / 10; }

/* Real app screens: thin outline, real proportions, on Paper or Sand */
.shot { border: 1px solid rgba(22, 32, 27, 0.18); border-radius: 18px; overflow: hidden; background: #0b0f0c; }
.shot img { width: 100%; height: auto; }
.shot.phone { max-width: 340px; margin: 0 auto; }
.shot.crop { aspect-ratio: 9 / 13; }
.shot.crop img { height: 100%; object-fit: cover; object-position: top; }

/* Feature lists: hairlines, no bullets */
ul.features { list-style: none; margin: 20px 0 0; }
ul.features li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: 17px; line-height: 26px; }
ul.features li:last-child { border-bottom: 1px solid var(--rule); }
.price { margin: 22px 0 18px; font-size: 20px; }
.price small { font-size: 16px; color: var(--ink-soft); margin-left: 8px; }

/* Columns of text under a headline */
.cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
.cols.three { grid-template-columns: repeat(3, 1fr); gap: 40px; }
.col { border-top: 1px solid var(--ink); padding-top: 18px; }
.col .label { display: block; margin-bottom: 10px; }
.col h4 { margin-bottom: 10px; }
.col p { font-size: 17px; line-height: 26px; }
.close { margin-top: 44px; max-width: 70ch; font-size: 19px; line-height: 30px; }
@media (max-width: 860px) { .cols, .cols.three { grid-template-columns: 1fr; gap: 28px; } }

/* Screens in a row, unboxed, each with a caption */
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.screens figure .shot { aspect-ratio: 9 / 15; }
.screens figure .shot img { height: 100%; object-fit: cover; object-position: top; }
.screens figcaption { margin-top: 12px; font-size: 15px; line-height: 22px; color: var(--ink-soft); }
.screens figcaption b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
@media (max-width: 1000px) { .screens { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .screens { grid-template-columns: 1fr; } }

/* Large figures in a row, unboxed */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.figures .fig { font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.figures .cap { margin-top: 8px; }
@media (max-width: 760px) { .figures { grid-template-columns: repeat(2, 1fr); } }

/* Quote */
blockquote.quote { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.3; max-width: 30ch; text-wrap: balance; }
.credit { margin-top: 20px; font-size: 16px; color: var(--ink-soft); }

/* Form: hairline field, Fairway button */
.form { display: flex; gap: 12px; flex-wrap: wrap; max-width: 560px; }
.form input[type=email] {
  flex: 1 1 280px; min-width: 0; font: inherit; font-size: 17px; color: var(--ink);
  padding: 12px 16px; background: var(--paper); border: 1px solid var(--ink); border-radius: 4px;
}
.form input[type=email]::placeholder { color: var(--grey); }
.form button { border-radius: 4px; }
.form button:disabled { opacity: 0.5; cursor: default; }
.msg { min-height: 24px; margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.msg.ok { color: var(--fairway); }
.msg.err { color: #8A3B2E; }

/* Tables: horizontal rules only */
table.rules { border-collapse: collapse; width: 100%; font-size: 17px; line-height: 26px; }
table.rules th { text-align: left; font-weight: 600; font-size: 15px; color: var(--ink-soft); padding: 0 16px 10px 0; border-bottom: 1px solid var(--ink); }
table.rules td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.rules td:first-child { font-weight: 600; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* Footer */
footer { border-top: 1px solid var(--rule); padding: 40px 0 48px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer .links a { color: var(--ink); font-size: 16px; }
footer .copy { font-size: 15px; color: var(--ink-soft); width: 100%; margin-top: 8px; }

/* Article pages (press releases, privacy) */
.article { max-width: 72ch; }
.article h1 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 14px; }
.article .dek { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 32px; color: var(--ink-soft); margin-bottom: 28px; }
.article h2 { font-size: 30px; line-height: 38px; margin: 44px 0 14px; max-width: none; }
.article h3 { font-size: 24px; line-height: 32px; margin: 32px 0 10px; }
.article p { margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 16px 22px; }
.article li { margin-bottom: 6px; }
.article .meta { font-size: 15px; color: var(--ink-soft); margin-bottom: 36px; }

/* Swatches on the brand page */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 24px; }
.swatch .chip { height: 110px; border: 1px solid var(--rule); border-radius: 4px; }
.swatch .name { font-weight: 600; margin-top: 10px; }
.swatch .hex { font-size: 15px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.marks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.mark-tile { border: 1px solid var(--rule); border-radius: 4px; padding: 36px; display: grid; place-items: center; min-height: 240px; }
.mark-tile.on-deep { background: var(--deep); }
.mark-tile.on-sand { background: var(--sand); }
.mark-tile.on-ground { background: #070B09; }
.mark-tile img { max-height: 150px; width: auto; }
.downloads { font-size: 16px; line-height: 26px; }

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  section { padding: 64px 0; }
  .masthead .wrap { height: 64px; }
  .head { margin-bottom: 32px; }
  body { font-size: 17px; line-height: 27px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
