/* GravyMail's marketing site (gravysite.py): Gravy's live look. Cream page #f5f1ea, white paper, ink #241812, gold #c9832f only as
   fills and lines (gold text is #8a5417, AA on cream and white), lines #e7ded0, muted #6d6155. Space Grotesk headlines, Manrope 800
   for the wordmark, Inter for reading, self-hosted under /static/fonts/gravy/ (SIL Open Font License). Type floor 13 px. Mobile
   first, no sideways scroll at 390 px. The CSP allows no inline styles, so every look lives here. */
@font-face { font-family: "Inter"; src: url("/static/fonts/gravy/Inter-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/static/fonts/gravy/Manrope-latin.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/static/fonts/gravy/SpaceGrotesk-latin.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root {
  --page: #f5f1ea; --paper: #ffffff; --cream-2: #efe8dc; --ink: #241812; --ink-2: #4a3a2e; --mut: #6d6155;
  --line: #e7ded0; --line-2: #d9ccb8; --gold: #c9832f; --gold-text: #8a5417; --gold-soft: #f6ead9; --gold-edge: #e3bd8e;
  --on-ink: #f4efe6; --on-ink-2: #d8cdbd;
  --display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gut: 16px; --wrap: 1180px; --r: 16px;
  --shadow: 0 1px 2px rgba(36, 24, 18, .05), 0 14px 34px -16px rgba(36, 24, 18, .22);
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gut: 28px; } }
@media (min-width: 1100px) { :root { --gut: 40px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.gsite { margin: 0; background: var(--page); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
main { display: block; }
p { margin: 0 0 14px; }
h1, h2, h3 { margin: 0; color: var(--ink); }
.gwrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto;
  padding: 0 max(var(--gut), env(safe-area-inset-right)) 0 max(var(--gut), env(safe-area-inset-left)); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: 8px; z-index: 100; font-size: 15px; }
.skip:focus { left: 12px; color: var(--on-ink); }
.center { justify-content: center; text-align: center; }

/* type */
.gdisplay { font: 700 clamp(40px, 5.6vw, 66px)/1.04 var(--display); letter-spacing: -.035em; margin: 0 0 22px; text-wrap: balance; }
.gdisplay.sm { font-size: clamp(38px, 4.6vw, 56px); }
.ghl { background: linear-gradient(transparent 68%, rgba(201, 131, 47, .42) 68%, rgba(201, 131, 47, .42) 92%, transparent 92%); padding: 0 .04em; }
.gh2 { font: 700 clamp(27px, 3vw, 38px)/1.1 var(--display); letter-spacing: -.03em; margin: 0 0 14px; text-wrap: balance; }
.gh3 { font: 700 20px/1.25 var(--display); letter-spacing: -.02em; margin: 0 0 8px; }
.glede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 610px; margin: 0 0 28px; }

/* buttons: deep brown with cream text like gravyauto.com; on the dark band, gold with ink text */
.gbtn { display: inline-flex; align-items: center; justify-content: center; font: 600 16px/1 var(--sans); border-radius: 12px; padding: 14px 22px;
  border: 1px solid transparent; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.gbtn.sm { padding: 11px 18px; font-size: 15px; border-radius: 11px; }
.gbtn.lg { padding: 16px 26px; font-size: 17px; }
.gbtn.primary { background: var(--ink); border-color: var(--ink); color: var(--on-ink); box-shadow: 0 1px 2px rgba(36, 24, 18, .25); }
.gbtn.primary:hover { background: #12100c; border-color: #12100c; color: var(--on-ink); }
.gbtn.ghost { background: var(--paper); border-color: var(--line-2); color: var(--ink); }
.gbtn.ghost:hover { border-color: var(--gold); color: var(--ink); }
.gctarow { display: flex; flex-wrap: wrap; gap: 12px; }

/* the one slim top bar */
.gbar { position: sticky; top: 0; z-index: 50; background: rgba(245, 241, 234, .96); border-bottom: 1px solid var(--line); }
.gbarin { display: flex; align-items: center; gap: 14px; height: 64px; }
.gbrand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.gbrand:hover { color: var(--ink); }
.gbrand img { width: 44px; height: 34px; flex: none; }
.gword { font: 800 22px/1 "Manrope", var(--sans); letter-spacing: -.02em; white-space: nowrap; }
.glinks { display: none; }
.gtop { display: none; margin-left: auto; align-items: center; gap: 8px; }
.gsignin { font: 600 15px/1 var(--sans); color: var(--ink); text-decoration: none; padding: 11px 10px; border-radius: 10px; }
.gsignin:hover { color: var(--ink); background: var(--cream-2); }
.hamb { flex: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; padding: 0; }
.hamb span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.hamb[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamb[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamb[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav { border-top: 1px solid var(--line); background: var(--page); box-shadow: 0 18px 30px -18px rgba(36, 24, 18, .3); }
.mnav nav { display: flex; flex-direction: column; padding-top: 6px; padding-bottom: 18px; }
.mnav a:not(.gbtn) { padding: 15px 2px; font: 600 18px/1.2 var(--sans); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav a[aria-current="page"] { color: var(--gold-text); }
.mctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mctas .gbtn:only-child { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .gbarin { height: 70px; gap: 18px; }
  .gword { font-size: 23px; }
  .glinks { display: flex; align-items: center; gap: 2px; margin-left: 18px; }
  .glinks a { font: 600 15px/1 var(--sans); color: var(--ink-2); text-decoration: none; padding: 11px 13px; border-radius: 10px; }
  .glinks a:hover { color: var(--ink); background: var(--cream-2); }
  .glinks a[aria-current="page"] { color: var(--ink); background: var(--gold-soft); box-shadow: inset 0 -2px 0 var(--gold); }
  .gtop { display: flex; }
  .hamb, .mnav { display: none !important; }
}

/* sections */
.gsec { padding: 64px 0; }
.gsec.tight { padding-top: 8px; }
.gsec.gafterhero { padding-top: 8px; }
.galt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .gsec { padding: 88px 0; } .gsec.tight, .gsec.gafterhero { padding-top: 8px; } }

/* home: the hero */
.ghero { padding: 44px 0 56px; }
.gherogrid { display: grid; gap: 40px; align-items: center; }
.gherocopy .gctarow { margin-bottom: 4px; }
@media (min-width: 1000px) {
  .ghero { padding: 72px 0 84px; }
  .gherogrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; }
}

/* a screenshot in a plain window frame */
.gframe { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.gframebar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--page); }
.gframebar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.gshot { width: 100%; height: auto; }
.gwide { margin-top: 36px; }

/* the three steps */
.gsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.gstep { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 18px; position: relative; border-top: 4px solid var(--gold); }
.gstep h3 { font: 700 22px/1.2 var(--display); letter-spacing: -.02em; margin: 14px 0 10px; }
.gstep p { color: var(--ink-2); }
.gnum { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold);
  color: var(--ink); font: 700 18px/1 var(--display); }
@media (min-width: 860px) { .gsteps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* home: three papers */
.gtrio { display: grid; gap: 16px; }
.gpaper { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px 14px; }
.galt .gpaper { background: var(--page); }
.gpaper p { color: var(--ink-2); }
@media (min-width: 860px) { .gtrio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* the price band */
.gband { background: var(--ink); color: var(--on-ink); border-top: 4px solid var(--gold); padding: 52px 0; }
.gbandin { display: grid; gap: 22px; justify-items: start; }
.gseg { display: inline-block; }
.gpriceline { font: 700 clamp(21px, 2.6vw, 30px)/1.3 var(--display); letter-spacing: -.02em; margin: 0; color: var(--on-ink); text-wrap: balance; }
.gband .gbtn.primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.gband .gbtn.primary:hover { background: #e0a052; border-color: #e0a052; color: var(--ink); }
.gband .gbtn.ghost { background: transparent; border-color: rgba(244, 239, 230, .45); color: var(--on-ink); }
.gband .gbtn.ghost:hover { border-color: var(--on-ink); color: var(--on-ink); }
@media (min-width: 960px) { .gbandin { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; } }

/* inner pages */
.ghead { padding: 48px 0 28px; }
@media (min-width: 960px) { .ghead { padding: 72px 0 36px; } }
.ghead2 { max-width: 760px; margin: 0 0 32px; }
.ghead2 p { color: var(--ink-2); }
.gsplit { display: grid; gap: 32px; align-items: center; }
.gsplitcopy .gnum { margin-bottom: 16px; }
.gsplitcopy p { color: var(--ink-2); }
.gsplitcopy .gh3 { margin-top: 26px; }
@media (min-width: 960px) {
  .gsplit { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; }
  .gsplit.rev .gsplitcopy { order: 2; }
}

/* the sample card: a 4 x 6 postcard, front and back */
.gsample { margin: 0; }
.gcards { display: grid; gap: 22px; }
@media (min-width: 900px) { .gcards { grid-template-columns: 1fr 1fr; gap: 28px; } }
.gside-label { font: 600 13px/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin: 0 0 10px; }
.gcard { position: relative; background: var(--paper); border: 1px solid var(--line-2); border-radius: 6px; box-shadow: var(--shadow);
  aspect-ratio: 6 / 4; padding: 7% 7% 5.5%; display: flex; flex-direction: column; color: #1d1a17; overflow: hidden; }
.gtag { position: absolute; top: 12px; right: 12px; background: var(--gold-soft); color: var(--gold-text); border: 1px solid var(--gold-edge);
  font: 700 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.gc-co { display: flex; align-items: center; gap: 9px; font: 700 15px/1.2 var(--sans); margin: 0 0 auto; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.gc-logo { width: 26px; height: 26px; border-radius: 50%; background: #2f6b3a; flex: none; position: relative; }
.gc-logo::after { content: ""; position: absolute; left: 7px; top: 5px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 13px solid #f4efe6; }
.gc-head { font: 700 clamp(22px, 3.1vw, 34px)/1.08 var(--display); letter-spacing: -.03em; margin: 18px 0 8px; max-width: 15ch; }
.gc-sub { font-size: 15px; color: #4a3a2e; margin: 0 0 8px; }
.gc-foot { margin-top: auto; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.gc-cta { font: 600 14px/1.35 var(--sans); margin: 0; text-align: right; max-width: 24ch; }
.gc-kick { font: 700 13px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #2a5a33; margin: 0 0 8px; }
.gc-greet { font: 700 19px/1.2 var(--display); margin: 0 0 6px; }
.gc-body p { font-size: 14px; line-height: 1.45; color: #3a2e25; margin: 0 0 6px; }
.gcard.back { padding-top: 6%; }
.gqr { width: 58px; height: 58px; flex: none; display: block; border: 1px solid var(--line-2); border-radius: 6px; padding: 4px; background: #fff;
  shape-rendering: crispEdges; }
.gsample figcaption { font-size: 15px; color: var(--mut); margin-top: 16px; }
@media (max-width: 520px) {
  .gcard { aspect-ratio: auto; min-height: 250px; padding: 22px 18px 16px; }
  .gc-head { font-size: 26px; }
}

/* pricing */
.gtables { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .gtables { grid-template-columns: 1fr 1fr; gap: 24px; } }
.gtable { padding: 8px 24px 10px; }
.gtable table { width: 100%; border-collapse: collapse; }
.gtable th, .gtable td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.gtable thead th { font: 600 13px/1.35 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--mut); padding-top: 18px; }
.gtable thead th:last-child, .gtable td { text-align: right; padding-left: 16px; }
.gtable tbody th { font-weight: 500; color: var(--ink); }
.gtable td { font: 700 18px/1.3 var(--display); white-space: nowrap; color: var(--ink); }
.gtable tbody tr:last-child th, .gtable tbody tr:last-child td { border-bottom: 0; }
.gtnote { font-size: 15px; color: var(--mut); border-top: 1px solid var(--line); padding-top: 14px; margin: 0 0 10px; }
.gnote { font-size: 15px; color: var(--mut); margin: 18px 0 0; }
.gpoints { list-style: none; margin: 24px 0 32px; padding: 10px 24px; }
.gpoints li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.gpoints li:last-child { border-bottom: 0; }
.gpoints li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 7px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }

/* footer */
.gfoot { border-top: 1px solid var(--line); padding: 28px 0 34px; }
.gfootin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.gfby { margin: 0; font: 700 15px/1.4 var(--sans); color: var(--ink); }
.gflinks { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.gflinks a { font-size: 15px; color: var(--ink-2); }
.gflinks a:hover { color: var(--ink); }
