/* Self-hosted from Google Fonts (8 files, latin + latin-ext) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/CormorantGaramond-latin-ext-50ff0c4f.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/CormorantGaramond-latin-e040a2d3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/CormorantGaramond-latin-ext-21114939.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/CormorantGaramond-latin-e99b45a2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/CormorantGaramond-latin-ext-21114939.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/CormorantGaramond-latin-e99b45a2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/InstrumentSans-latin-ext-969f662e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/InstrumentSans-latin-edad3dec.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/InstrumentSans-latin-ext-416253b0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/InstrumentSans-latin-e190a634.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Clayton Method Apps + Demos. Tokens mirror claytonmethod.com (css/site.css). */
:root {
  --forest: #133D2E;
  --forest-deep: #0B2419;
  --forest-lift: #1A4C3A;
  --champagne: #C9A961;
  --brass: #A6822F;
  --cream: #F2F5F3;
  --ink: #0E1310;
  --slate: #4A5650;
  --fog: #6E7772;
  --hairline: #E5E9E6;
  --paper: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --text-display: clamp(42px, 6vw, 70px);
  --text-heading: clamp(33px, 4vw, 46px);
  --text-heading-sm: clamp(27px, 3vw, 33px);
  --text-body-lg: 18px;
  --text-body: 15px;
  --text-ui: 14px;
  --text-caption: 12px;

  --radius-buttons: 7px;
  --radius-cards: 18px;
  --radius-media: 12px;
  --gutter: clamp(20px, 4vw, 32px);

  --shadow-btn: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 6px rgba(11, 36, 25, 0.16);
  --shadow-card: 0 1px 2px rgba(14, 19, 16, 0.04), 0 10px 24px rgba(14, 19, 16, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(14, 19, 16, 0.05), 0 18px 36px rgba(14, 19, 16, 0.10);
  --shadow-overlay: 0 12px 32px rgba(14, 19, 16, 0.10), 0 2px 8px rgba(14, 19, 16, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0; color: var(--ink); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--slate); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-size: var(--text-ui); font-weight: 500;
  padding: 11px 18px; border-radius: var(--radius-buttons);
  text-decoration: none; white-space: nowrap; border: 0; cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.btn .arrow { transition: transform 160ms ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; }
.btn-primary { background: var(--forest); color: var(--paper); box-shadow: var(--shadow-btn), 0 0 0 1.5px #0C2A1E; }
.btn-primary:hover { background: var(--forest-lift); }
.btn-ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--hairline); }
.btn-ghost:hover { border-color: var(--champagne); }
.btn-neutral { background: var(--paper); color: var(--ink); border: 1px solid var(--hairline); }
.btn-neutral:hover { border-color: var(--champagne); }
.btn-on-dark { background: var(--paper); color: var(--ink); }
.btn-on-dark:hover { background: var(--cream); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--hairline); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.nav-logo img { width: auto; }
.nav-logo .logo-full { height: 34px; }
.nav-logo .logo-mark { display: none; height: 38px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Hero */
.hero { padding-top: clamp(56px, 9vw, 104px); padding-bottom: clamp(36px, 5vw, 56px); }
.eyebrow, .card-label {
  margin: 0 0 14px; font-size: var(--text-caption); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass);
}
.hero h1 { font-size: var(--text-display); text-wrap: balance; }
.lead { margin: 22px 0 0; font-size: var(--text-body-lg); color: var(--slate); }

/* Demos */
.demos { padding-bottom: clamp(48px, 7vw, 88px); }
.section-title {
  font-size: var(--text-heading-sm); padding-bottom: 18px; margin-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
}
.demo-card {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px);
  align-items: center; padding: clamp(22px, 3.5vw, 44px);
  background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-cards);
  box-shadow: var(--shadow-card); transition: box-shadow 200ms ease;
}
.demo-card:hover { box-shadow: var(--shadow-card-hover); }

.demo-media { position: relative; padding: 0 0 18% 0; }
.shot { border-radius: var(--radius-media); border: 1px solid var(--hairline); background: var(--cream); }
.shot-main { box-shadow: var(--shadow-overlay); }
.shot-float {
  position: absolute; width: 52%; right: -2%; bottom: 0;
  box-shadow: var(--shadow-overlay), 0 0 0 6px var(--paper);
}

.demo-body h3 { font-size: var(--text-heading); }
.demo-body > .muted { margin: 14px 0 0; font-size: 16px; }
.feature-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 9px; }
.feature-list li { position: relative; padding-left: 26px; color: var(--ink); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 0.72em; width: 14px; height: 1.5px; background: var(--brass);
}
.feature-list li::after {
  content: ""; position: absolute; left: 9px; top: calc(0.72em - 3px); width: 6px; height: 6px;
  border-top: 1.5px solid var(--brass); border-right: 1.5px solid var(--brass); transform: rotate(45deg);
}
.demo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.card-cream.more {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: 20px; padding: clamp(22px, 3vw, 32px) clamp(22px, 3.5vw, 44px);
  background: var(--cream); border-radius: var(--radius-cards);
}
.more h3 { font-size: var(--text-heading-sm); }

/* CTA */
.card-dark.cta {
  margin-bottom: clamp(56px, 8vw, 96px); padding: clamp(32px, 5vw, 64px);
  background: var(--forest); color: var(--paper); border-radius: var(--radius-cards);
}
.cta h2 { color: var(--paper); font-size: var(--text-heading); text-wrap: balance; }
.cta p:not(.card-label) { margin: 16px 0 28px; color: rgba(255, 255, 255, 0.75); }
.card-label.on-dark { color: var(--champagne); }

/* Footer */
.footer { background: var(--forest-deep); color: rgba(255, 255, 255, 0.7); }
.footer-inner { display: grid; gap: 10px; padding-top: 44px; padding-bottom: 44px; }
.footer-logo { height: 25px; width: auto; margin-bottom: 6px; }
.footer p { margin: 0; font-size: var(--text-ui); }
.footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer a:hover { color: var(--paper); }
.footer-links span { margin: 0 8px; color: rgba(255, 255, 255, 0.35); }
.footer-copy { color: rgba(255, 255, 255, 0.45); }

/* Responsive */
/* Grid items default to min-width:auto, which lets a wide screenshot set the
   column's minimum in some browsers (notably older Safari). Let them shrink. */
.demo-card > * { min-width: 0; }
.shot { width: 100%; }

@media (max-width: 900px) {
  .demo-card { grid-template-columns: minmax(0, 1fr); }
  .shot-float { right: 0; }
}
@media (max-width: 640px) {
  html, body { overflow-x: clip; }
  /* On phones the absolute overlay would cover most of the main screenshot.
     Flow it below instead, tucked over the main shot's lower-right corner. */
  .demo-media { padding-bottom: 0; }
  .shot-float { position: relative; right: auto; bottom: auto; width: 70%; margin: -14% 0 0 auto; }
  .hide-sm { display: none; }
  .nav-logo .logo-full { display: none; }
  .nav-logo .logo-mark { display: block; }
  .btn { padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
