/* Instant Studio blog — standalone stylesheet.
   Brand tokens lifted from the Webflow design system; fonts come from
   /css/css (DM Sans, DM Mono, Hubot Sans) plus the Condensed face below. */

@font-face {
  font-family: "Hubot Sans Condensed";
  src: url("/fonts/6a0aaa22d554556ab5fff803_Hubot-Sans-Condensed.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent-primary: #ff6038;
  --accent-primary-dark: #e04c27;
  --accent-secondary: #d1b3ff;
  --accent-secondary-hover: #c09dfa;
  --bg-page: #fafafa;
  --bg-cream: #fff3ed;
  --ink: #101010;
  --ink-soft: #383838;
  --ink-muted: #606060;
  --line: #ededed;
  --on-lavender: #3d0f11;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-display: "Hubot Sans Condensed", "Hubot Sans", Arial, sans-serif;
  --font-mono: "DM Mono", monospace;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  background-color: var(--bg-page);
  background-image: radial-gradient(#e7e7e7 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- header ---------- */

.site-header {
  padding: 16px clamp(16px, 4vw, 48px) 0;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px 12px 24px;
  background: var(--accent-primary);
  border-radius: 16px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 8px;
}

.navbar__brand img {
  display: block;
  height: 36px;
  width: auto;
}

.navbar__toggle {
  display: none;
  margin-left: auto;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}

.navbar__toggle svg {
  display: block;
}

.navbar__menu {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.navbar__links {
  display: flex;
  align-items: center;
  flex: 1;
}

.navbar__links a {
  padding: 8px 16px;
  color: #ffe9e2;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
}

.navbar__links a:hover,
.navbar__links a.is-active {
  color: #fff;
}

.navbar__links a.is-active {
  font-weight: 600;
}

.navbar__cta {
  flex-shrink: 0;
  padding: 12px 24px;
  background: var(--accent-secondary);
  color: var(--on-lavender);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius);
}

.navbar__cta:hover {
  background: var(--accent-secondary-hover);
}

@media (max-width: 960px) {
  .navbar {
    flex-wrap: wrap;
  }

  .navbar__toggle {
    display: block;
  }

  .navbar__menu {
    display: none;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 8px;
  }

  .navbar.is-open .navbar__menu {
    display: flex;
  }

  .navbar__links {
    flex: none;
    flex-direction: column;
    align-items: stretch;
  }

  .navbar__links a {
    padding: 12px 8px;
    font-size: 18px;
  }

  .navbar__cta {
    margin-top: 12px;
    text-align: center;
  }
}

/* ---------- layout ---------- */

.page {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px) 20px 48px;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(38px, 6vw, 56px);
}

h2 {
  font-size: clamp(26px, 4vw, 34px);
  margin-top: 48px;
}

h3 {
  font-family: "Hubot Sans", var(--font-body);
  font-size: 21px;
  line-height: 1.3;
  margin-top: 32px;
}

a {
  color: var(--accent-primary);
}

a:hover {
  color: var(--accent-primary-dark);
}

p {
  margin: 0 0 20px;
}

ul,
ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  background: var(--bg-cream);
  border-left: 3px solid var(--accent-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

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

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: #f1f1f1;
  padding: 2px 6px;
  border-radius: 4px;
}

hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

/* ---------- blog index ---------- */

.blog-hero {
  margin-bottom: 48px;
}

.blog-hero p {
  font-size: 20px;
  color: var(--ink-muted);
  max-width: 600px;
}

.post-card {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.post-card h2 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 4vw, 34px);
}

.post-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--accent-primary);
}

.post-card__description {
  color: var(--ink-muted);
}

.read-more {
  font-weight: 600;
  text-decoration: none;
}

/* ---------- post ---------- */

.post-breadcrumb {
  margin-bottom: 24px;
}

.post-breadcrumb a {
  font-family: var(--font-mono);
  font-size: 14px;
  text-decoration: none;
  color: var(--ink-muted);
}

.post-breadcrumb a:hover {
  color: var(--accent-primary);
}

.post-header h1 {
  margin-bottom: 20px;
}

.post-meta {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.post-meta__sep {
  margin: 0 4px;
}

.chip {
  display: inline-block;
  padding: 2px 10px;
  margin-right: 4px;
  background: var(--accent-secondary);
  color: var(--on-lavender);
  border-radius: 999px;
  font-size: 12.5px;
}

.post-body {
  margin-top: 32px;
}

/* ---------- CTA ---------- */

.cta-box {
  margin-top: 64px;
  padding: 36px;
  background: var(--bg-cream);
  border: 1px solid #ffd9c7;
  border-radius: 16px;
}

.cta-box h2 {
  margin-top: 0;
}

.cta-box p {
  max-width: 560px;
}

.button {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent-secondary);
  color: var(--on-lavender);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
}

.button:hover {
  background: var(--accent-secondary-hover);
  color: var(--on-lavender);
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 24px;
  padding: 0 clamp(16px, 4vw, 48px) 20px;
}

.footer-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px clamp(24px, 4vw, 48px) 24px;
  background: var(--accent-primary);
  border-radius: 16px;
  color: #ffe9e2;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  display: block;
  height: 32px;
  width: auto;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 21px;
  color: #fff;
  margin: 16px 0 0;
  max-width: 320px;
  line-height: 1.2;
}

.footer-cols {
  display: flex;
  gap: clamp(40px, 8vw, 96px);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col__title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 4px;
}

.footer-col a {
  color: #ffe9e2;
  text-decoration: none;
  font-size: 16px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
