/* Lightshot site styles, merged by scripts/build.mjs from tokens.css, base.css, components.css, content.css, layout.css. Edit the sources in src/assets/css. */

/* ---- tokens.css ---- */
/* lightshot design tokens.
   Ink #0A0813, porcelain #F4F1E7, brand green #76FF03, accessible moss #4E600F.
   The closing footer uses its own charcoal and green palette in both themes. */

@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-outfit: "Outfit";
  --paper: #f4f1e7;
  --ink: #0a0813;
  --muted: #68665f;
  --line: #d8d5cb;
  --surface: #e9e6db;
  --lime: #76ff03;
  --accent-text: #4e600f;
  --inverse: #f4f1e7;
  --error: #a3332f;
  /* Motion: one ease-out for entrances and hovers, one slight overshoot for
     press releases and toggles, and three durations. */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: .18s;
  --dur-base: .3s;
  --dur-slow: .5s;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #111117;
  --ink: #f4f1e7;
  --muted: #aaa8a1;
  --line: #36353a;
  --surface: #1d1d23;
  --accent-text: #76ff03;
  --inverse: #0a0813;
  --error: #ffaaa2;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111117;
    --ink: #f4f1e7;
    --muted: #aaa8a1;
    --line: #36353a;
    --surface: #1d1d23;
    --accent-text: #76ff03;
    --inverse: #0a0813;
    --error: #ffaaa2;
    color-scheme: dark;
  }
}

/* ---- base.css ---- */
/* Reset, document defaults and the shared typographic scale. */

* { box-sizing: border-box; }

/* The hidden attribute must win over component display rules such as the
   mobile navigation's display:flex. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-outfit), Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}

::selection { background: var(--lime); color: #0a0813; }

/* The previous build reset these through Tailwind's preflight. Without it a
   control keeps the browser's own margins and padding, which shifts the consent
   checkbox and changes the footer form's height. */
button, input, textarea { font: inherit; margin: 0; padding: 0; }
svg { display: block; vertical-align: middle; }
button, a, input, summary, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; background: none; }
button:disabled { cursor: wait; }
button, fieldset { border: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 450; }
h2 { font-size: clamp(40px, 4.7vw, 71px); line-height: 1.05; letter-spacing: -.052em; }

:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 6px; }
.site-footer :focus-visible { outline-color: var(--lime); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 100;
  background: var(--lime);
  color: #0a0813;
  padding: 12px 20px;
  transform: translateY(-160%);
  border-radius: 6px;
}
.skip-link:focus { transform: translateY(0); }

.soft-text { color: var(--muted); }
.mobile-only { display: none; }
.eyebrow, .section-index, .footer-kicker { font-size: 10px; font-weight: 500; letter-spacing: 1.6px; }

.spin { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Viewport reveals. The element is visible by default, so content is never lost
   if IntersectionObserver or the module script is unavailable; the class only
   replays the original entrance keyframes. */
[data-reveal].is-visible { animation: reveal .7s var(--ease-out) var(--reveal-delay, 0s) both; }
@keyframes reveal {
  from { opacity: .65; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.is-swapping { animation: figure-swap .35s var(--ease-out) both; }
@keyframes figure-swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 700px) {
  html { scroll-padding-top: 30px; }
  h2 { font-size: 42px; letter-spacing: -2px; }
  .section-index { font-size: 8px; letter-spacing: 1.5px; }
  .mobile-only { display: block; }
}

@media (max-width: 380px) {
  h2 { font-size: 37px; }
}

/* Last in this file so the reduced-motion scroll behaviour wins. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---- components.css ---- */
/* Reusable pieces: buttons, links, icon buttons, disclosures, forms and the
   shared paid-offer block.

   Loaded before layout.css on purpose. Header and footer placement rules such
   as .header-cta and .footer-download have the same specificity as .button, so
   the generic component has to come first for those overrides to win. */

/* ---------------------------------------------------------------- buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 56px;
  padding: 15px 24px;
  border-radius: 99px;
  color: #0a0813;
  background: var(--lime);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform var(--dur-slow) var(--ease-spring), background var(--dur-fast);
}
@media (hover: hover) {
  .button:hover { transform: translateY(-3px); background: #96ff4d; }
}
.button:active { transform: translateY(0) scale(.97); transition-duration: .1s; }
.button > svg:last-child { transition: transform .25s; }
@media (hover: hover) {
  .button:hover > svg:last-child { transform: translate(2px, -2px); }
}
/* Download buttons lead with the Apple mark: lightshot is sold only on the App Store.
   The mark and label share a span, so the button's gap still spaces the arrow. */
.app-label { display: inline-flex; align-items: center; gap: .5em; }
.app-label svg { flex: none; }
.button-small { min-height: 44px; padding: 9px 18px; font-size: 14px; gap: 22px; }
.button-outline { background: transparent; border-color: var(--line); color: var(--ink); }
@media (hover: hover) {
  .button-outline:hover { background: var(--surface); }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  padding-block: 7px;
  transition: gap var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}
@media (hover: hover) {
  .text-link:hover { gap: 17px; }
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background var(--dur-fast), transform var(--dur-base) var(--ease-spring);
}
@media (hover: hover) {
  .icon-button:hover { background: var(--surface); transform: rotate(-8deg); }
}

/* The toggle shows the glyph for the theme it switches to. */
.sun-icon { display: none; }
:root[data-theme="dark"] .sun-icon { display: block; }
:root[data-theme="dark"] .moon-icon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sun-icon { display: block; }
  :root:not([data-theme="light"]) .moon-icon { display: none; }
}

/* ---------------------------------------------------------------- disclosures */

.faq-section { padding-block: 105px 125px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; }
.faq-section .section-index { display: block; margin-bottom: 27px; }
.faq-section .text-link { margin-top: 28px; font-size: 12px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font-size: 16px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-number { color: var(--muted); font-size: 10px; }
.faq-plus { margin-left: auto; font-size: 25px; line-height: 1; font-weight: 300; transition: transform var(--dur-base) var(--ease-spring); }
details[open] .faq-plus { transform: rotate(45deg); }
.faq-list details > p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 30px 25px; }

/* Answers ease open where the browser supports animating the details content;
   elsewhere they open instantly, as before. */
@supports selector(::details-content) {
  .faq-list details { interpolate-size: allow-keywords; }
  .faq-list details::details-content {
    block-size: 0;
    overflow: clip;
    opacity: 0;
    transition: block-size var(--dur-slow) var(--ease-out), opacity var(--dur-base) var(--ease-out), content-visibility var(--dur-slow) allow-discrete;
  }
  .faq-list details[open]::details-content { block-size: auto; opacity: 1; }
}
.faq-list summary:active .faq-plus { transform: scale(.85); }
details[open] .faq-plus:active, .faq-list details[open] summary:active .faq-plus { transform: rotate(45deg) scale(.85); }

/* ---------------------------------------------------------------- press feedback */

/* Every tappable control answers a press, including on touch where there is no
   hover. The release springs back through --ease-spring. */
.button-outline:active, .icon-button:active, .email-field button:active,
.billing-switch button:active, .style-choices button:active, .line-choices button:active { transform: scale(.95); transition-duration: .1s; }
.text-link:active { opacity: .6; }

/* ---------------------------------------------------------------- forms */

.trap-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #ffb4ac; font-size: 12px; margin-top: 12px; }

/* Shown until a form's module takes over, so a visitor without working
   JavaScript is told plainly rather than left with a dead control. */
.form-fallback { font-size: 11px; line-height: 1.6; color: #a8a5ad; margin-top: 12px; }

/* The pending and idle contents are swapped inside the button, so they must not
   create a box of their own or the button's own gap would collapse. */
[data-submit-idle], [data-submit-pending] { display: contents; }

.email-field { display: flex; border-bottom: 1px solid #aaa6b1; }
.email-field input {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  color: #f4f1e7;
  border-radius: 0;
  padding: 12px 0 16px;
  font-size: 18px;
}
.email-field input::placeholder { color: #bdb9c2; opacity: 1; }
/* Round and small controls get a tactile press. */
.email-field button { transition: background var(--dur-fast), transform var(--dur-base) var(--ease-spring); display: grid; place-items: center; width: 50px; height: 50px; color: var(--lime); border-radius: 50%; }
@media (hover: hover) {
  .email-field button:hover { background: #24222c; }
}

.consent { display: flex; align-items: flex-start; gap: 9px; font-size: 10px; color: #a8a5ad; line-height: 1.6; margin-top: 15px; }
.consent input { width: 15px; height: 15px; margin-top: 1px; accent-color: var(--lime); flex-shrink: 0; }
.consent a { text-decoration: underline; text-underline-offset: 3px; color: #e5e1e9; }

.signup-success { animation: reveal .6s var(--ease-out) both; display: flex; gap: 15px; align-items: center; padding: 20px 0; border-top: 1px solid #524f5b; }
.signup-success svg { color: var(--lime); }
.signup-success strong { font-size: 22px; font-weight: 400; }
.signup-success p { color: #aaa6b1; font-size: 13px; margin-top: 5px; }

/* ---------------------------------------------------------------- paid offer */

.pricing-section { padding-block: 85px 90px; border-top: 1px solid var(--line); }
.pricing-intro h1 { font-size: clamp(50px, 6.4vw, 94px); letter-spacing: -.06em; line-height: 1.03; margin-top: 25px; }
.pricing-intro > p { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 460px; margin-top: 25px; }

.plan-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 90px; margin-top: 50px; align-items: center; }
.plan-inclusions :is(h2, h3) { font-size: 36px; line-height: 1.16; letter-spacing: -1.4px; }
.plan-inclusions > p { color: var(--muted); font-size: 14px; margin-top: 14px; }
.plan-inclusions ul { list-style: none; padding: 0; margin: 30px 0; }
.plan-inclusions li { display: flex; align-items: center; gap: 12px; margin-block: 16px; font-size: 15px; line-height: 1.5; }
.plan-inclusions li svg { color: var(--accent-text); flex-shrink: 0; }
.plan-inclusions .text-link { font-size: 12px; }

.plan { border-radius: 8px; padding: 34px; }
.plan-pro { background: var(--lime); color: #0a0813; }
.plan-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.plan-heading :is(h2, h3) { font-size: 28px; letter-spacing: -.9px; }
.plan-heading > span { color: #4d591b; font-size: 11px; }

.billing-switch { display: flex; padding: 4px; border: 1px solid #0a08132b; border-radius: 99px; width: 100%; margin-top: 25px; gap: 3px; }
.billing-switch button {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 99px;
  gap: 2px;
  padding: 10px 13px;
  font-size: 13px;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-spring);
}
.billing-switch button[aria-pressed="true"] { background: #0a0813; color: #f4f1e7; }
.billing-switch button > span { font-size: 8px; text-transform: uppercase; letter-spacing: .6px; }

.plan-options { margin-top: 14px; font-size: 11px; line-height: 1.6; color: #414c14; text-align: center; }

.plan-price { display: flex; gap: 11px; align-items: baseline; margin-top: 30px; }
.plan-price strong { font-size: clamp(56px, 5.6vw, 83px); line-height: 1.12; font-weight: 450; letter-spacing: -.065em; }
.plan-price > span { font-size: 16px; color: #4d591b; }
.plan-billing-note { font-size: 13px; margin-top: 10px; }
.plan-saving { font-size: 11px; color: #4d591b; margin-top: 10px; min-height: 17px; }
.plan-pro > .button { background: #0a0813; color: #f4f1e7; width: 100%; margin-top: 30px; }
@media (hover: hover) {
  .plan-pro > .button:hover { background: #24212e; }
}
.plan-pro :focus-visible { outline-color: #0a0813; }
.plan-bottom { font-size: 11px; line-height: 1.7; margin-top: 20px; color: #414c14; }

.pricing-fine-print {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.pricing-fine-print a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pricing-details { margin-top: 20px; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  .plan-grid { gap: 45px; }
  .plan { padding: 28px; }
  .plan-inclusions :is(h2, h3) { font-size: 30px; }
  .plan-inclusions li { font-size: 13px; }
  .plan-heading :is(h2, h3) { font-size: 24px; }
  .billing-switch button { gap: 2px; padding-inline: 9px; }
  .billing-switch button > span { font-size: 7px; }
}

@media (max-width: 900px) {
  .faq-section { gap: 35px; }
  .faq-list summary { font-size: 14px; gap: 14px; }
}

@media (max-width: 700px) {
  .faq-section { display: block; padding-block: 65px 75px; }
  .faq-section h2 { font-size: 44px; }
  .faq-section .text-link { margin-top: 20px; }
  .faq-list { margin-top: 33px; }
  .faq-list summary { font-size: 15px; padding-block: 23px; }
  .faq-list details > p { font-size: 14px; margin-left: 27px; margin-right: 5px; }

  .pricing-section { padding-block: 55px 65px; }
  .pricing-intro h1 { font-size: clamp(43px, 10.5vw, 64px); margin-top: 24px; }
  .pricing-intro > p { font-size: 16px; margin-top: 22px; }
  .plan-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .plan-inclusions { grid-row: 2; }
  .plan-inclusions :is(h2, h3) { font-size: 32px; }
  .plan-inclusions li { font-size: 14px; margin-block: 16px; }
  .plan { padding: 26px; }
  .plan-heading :is(h2, h3) { font-size: 27px; }
  .billing-switch { margin-top: 24px; }
  .billing-switch button { font-size: 13px; min-height: 52px; }
  .billing-switch button > span { font-size: 7px; }
  .plan-price { margin-top: 26px; }
  .plan-price strong { font-size: 68px; }
  .plan-billing-note { font-size: 12px; }
  .plan-saving { font-size: 11px; }
  .plan-pro > .button { font-size: 14px; margin-top: 25px; }
  .pricing-fine-print { grid-template-columns: 1fr; gap: 13px; font-size: 10px; }
}

/* ---- content.css ---- */
/* Shared content blocks the build generates or any page can include:
   breadcrumb, the updated/byline line, link cards (hub listings and related
   pages) and the long-form call to action. Merged into the site stylesheet
   after components.css and before layout.css. Colours come from tokens.css,
   so light and dark themes follow automatically. */

/* ---------------------------------------------------------------- breadcrumb */

.breadcrumb { margin-bottom: 28px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; min-width: 0; }
/* A drawn chevron, so screen readers don't announce a separator character. */
.breadcrumb li + li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-inline: 10px 12px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
  flex-shrink: 0;
}
.breadcrumb a { padding-block: 10px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
@media (hover: hover) {
  .breadcrumb a:hover { color: var(--ink); text-decoration-color: currentColor; }
}
.breadcrumb [aria-current="page"] { color: var(--ink); overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- updated line */

.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.article-byline { color: var(--ink); }
.article-byline + span::before { content: "·"; margin-right: 18px; color: var(--muted); }

/* ---------------------------------------------------------------- link cards */

/* One card per page: the title's link covers the whole card, so the link's
   accessible name is the title alone and the description stays plain text. */
.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 24px 56px 26px 24px;
  border-radius: 8px;
  background: var(--surface);
  transition: transform var(--dur-slow) var(--ease-spring), box-shadow var(--dur-slow) var(--ease-out);
}
@media (hover: hover) {
  .link-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgb(10 8 19 / .35); }
}
.link-card-title { margin: 0; font-size: 21px; font-weight: 450; line-height: 1.2; letter-spacing: -.4px; }
.link-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
/* The focus ring goes round the whole card, on the overlay the link draws. */
.link-card-title a:focus-visible { outline: none; }
.link-card-title a:focus-visible::after { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.link-card-description { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.link-card-arrow { position: absolute; top: 24px; right: 22px; color: var(--accent-text); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) {
  .link-card:hover .link-card-arrow { transform: translate(2px, -2px); }
}
.link-card:active { transform: scale(.985); transition-duration: .1s; }

/* ---------------------------------------------------------------- related pages */

.related-links { padding-block: 80px 8px; }
.related-links > h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.12; letter-spacing: -.035em; margin-bottom: 30px; }
.related-links .link-cards { gap: 32px; }
.related-links .link-card { padding: 28px 34px 28px 0; border-top: 1px solid var(--line); border-radius: 0; background: none; gap: 16px; }
@media (hover: hover) {
  .related-links .link-card:hover { transform: none; box-shadow: none; }
}
.related-links .link-card-title { font-size: 24px; line-height: 1.2; }
.related-links .link-card-description { max-width: 38ch; }
.related-links .link-card-arrow { top: 30px; right: 4px; }
.related-links .link-card-title a::after { border-radius: 2px; }
@media (hover: hover) {
  .related-links .link-card:hover .link-card-title { color: var(--accent-text); }
}
.related-links .link-card:active { transform: none; opacity: .7; }

/* ---------------------------------------------------------------- call to action */

.article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px 56px;
  align-items: center;
  margin-block: 96px 0;
  padding: 64px clamp(32px, 5vw, 72px);
  border-radius: 24px;
  background: var(--surface);
}
.article-cta .section-index { display: block; margin-bottom: 18px; color: var(--muted); }
.article-cta h2 { max-width: 19ch; font-size: clamp(34px, 3.7vw, 52px); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.article-cta-copy > p:last-child { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 60ch; }
.article-cta-actions { display: flex; flex-direction: column; align-items: flex-start; justify-self: end; gap: 20px; }
.article-cta-actions .text-link { font-size: 13px; }

@media (max-width: 900px) {
  .article-cta { grid-template-columns: 1fr; align-items: start; padding: 36px 32px; }
  .article-cta-actions { justify-self: start; }
}

@media (max-width: 700px) {
  .link-card { padding: 22px 52px 22px 20px; }
  .link-card-title { font-size: 19px; }
  .link-card-arrow { top: 22px; right: 18px; }
  .related-links { padding-top: 48px; }
  .related-links .link-cards { gap: 0; }
  .related-links .link-card-title { font-size: 23px; }
  .article-cta { margin-top: 56px; padding: 36px 24px; gap: 28px; border-radius: 18px; }
  .article-cta .button { width: 100%; white-space: normal; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .link-card:hover, .link-card:hover .link-card-arrow { transform: none; }
}

/* ---- layout.css ---- */
/* Page frame: the shared content column, the site header and the site footer. */

.section-wrap { width: min(1440px, calc(100% - 112px)); margin-inline: auto; }

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

.site-header {
  width: min(1440px, calc(100% - 112px));
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: auto;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 30;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 34px;
  font-weight: 550;
  letter-spacing: -1.9px;
  line-height: 1;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-period { color: var(--accent-text); }

.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: 55px; font-size: 14px; }
.desktop-nav a { position: relative; padding-block: 12px; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
@media (hover: hover) {
  .desktop-nav a:hover::after { transform: scaleX(1); }
}

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-signin { font-size: 13px; white-space: nowrap; padding-block: 12px; }
@media (hover: hover) {
  .header-signin:hover { text-decoration: underline; text-underline-offset: 5px; }
}

.menu-toggle {
  display: none;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  transition: background .25s, border-color .25s, color .25s, transform var(--dur-base) var(--ease-spring);
}
@media (hover: hover) {
  .menu-toggle:hover { transform: translateY(-1px); }
}
.menu-toggle:active { transform: scale(.93); transition-duration: .1s; }
.menu-toggle[aria-expanded="true"] { background: var(--lime); border-color: var(--lime); color: #0a0813; }
.menu-toggle-lines { position: relative; display: block; width: 20px; height: 20px; }
.menu-toggle-lines span {
  position: absolute;
  left: 1px;
  top: 6px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top .32s cubic-bezier(.22, 1, .36, 1), transform .32s cubic-bezier(.22, 1, .36, 1);
}
.menu-toggle-lines span:last-child { top: 13px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:first-child { top: 9px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:last-child { top: 9px; transform: rotate(-45deg); }

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

.site-footer {
  --footer-accent: var(--lime);
  --footer-line: #83cd48;
  background: #191919;
  color: #f7f7f7;
  min-height: 56.75vw;
  padding: 4.2vw 3.5vw 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: 20px;
}

/* The reference's two offset wireframes cross both the headline and artwork.
   They remain decorative, so links and form controls are always reachable. */
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 37%;
  height: 32.4vw;
  border: 1px solid var(--footer-line);
  pointer-events: none;
}
.site-footer::before { left: 60%; top: 1.6vw; }
.site-footer::after { left: 51%; top: 13.4vw; }

.footer-top {
  position: absolute;
  top: 1.4vw;
  left: 3.5%;
  right: 4.2%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-kicker { color: #b4b4b4; font-size: 8px; }

.back-top {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--footer-accent);
  transform: rotate(-45deg);
  transition: background .25s, color .25s;
}
.back-top svg { width: 20px; height: 20px; }
.back-top:hover { background: var(--footer-accent); color: #131313; }
.site-footer :focus-visible { outline-color: var(--footer-accent); }

.site-footer h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 8.55vw;
  letter-spacing: -.065em;
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
}
.site-footer .lime-dot { color: var(--footer-accent); }

.footer-middle {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 41.4% 34%;
  justify-content: space-between;
  align-items: start;
  margin-top: 2.9vw;
  padding-right: 4%;
}
.footer-signup { min-width: 0; }
.footer-download {
  position: relative;
  width: 100%;
  min-height: 5.9vw;
  margin-bottom: 8px;
  padding: 14px 60px 14px 24px;
  border: 1px solid var(--footer-line);
  border-radius: 0;
  background: transparent;
  color: #f7f7f7;
  box-shadow: 0 15px 45px -18px #76ff0326;
  font-size: clamp(12px, 1.2vw, 17px);
  font-weight: 400;
  text-transform: none;
}
.footer-download > svg:last-child {
  position: absolute;
  right: 6%;
  width: 3.8vw;
  height: 3.8vw;
  color: var(--footer-accent);
}
.footer-download:hover { background: #76ff030c; transform: none; }
.footer-signup > p { color: #b8b8b8; font-size: 11px; line-height: 1.35; margin-bottom: 6px; }
.site-footer .email-field { border-color: #727272; }
.site-footer .email-field input { color: #f7f7f7; font-size: 14px; padding-block: 8px; }
.site-footer .email-field input::placeholder { color: #b8b8b8; }
.site-footer .email-field button { width: 40px; height: 40px; color: var(--footer-accent); border-radius: 0; }
.site-footer .email-field button:hover { background: #252525; }
.site-footer .consent { margin-top: 5px; color: #b8b8b8; }
.site-footer .consent input { accent-color: var(--footer-accent); }
.site-footer .consent a { color: #f7f7f7; }
.site-footer .form-fallback, .site-footer .form-error { background: #191919; padding: 5px 0; }

.footer-nav {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 20px;
  padding-top: 0;
}
.footer-nav > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-nav > div > span:first-child {
  color: #f7f7f7;
  font-size: clamp(13px, 1.55vw, 22px);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.footer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #d1d1d1;
  font-size: clamp(12px, 1.25vw, 17px);
  line-height: 1.35;
  min-height: 24px;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--footer-accent); }
.footer-nav svg { width: 11px; height: 11px; color: var(--footer-accent); }
.footer-location { color: #b8b8b8; font-size: 10px; line-height: 1.5; margin-top: 10px; }

/* The image-filled wordmark sits behind the controls, as in the reference. */
.footer-art {
  position: absolute;
  left: 3.5%;
  right: 3.5%;
  top: 21.5vw;
  height: 33vw;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.footer-art::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 42vw;
  top: 4.4vw;
  width: 4.5vw;
  height: 4.5vw;
  border-radius: 50%;
  background: linear-gradient(165deg, #f7f9f8 0%, #f0f2ef 46%, #aeb5b3 47%, #cbd1cf 62%, #eff0ee 80%);
}
.footer-wordmark {
  display: block;
  font-weight: 600;
  font-size: 32vw;
  letter-spacing: -.08em;
  line-height: 1;
  width: 100%;
  white-space: nowrap;
  background-image: linear-gradient(100deg, #ffffff12, #ffffff30 48%, #13131355), url("/images/creator-studio.webp");
  background-size: cover;
  background-position: center 43%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  padding-bottom: .07em;
  filter: grayscale(1) brightness(1.2);
}
.footer-ribbon {
  display: none;
  position: absolute;
  z-index: 4;
  width: 16%;
  left: 72%;
  top: -15%;
  transform: rotate(-17deg);
}
.footer-art-note {
  display: none;
  position: absolute;
  right: 11%;
  top: 31%;
  z-index: 4;
  font-size: 7px;
  letter-spacing: 1.5px;
  line-height: 1.6;
  color: #f7f7f7;
  text-shadow: 0 1px 4px #131313;
}

.footer-social {
  position: absolute;
  z-index: 5;
  top: 36.7vw;
  left: 69.4%;
  display: flex;
  gap: .8vw;
}
.footer-social > span {
  display: grid;
  place-items: center;
  width: 4.8vw;
  height: 4.8vw;
  border-radius: .9vw;
  background: var(--footer-accent);
  color: #191919;
}
.footer-social svg { display: block; width: 2.7vw; height: 2.7vw; }

.footer-bottom {
  position: absolute;
  bottom: 0;
  left: 3.5%;
  right: 3.5%;
  z-index: 4;
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  font-size: 9px;
  color: #b8b8b8;
}
.footer-bottom > span:first-child { grid-column: 2; grid-row: 1; color: var(--footer-accent); }
.footer-bottom > span:nth-child(2) { grid-column: 1; grid-row: 1; }
.footer-bottom > .footer-legal { grid-column: 3; grid-row: 1; justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 20px; }
.footer-bottom a { display: flex; align-items: center; gap: 8px; min-height: 24px; }
.footer-bottom a:hover { color: var(--footer-accent); }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .section-wrap, .site-header { width: calc(100% - 64px); }
  .desktop-nav { margin-left: 0; gap: 24px; }
}

@media (max-width: 900px) {
  .desktop-nav { gap: 18px; font-size: 12px; }
  .header-actions { gap: 10px; }
  .footer-nav { gap: 14px; }
  .footer-middle { grid-template-columns: 43% 36%; padding-right: 0; }
  .footer-download { min-height: 56px; padding-inline: 12px 44px; }
  .footer-location { font-size: 9px; }
}

@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav {
    position: absolute;
    z-index: 40;
    right: 0;
    top: calc(100% + 9px);
    display: block;
    width: min(420px, 100%);
    max-height: calc(100dvh - 100px);
    overflow: hidden auto;
    padding: 22px;
    border: 1px solid #38373e;
    border-radius: 20px;
    background: #18181d;
    color: #f4f1e7;
    box-shadow: 0 24px 60px #0a081347;
    transform: translate3d(0, -13px, 0) scale(.985);
    transform-origin: top right;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .32s cubic-bezier(.32, .72, 0, 1), visibility 0s linear .32s;
    overscroll-behavior: contain;
  }
  .mobile-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .3s ease, transform .46s cubic-bezier(.22, 1, .36, 1), visibility 0s;
  }
  .mobile-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 2px;
    background: var(--lime);
  }
  .mobile-nav-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 17px;
    border-bottom: 1px solid #ffffff21;
    color: var(--lime);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
  }
  .mobile-nav-heading span:last-child { color: #a3a2a9; font-family: ui-monospace, monospace; font-weight: 400; letter-spacing: .08em; }
  .mobile-nav-links a {
    display: grid;
    grid-template-columns: 27px 1fr 18px;
    align-items: center;
    gap: 13px;
    min-height: 59px;
    border-bottom: 1px solid #ffffff1e;
    color: #f4f1e7;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -.035em;
    opacity: 0;
    transform: translate3d(0, 9px, 0);
    transition: color .2s, opacity .25s, transform .36s cubic-bezier(.22, 1, .36, 1);
  }
  .mobile-nav.is-open .mobile-nav-links a { opacity: 1; transform: none; }
  .mobile-nav.is-open .mobile-nav-links a:nth-child(1) { transition-delay: .06s; }
  .mobile-nav.is-open .mobile-nav-links a:nth-child(2) { transition-delay: .09s; }
  .mobile-nav.is-open .mobile-nav-links a:nth-child(3) { transition-delay: .12s; }
  .mobile-nav.is-open .mobile-nav-links a:nth-child(4) { transition-delay: .15s; }
  .mobile-nav.is-open .mobile-nav-links a:nth-child(5) { transition-delay: .18s; }
  .mobile-nav.is-open .mobile-nav-links a:nth-child(6) { transition-delay: .21s; }
  .mobile-nav-links a:hover { color: var(--lime); }
  .mobile-nav-links a > span:first-child { color: #8f9095; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: 0; }
  .mobile-nav-links a svg { width: 18px; height: 18px; color: var(--lime); }
  .mobile-nav a:focus-visible { outline-color: var(--lime); outline-offset: -3px; }
  .mobile-nav-footer {
    padding-top: 20px;
    opacity: 0;
    transform: translate3d(0, 9px, 0);
    transition: opacity .25s, transform .36s cubic-bezier(.22, 1, .36, 1);
  }
  .mobile-nav.is-open .mobile-nav-footer { opacity: 1; transform: none; transition-delay: .24s; }
  .mobile-nav-footer p { margin-bottom: 13px; color: #aaa9ae; font-size: 9px; letter-spacing: .14em; }
  .mobile-nav-footer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 12px;
    background: var(--lime);
    color: #0a0813;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    transition: background .2s, transform .2s;
  }
  .mobile-nav-footer a:hover { background: #96ff4d; transform: translateY(-2px); }
  .mobile-nav-footer a:focus-visible { outline-color: #f4f1e7; outline-offset: 3px; }
  .mobile-nav-footer svg { flex: 0 0 auto; }
}

@media (min-width: 701px) and (max-width: 900px) {
  .site-footer { min-height: 78vw; }
  .footer-art { top: 37vw; }
  .footer-social { top: 52vw; }
}

@media (max-width: 700px) {
  .section-wrap, .site-header { width: calc(100% - 40px); }
  .site-header { height: 78px; gap: 12px; }
  .brand { font-size: 26px; letter-spacing: -1.4px; gap: 4px; }
  .brand img { width: 32px; height: 32px; }
  .header-actions { gap: 8px; }
  .header-signin { display: none; }
  .menu-toggle { width: 42px; height: 42px; }
  .theme-toggle { width: 36px; height: 36px; border: 0; }
  .header-cta { min-height: 40px; padding: 8px 10px; font-size: 11px; gap: 6px; }
  .header-cta > svg:last-child { display: none; }

  .site-footer { min-height: 0; padding: 24px 20px 0; }
  .site-footer::before { left: 53%; top: 18px; width: 42%; height: 178px; }
  .site-footer::after { left: 45%; top: 78px; width: 42%; height: 178px; }
  .footer-top { position: relative; inset: auto; }
  .footer-kicker { font-size: 8px; letter-spacing: 1.3px; }
  .back-top { width: 30px; height: 30px; }
  .site-footer h2 { margin-top: 24px; font-size: clamp(43px, 11.5vw, 78px); line-height: 1; letter-spacing: -.065em; white-space: normal; }
  .footer-middle { display: flex; flex-direction: column; gap: 38px; margin-top: 30px; padding: 0; }
  .footer-signup { width: 100%; }
  .footer-signup > p { font-size: 13px; line-height: 1.5; margin-bottom: 12px; }
  .footer-download { margin-bottom: 20px; min-height: 60px; padding-inline: 20px 60px; font-size: 13px; background: #191919; }
  .footer-download > svg:last-child { width: 36px; height: 36px; }
  .footer-nav { width: 88%; align-self: flex-end; gap: 22px; padding: 22px 16px 45px; border: 1px solid var(--footer-line); }
  .footer-nav a { font-size: 14px; min-height: 32px; }
  .footer-nav > div > span:first-child { font-size: 14px; margin-bottom: 10px; }
  .footer-location { font-size: 10px; }
  .footer-social { position: relative; inset: auto; justify-content: flex-end; gap: 9px; margin-top: 20px; margin-right: 10%; }
  .footer-social > span { width: 42px; height: 42px; border-radius: 8px; }
  .footer-social svg { width: 25px; height: 25px; }
  .footer-art { position: relative; inset: auto; height: 36vw; margin-top: 8px; }
  .footer-art::before { left: 4%; top: -15%; width: 30px; height: 30px; }
  .footer-wordmark { font-size: 30.25vw; padding: 0 0 .07em; }
  .footer-ribbon { width: 26%; top: -14%; left: 68%; }
  .footer-art-note { top: auto; bottom: 0; right: 2%; font-size: 6px; }
  .footer-bottom { position: relative; inset: auto; grid-template-columns: 1fr auto; min-height: 76px; gap: 8px 12px; padding-block: 18px; font-size: 9px; }
  .footer-bottom > span:first-child { grid-column: 1; }
  .footer-bottom > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; text-align: center; }
  .footer-bottom > .footer-legal { grid-column: 2; grid-row: 1; gap: 4px 14px; }
}

@media (max-width: 380px) {
  .section-wrap, .site-header { width: calc(100% - 32px); }
  .brand { font-size: 23px; }
  .brand img { width: 28px; height: 28px; }
  .header-actions { gap: 4px; }
  .header-cta { padding: 8px; font-size: 10px; }
  .header-cta > svg:last-child { display: none; }
  .menu-toggle { width: 40px; height: 40px; border-radius: 12px; }
  .mobile-nav { padding: 18px; }
  .mobile-nav::before { left: 18px; right: 18px; }
  .mobile-nav-links a { min-height: 55px; font-size: 20px; }
}
