:root {
  --ink: #15171c;
  --muted: #626873;
  --paper: #fff;
  --soft: #f1f3f6;
  --line: #d9dde4;
  --blue: #315ee8;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header, .site-footer, main > section { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.site-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.25rem; font-weight: 900; letter-spacing: -.05em; text-decoration: none; }
.wordmark span { color: var(--blue); }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a, .site-footer nav a { font-size: .92rem; font-weight: 750; text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-header .nav-cta { padding: 10px 18px; color: white; background: var(--ink); border-radius: 99px; }

.hero { min-height: 760px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 6vw; padding-block: 80px 110px; }
.eyebrow, .section-number, .tool-kind { margin: 0 0 22px; color: var(--muted); font-size: .75rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; letter-spacing: -.06em; line-height: .98; text-wrap: balance; }
h1 { max-width: 760px; font-size: clamp(4.2rem, 7.2vw, 7.4rem); }
.hero-lede { max-width: 610px; margin: 32px 0; color: var(--muted); font-size: clamp(1.14rem, 1.8vw, 1.45rem); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 42px; min-height: 54px; padding: 0 23px; color: white; background: var(--blue); border: 1px solid var(--blue); border-radius: 99px; font-weight: 850; text-decoration: none; }
.button:hover { background: #244bd0; }

.hero-proof { position: relative; min-height: 590px; }
.proof { position: absolute; margin: 0; overflow: hidden; background: var(--soft); border: 1px solid rgba(21,23,28,.14); box-shadow: 0 26px 70px rgba(21,23,28,.16); }
.proof img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.proof-app { z-index: 3; width: 48%; height: 73%; left: 0; top: 9%; border-radius: 38px; transform: rotate(-3deg); }
.proof-web { z-index: 2; width: 70%; height: 54%; right: -2%; top: 2%; border-radius: 20px; transform: rotate(2deg); }
.proof-resource { z-index: 4; width: 68%; height: 38%; right: 2%; bottom: 2%; border-radius: 18px; transform: rotate(-1deg); }

.principles { padding: 95px 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: .7fr 1fr 1fr; gap: 32px; align-items: end; }
.principles h2, .section-heading h2 { font-size: clamp(2.8rem, 5vw, 5.5rem); }
.principles p:last-child { margin: 0; max-width: 36ch; color: var(--muted); font-size: 1.25rem; }

.tools { padding: 110px 0 30px; }
.section-heading { display: grid; grid-template-columns: 1fr 330px; gap: 60px; align-items: end; margin-bottom: 90px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.tool-row { display: grid; grid-template-columns: 1.07fr .93fr; min-height: 610px; border-top: 1px solid var(--line); }
.tool-row.reverse .tool-visual { order: 2; }
.tool-row.reverse .tool-copy { order: 1; padding-left: 0; padding-right: 9vw; }
.tool-visual { position: relative; display: grid; place-items: center; margin: 42px 0; min-height: 490px; overflow: hidden; background: color-mix(in srgb, var(--accent) 8%, #f4f5f7); }
.tool-visual::after { content: ""; position: absolute; inset: 0; border-top: 7px solid var(--accent); pointer-events: none; }
.tool-visual img { width: 57%; max-height: 430px; object-fit: contain; object-position: center; filter: drop-shadow(0 18px 28px rgba(21,23,28,.17)); }
.tool-visual.wide img { width: 86%; }
.tool-visual.dark { background: #061018; }
.tool-copy { display: flex; flex-direction: column; justify-content: center; padding-left: 9vw; }
.tool-copy h3 { font-size: clamp(3.1rem, 5vw, 5.5rem); }
.tool-copy > p:not(.tool-kind) { max-width: 43ch; margin: 28px 0; color: var(--muted); font-size: 1.13rem; }
.tool-kind { color: var(--accent); }
.text-link { align-self: flex-start; padding-bottom: 6px; border-bottom: 2px solid var(--accent); font-weight: 850; text-decoration: none; }
.text-link:hover { color: var(--accent); }

.closing { width: 100% !important; max-width: none; margin-top: 80px; padding: 105px max(20px, calc((100vw - var(--max)) / 2)); color: white; background: var(--ink); }
.closing .section-number { color: #aeb4bf; }
.closing h2 { max-width: 900px; margin-bottom: 50px; font-size: clamp(4rem, 8vw, 8rem); }
.button.light { color: var(--ink); background: white; border-color: white; }

.site-footer { padding: 70px 0 45px; display: grid; grid-template-columns: .8fr 1.2fr 1.5fr; gap: 40px; align-items: start; }
.site-footer > p { margin: 0; max-width: 40ch; color: var(--muted); }
.site-footer .copyright { grid-column: 1 / -1; padding-top: 35px; border-top: 1px solid var(--line); font-size: .85rem; }
.site-footer nav { justify-content: flex-end; flex-wrap: wrap; }
.site-footer nav [data-analytics-settings] { text-underline-offset: 5px; }
.site-footer nav [data-analytics-settings]:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.consent { position: fixed; z-index: 10; left: 24px; right: 24px; bottom: 24px; max-width: 920px; margin: 0 auto; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: white; border: 1px solid var(--line); box-shadow: 0 18px 60px rgba(21,23,28,.22); }
.consent[hidden] { display: none; }
.consent strong { font-size: 1rem; }
.consent p { margin: 5px 0 0; color: var(--muted); font-size: .9rem; }
.consent #analytics-consent-status:not(:empty) { font-weight: 700; }
.consent-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.consent button { min-height: 44px; padding: 0 17px; border: 1px solid var(--ink); background: var(--ink); color: white; font: inherit; font-weight: 800; cursor: pointer; }
.consent button.secondary { background: white; color: var(--ink); }
.consent button:disabled { cursor: not-allowed; opacity: .55; }

@media (max-width: 820px) {
  .site-header { min-height: 72px; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 55px; padding: 64px 0 90px; }
  h1 { font-size: clamp(4rem, 18vw, 6rem); }
  .hero-proof { min-height: 480px; }
  .principles, .section-heading { grid-template-columns: 1fr; }
  .principles { gap: 18px; padding: 70px 0; }
  .section-heading { gap: 24px; margin-bottom: 58px; }
  .tool-row, .tool-row.reverse { grid-template-columns: 1fr; padding: 55px 0; }
  .tool-row .tool-visual, .tool-row.reverse .tool-visual { order: 1; margin: 0 0 45px; min-height: 430px; }
  .tool-row .tool-copy, .tool-row.reverse .tool-copy { order: 2; padding: 0; }
  .tool-visual img { max-height: 380px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; gap: 18px; }
  .consent { align-items: stretch; flex-direction: column; }
}

@media (max-width: 480px) {
  .site-header, .site-footer, main > section { width: min(100% - 28px, var(--max)); }
  .hero { padding-top: 50px; }
  h1 { font-size: 3.75rem; }
  .hero-proof { min-height: 390px; }
  .proof-app { height: 72%; }
  .proof-web { width: 72%; height: 51%; }
  .proof-resource { width: 72%; height: 35%; }
  .tools { padding-top: 80px; }
  .tool-row .tool-visual, .tool-row.reverse .tool-visual { min-height: 350px; }
  .tool-copy h3 { font-size: 3rem; }
  .closing { padding-block: 80px; }
  .consent { left: 14px; right: 14px; bottom: 14px; }
  .consent-actions button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The stable bio entry point. Reel media stays a lightweight, full-frame still. */
.instagram { padding: 52px 0 60px; scroll-margin-top: 24px; border-bottom: 1px solid var(--line); }
.instagram-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.instagram-heading .eyebrow { margin-bottom: 14px; color: #3d485a; letter-spacing: .1em; }
.instagram-spark { color: #315ee8; font-size: 1.1rem; }
.instagram h2 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
.instagram-heading p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; }
.instagram-all { flex-shrink: 0; font-size: .9rem; font-weight: 800; text-underline-offset: 5px; }
.instagram-status { padding: 20px; color: var(--muted); background: var(--soft); border-radius: 14px; }
.instagram-status[hidden] { display: none; }
.reel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reel-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.reel-card-link { display: flex; flex: 1; flex-direction: column; text-decoration: none; }
.reel-card-link:hover .reel-cta { background: #244bd0; }
.reel-card-link:focus-visible, .reel-original:focus-visible, .instagram-all:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.reel-image { position: relative; display: flex; justify-content: center; height: 270px; background: #101321; overflow: hidden; }
.reel-image img { width: 100%; height: 100%; object-fit: contain; }
.reel-latest { position: absolute; left: 12px; top: 12px; border-radius: 99px; background: #d7f580; color: #182107; padding: 5px 10px; font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.reel-copy { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 22px 22px 16px; }
.reel-product { margin: 0 0 10px; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.reel-copy h3 { font-size: 1.6rem; line-height: 1.1; letter-spacing: -.04em; margin-bottom: 22px; }
.reel-cta { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 12px; margin-top: auto; padding: 12px 15px; border-radius: 10px; background: var(--blue); color: white; font-size: .85rem; font-weight: 850; }
.reel-original { align-self: start; margin: 0 22px 20px; color: var(--muted); font-size: .8rem; text-underline-offset: 3px; }
@media (min-width: 821px) {
  .reel-grid:has(.reel-card:only-child) { grid-template-columns: minmax(0, 680px); }
  .reel-card:only-child .reel-card-link { flex-direction: row; }
  .reel-card:only-child .reel-image { width: 200px; flex-shrink: 0; height: 300px; }
  .reel-card:only-child .reel-copy { justify-content: center; padding: 32px; }
  .reel-card:only-child .reel-cta { margin-top: 12px; }
  .reel-card:only-child .reel-original { margin-top: 16px; }
}
@media (max-width: 820px) {
  .instagram { padding: 38px 0 42px; }
  .instagram-heading { align-items: start; flex-direction: column; gap: 18px; }
  .reel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .reel-image { height: 250px; }
}
@media (max-width: 560px) {
  .reel-grid { grid-template-columns: 1fr; }
  .reel-card-link { flex-direction: row; }
  .reel-image { width: 112px; height: 200px; flex-shrink: 0; }
  .reel-copy { padding: 18px 15px 12px; }
  .reel-copy h3 { font-size: 1.3rem; margin-bottom: 14px; }
  .reel-product { font-size: .63rem; margin-bottom: 8px; }
  .reel-cta { padding: 10px 11px; font-size: .78rem; }
  .reel-original { margin: 12px 15px 15px; }
  .reel-latest { left: 6px; top: 7px; font-size: .58rem; padding: 4px 7px; }
}
