/* Consistent Core sales pages. Brand: Fraunces + Inter, cream ground, plum ink, terracotta accent.
   One motif: the arch (a door). It masks every picture, marks list items and opens the hero. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --ground: #F7F1EA;
  --paper: #FFFBF6;
  --ink: #2A2230;
  --muted: #5E5162;
  --accent: #B5532F;      /* brand terracotta, deepened for 4.5:1 on cream */
  --accent-ink: #FFF8F2;
  --sage: #DCE3D5;
  --blush: #F2DCD3;
  --sand: #EDE2D6;
  --plum: #2A2230;
  --m: clamp(16px, 4vw, 40px);           /* the page's one pair of margins */
  --gap: clamp(96px, 14vw, 200px);       /* between sections */
  --r: 10px;                              /* the one corner radius (buttons, cards) */
  --t1: clamp(44px, 8.2vw, 120px);       /* display */
  --t2: clamp(32px, 4.4vw, 60px);        /* section heading */
  --t3: clamp(20px, 1.8vw, 26px);        /* sub heading */
  --t4: 17px;                             /* text */
  --t5: 14px;                             /* small */
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--t4)/1.55 Inter, system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; letter-spacing: -.025em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--blush); }

.wrap { padding-inline: var(--m); max-width: 1440px; margin-inline: auto; }
.section { margin-top: var(--gap); }

/* The motif */
.arch { border-radius: 999px 999px 0 0; overflow: hidden; }

/* Buttons: one shape, one fill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: var(--r);
  background: var(--accent); color: var(--accent-ink); font: 600 17px/1 Inter, sans-serif;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.btn:hover { background: #9C4526; transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn.ink { background: var(--ink); }
.btn.ink:hover { background: #45384c; }
.btn.quiet { background: var(--sand); color: var(--ink); }
.btn.quiet:hover { background: #E3D4C4; }
.btn.wide { width: 100%; }

.small { font-size: var(--t5); color: var(--muted); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 40ch; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 600 18px/1 Fraunces, Georgia, serif; letter-spacing: -.01em; text-decoration: none; }
.wordmark .logo { width: 30px; height: auto; color: var(--ink); }
.mark .logo.big { flex: none; width: clamp(56px, 9vw, 150px); height: auto; color: var(--accent); margin-bottom: .6%; }
.nav .links { display: flex; gap: 24px; align-items: center; }
.nav .links a { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav .links a:hover { color: var(--accent); }
@media (max-width: 720px) { .nav .links a:not(.btn) { display: none; } .nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; } }

/* Entrance: content is visible without script; script adds .pre then reveals */
.js .rv { opacity: 0; transform: translateY(24px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; }
  * { transition-duration: 0ms !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Grid children may shrink below their content (scrolling tab rows) */
.inside .grid > * { min-width: 0; }
@media (max-width: 860px) { .inside .tabs { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } .inside .tabs button { white-space: normal; } }
