:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --ink: #181a20;
  --muted: #484954;
  --line: #dcdad1;
  --blue: #263ac1;
  --lime: #e0fa58;
  --lavender: #e9eaff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid #095cf5; outline-offset: 5px; }
[hidden] { display: none !important; }

.shell { width: min(100% - 4rem, 76rem); margin-inline: auto; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 2; padding: .75rem; background: white; }
.skip-link:focus { top: .5rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; width: max-content; white-space: nowrap; text-decoration: none; font-size: 1.45rem; font-weight: 800; letter-spacing: -.055em; }
.brand-mark { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-right: .45rem; border-radius: 50%; color: var(--lime); background: var(--ink); font-size: 1.2rem; letter-spacing: 0; }
.wordmark-dot { color: var(--blue); }
nav { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2.25rem); }
nav a { font-size: .875rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
.nav-short { display: none; }
nav a:hover, .back-to-top:hover { text-decoration: underline; text-underline-offset: .2em; }
.nav-offer { border: 1px solid var(--ink); border-radius: 99px; padding: .6rem .95rem; }

.hero { display: grid; grid-template-columns: 47% minmax(0, 1fr); min-height: 28.5rem; margin-top: 1.5rem; border-radius: 1.125rem; overflow: hidden; background: var(--lavender); }
.hero-copy { align-self: center; padding: clamp(1.8rem, 4vw, 3.6rem); }
.eyebrow { font-size: .8125rem; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
h1 { margin-block: .95rem 1.2rem; font-size: clamp(3.1rem, 5.75vw, 5.35rem); line-height: .94; letter-spacing: -.077em; }
.hero-intro { max-width: 24rem; margin-bottom: 1.45rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.52; }
.hero-image { height: 100%; min-height: 0; object-fit: cover; background: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.15rem; border-radius: .5rem; font-size: .9375rem; font-weight: 800; text-align: center; text-decoration: none; }
.button:hover { text-decoration: underline; text-underline-offset: .22em; }
.button-dark { background: var(--ink); color: white; }
.button-lime { background: var(--lime); color: var(--ink); }
.disclosure { margin-top: .65rem; font-size: .8125rem; line-height: 1.4; }

.ideas { margin-block: clamp(2.8rem, 5.7vw, 5rem); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; column-gap: 1.5rem; row-gap: .45rem; margin-bottom: 1.3rem; }
h2 { font-size: clamp(2rem, 3.75vw, 3.55rem); line-height: 1.02; letter-spacing: -.061em; }
.section-heading p { color: var(--muted); line-height: 1.5; }
.idea-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.idea-card { overflow: hidden; border: 1px solid var(--line); border-radius: .875rem; background: white; }
.idea-card > img { height: auto; aspect-ratio: 1.75; object-fit: cover; }
.idea-card:nth-child(1) > img { background: #e1e7a9; }
.idea-card:nth-child(2) > img { background: #e3ddf7; }
.idea-card:nth-child(3) > img { background: #f8cfc2; }
.idea-copy { padding: 1.2rem 1.25rem; }
.idea-copy h3 { font-size: 1.45rem; line-height: 1.12; letter-spacing: -.043em; }
.idea-copy p { margin-top: .45rem; color: var(--muted); line-height: 1.45; }
.product { display: grid; grid-template-columns: 4rem minmax(0, 1fr); align-items: center; gap: .7rem; margin-top: 1.1rem; padding: .55rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--paper); }
.product img { width: 4rem; height: 4rem; padding: .12rem; border-radius: .3rem; object-fit: contain; background: white; }
.product h4 { font-size: .9375rem; line-height: 1.2; }
.product p { margin-top: .25rem; font-size: .8125rem; line-height: 1.3; }
.product a { display: inline-block; margin-top: .35rem; color: #2534a8; font-size: .875rem; font-weight: 750; text-underline-offset: .15em; }
.product a:hover { text-decoration-thickness: 2px; }
.idea-copy .product-disclosure { font-size: .8125rem; line-height: 1.35; }
details { margin-top: .95rem; border-top: 1px solid var(--line); padding-top: .85rem; }
summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 2rem; list-style: none; cursor: pointer; font-size: .875rem; font-weight: 750; color: #2534a8; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; display: grid; place-items: center; flex: 0 0 1.6rem; height: 1.6rem; border: 1px solid #d7dcfa; border-radius: 50%; font-size: 1.05rem; line-height: 1; }
details[open] summary::after { content: "−"; }
summary:hover { text-decoration: underline; text-underline-offset: .2em; }
details ul { margin-block: .75rem .15rem; padding-left: 1.2rem; font-size: .9375rem; line-height: 1.5; }
details li + li { margin-top: .55rem; }

.offer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(1.25rem, 5vw, 5rem); border-radius: 1.125rem; padding: clamp(1.5rem, 5vw, 3.7rem); background: var(--blue); color: white; }
.offer :focus-visible { outline-color: white; }
.offer .eyebrow { color: var(--lime); }
.offer h2 { margin-block: .65rem .85rem; }
.offer-description { max-width: 32rem; margin-bottom: 1.25rem; font-size: 1.0625rem; line-height: 1.5; }
.code-card { padding: clamp(1rem, 3vw, 1.55rem); border-radius: .7rem; background: #f2f3ff; color: var(--ink); }
.code-card :focus-visible { outline-color: #095cf5; }
.code-heading { font-weight: 750; }
.code-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-block: .75rem; border: 1px dashed #848bc4; border-radius: .5rem; padding: .5rem; }
.code-row code { padding-inline: .25rem; font-size: clamp(1.05rem, 2.5vw, 1.4rem); font-weight: 700; user-select: all; }
.copy-button { min-height: 2.5rem; border: 0; border-radius: .35rem; padding: .4rem .65rem; background: var(--ink); color: white; font-size: .875rem; font-weight: 700; cursor: pointer; }
.copy-button:hover { background: #34384a; }
.code-card p { font-size: .875rem; line-height: 1.45; color: var(--muted); }
.code-card .copy-status:not(:empty) { margin-top: .6rem; font-weight: 700; color: #2534a8; }

.site-footer { margin-top: clamp(2.8rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-block: 1.7rem 2.2rem; }
.footer-inner p { max-width: 36rem; margin-top: .7rem; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.back-to-top { flex: 0 0 auto; padding-top: .45rem; font-size: .875rem; font-weight: 700; text-decoration: none; }

@media (max-width: 59rem) {
  .shell { width: calc(100% - 2.5rem); }
  .hero { min-height: 24rem; }
  .hero-copy { padding: 1.65rem; }
  h1 { font-size: clamp(2.45rem, 6.55vw, 4.45rem); }
  .idea-copy { padding: 1rem; }
}

@media (max-width: 45rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 4rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; margin-top: .9rem; }
  .hero-image { height: auto; aspect-ratio: 1.55; }
  h1 { font-size: clamp(3rem, 11vw, 5rem); }
  .idea-grid { grid-template-columns: 1fr; }
  .idea-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .idea-card > img { height: 100%; min-height: 0; aspect-ratio: auto; }
  .offer { grid-template-columns: 1fr; }
}

@media (max-width: 27rem) {
  .shell { width: calc(100% - 1.5rem); }
  .wordmark { font-size: 1.23rem; }
  .brand-mark { width: 1.55rem; height: 1.55rem; font-size: 1rem; }
  nav { gap: .5rem; }
  nav a { font-size: .8125rem; }
  .nav-full { display: none; }
  .nav-short { display: inline; }
  .nav-offer { padding: .5rem .55rem; }
  .hero-copy { padding: 1.35rem; }
  .idea-card { grid-template-columns: 1fr; }
  .idea-card > img { height: auto; aspect-ratio: 1.8; }
}
