:root {
  --espresso: #211c18;
  --roasted: #3a2d25;
  --cream: #f6eee4;
  --sand: #d8c1a3;
  --copper: #c9a77c;
  --copper-dark: #85623a; /* copper accent that stays readable on light surfaces */
  --charcoal: #252321;
  --taupe: #6b6158;

  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 12px;
  --header-h: 68px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Semantic tokens: light theme (default). Dark overrides below. */
  --dot: rgba(37, 35, 33, .11); /* blueprint dots on light sections */
  --bg: var(--cream);
  --bg-alt: #ebdcc7;
  --surface: #fff9f1;
  --surface-soft: rgba(255, 255, 255, .4);
  --text: var(--charcoal);
  --muted: var(--taupe);
  --border: rgba(37, 35, 33, .12);
  --accent-ink: var(--copper-dark); /* copper used as text/lines on page surfaces */
  --input-bg: #fff;
  --input-border: #bfb3a4;
  --form-bg: var(--cream);
  --danger: #a23b2a;
  --ok-fg: #2c6a3f; --ok-bg: #e6f2e8;
  --err-fg: #8c2f20; --err-bg: #f8e5e0;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --dot: rgba(246, 238, 228, .07);
  --bg: #171310;
  --bg-alt: #1f1914;
  --surface: #2a221c;
  --surface-soft: rgba(246, 238, 228, .04);
  --text: #f1e8dc;
  --muted: #b8ac9e;
  --border: rgba(246, 238, 228, .14);
  --accent-ink: var(--copper);
  --input-bg: #1c1713;
  --input-border: #7a6b5c;
  --form-bg: #2a221c;
  --danger: #ff9a85;
  --ok-fg: #9fdcae; --ok-bg: rgba(75, 160, 100, .18);
  --err-fg: #ffb4a3; --err-bg: rgba(220, 90, 70, .18);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color .25s, color .25s;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--cream); color: var(--espresso); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons & shared bits ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--font-body);
  padding: 1rem 1.6rem; min-height: 48px;
  border-radius: 10px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--copper); color: var(--espresso); }
.btn--primary:hover { background: #d8b98f; }
.btn--ghost { border-color: rgba(246, 238, 228, .45); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(246, 238, 228, .08); }
.btn--sm { padding: .7rem 1.1rem; min-height: 42px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.eyebrow {
  font: 500 .76rem/1.5 var(--font-mono);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 1.1rem;
}
.eyebrow--dark { color: var(--accent-ink); }
.lead { font-size: 1.2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(33, 28, 24, .94); backdrop-filter: blur(10px);
  color: var(--cream); border-bottom: 1px solid rgba(246, 238, 228, .08);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__mark { height: 50px; width: auto; }
.site-footer .brand__mark { height: 120px; }
.brand__name { font: 700 1.05rem var(--font-display); letter-spacing: .02em; }

.nav__list { display: flex; align-items: center; gap: 1.6rem; }
.nav__list a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .98rem; opacity: .85; padding: .4rem 0; }
.nav__list a:not(.btn):hover { opacity: 1; color: var(--copper); }
.nav__list a[aria-current="page"] { opacity: 1; color: var(--copper); box-shadow: 0 2px 0 var(--copper); }

.nav-toggle {
  display: none; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; color: inherit;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle__bar { width: 24px; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--espresso); border-bottom: 1px solid rgba(246, 238, 228, .1);
    padding: .5rem var(--gutter) 1.5rem;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a:not(.btn) { display: block; padding: 1rem 0; font-size: 1.1rem; border-bottom: 1px solid rgba(246, 238, 228, .08); }
  .nav__cta { margin-top: 1.2rem; }
  .nav__cta .btn { width: 100%; }
}

/* Header tools: language switch + theme toggle */
.nav__tools { display: flex; align-items: center; gap: .75rem; }
.lang-switch { display: inline-flex; border: 1px solid rgba(246, 238, 228, .3); border-radius: 999px; padding: 2px; }
.nav__list .lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 34px; padding: 0 .6rem;
  font: 600 .8rem var(--font-display); letter-spacing: .06em; text-decoration: none; border: 0; border-radius: 999px;
  color: var(--cream); opacity: .8;
}
.nav__list .lang-switch a:hover { opacity: 1; color: var(--cream); }
.nav__list .lang-switch a[aria-current="true"] { background: var(--copper); color: var(--espresso); opacity: 1; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: none; border: 1px solid rgba(246, 238, 228, .3); border-radius: 50%; color: inherit; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.theme-toggle:hover { border-color: var(--copper); color: var(--copper); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
@media (max-width: 860px) { .nav__tools { margin-top: 1.2rem; justify-content: space-between; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--cream); background: var(--espresso);
  min-height: min(calc(100vh - var(--header-h)), 780px);
  display: flex; align-items: center; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(33,28,24,.94) 0%, rgba(33,28,24,.8) 50%, rgba(33,28,24,.55) 100%);
}
.hero__inner { padding-block: clamp(3.5rem, 8vw, 6.5rem); display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } }
.hero__copy { min-width: 0; }
.hero h1 { max-width: 15ch; margin-bottom: .5em; }
.hero__body { max-width: 34rem; color: rgba(246, 238, 228, .86); }
.hero__body--lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--cream); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 1.6rem; }
.hero__supporting { font-size: .95rem; color: var(--copper); letter-spacing: .02em; }

@media (max-width: 760px) {
  .hero__bg { object-position: 78% center; }
  .hero__shade { background: linear-gradient(180deg, rgba(33,28,24,.8) 0%, rgba(33,28,24,.88) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Strip ---------- */
.strip { background: var(--roasted); color: var(--cream); }
.strip__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item {
  display: flex; align-items: center; gap: .8rem; padding: 1.5rem 1rem;
  font: 600 .98rem var(--font-display);
  border-left: 1px solid rgba(246, 238, 228, .1);
}
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__item .icon { color: var(--copper); }
@media (max-width: 860px) {
  .strip__list { grid-template-columns: 1fr 1fr; }
  .strip__item { border-left: 0; padding: 1.1rem 0; }
}
@media (max-width: 440px) { .strip__list { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--light { background: var(--bg); }
.section--sand { background: var(--bg-alt); }
.section--dark { background: var(--espresso); color: var(--cream); }
.section--dark .lead { color: rgba(246, 238, 228, .8); }
.section__head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section__head h2 { margin-bottom: .4em; }

/* Philosophy */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split__media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px -28px rgba(33, 28, 24, .6); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% center; }
.statement {
  font: 700 1.2rem var(--font-display); color: var(--accent-ink);
  border-left: 3px solid var(--copper); padding-left: 1rem; margin-top: 1.6rem;
}
.clarify {
  display: flex; gap: 1rem; align-items: flex-start; margin: 1.6rem 0;
  padding: 1.1rem 1.2rem; border: 1px dashed var(--accent-ink); border-radius: var(--radius); background: var(--surface-soft);
}
.clarify__icon { width: 1.7rem; height: 1.7rem; flex: none; color: var(--accent-ink); margin-top: .15rem; }
.clarify__title { font: 700 1.02rem/1.35 var(--font-display); margin: 0 0 .3rem; }
.clarify p:last-child { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__media { order: -1; } }

.principles {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.principle {
  grid-column: span 2; padding: 1.75rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface-soft);
}
.principle:nth-child(4), .principle:nth-child(5) { grid-column: span 3; }
.principle__num { font: 500 .85rem var(--font-mono); letter-spacing: .1em; color: var(--accent-ink); }
.principle h3 { margin: .5rem 0 .3rem; }
.principle__lead { font-weight: 600; color: var(--accent-ink); margin-bottom: .5em; }
.principle p:last-child { margin: 0; color: var(--muted); }
@media (max-width: 980px) {
  .principles { grid-template-columns: 1fr 1fr; }
  .principle, .principle:nth-child(4), .principle:nth-child(5) { grid-column: auto; }
  .principle:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; gap: 1.5rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
/* dark theme: cards keep a visible edge */
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(33, 28, 24, .5); }
.card--plain { background: var(--surface); border-color: var(--border); border-top: 3px solid var(--copper); border-radius: 0 0 var(--radius) var(--radius); }
.card p { color: var(--muted); }
.card__list { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.card__list li { position: relative; padding-left: 1.4rem; margin-bottom: .55rem; font-size: .98rem; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .7em; width: .6rem; height: 2px; background: var(--accent-ink); }
@media (max-width: 980px) { .cards--3 { grid-template-columns: 1fr; } .cards--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards--4 { grid-template-columns: 1fr; } .card { padding: 1.5rem; } }

/* Products */
.product-block + .product-block { margin-top: clamp(3rem, 6vw, 4.5rem); }
.product {
  background-color: var(--espresso); color: var(--cream); border-radius: var(--radius);
  padding: clamp(2rem, 6vw, 4rem); margin-bottom: 1.5rem;
  /* Fintora thumbnail, cropped to its text-free gradient corner */
  background-image:
    linear-gradient(90deg, rgba(33, 28, 24, .94) 0%, rgba(33, 28, 24, .7) 50%, rgba(33, 28, 24, .15) 100%),
    var(--product-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product--plain {
  background-image:
    radial-gradient(70% 140% at 100% 0%, rgba(201, 167, 124, .28), transparent 60%),
    linear-gradient(135deg, var(--espresso), var(--roasted));
}
.product__text { max-width: 42rem; }
.product__name { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; margin: .6rem 0 .2em; }
.product__headline { font: 700 clamp(1.2rem, 2.4vw, 1.6rem)/1.3 var(--font-display); color: var(--copper); }
.product__text p:not(.badge):not(.product__headline):not(.product__audience-label):not(.product__soon) { color: rgba(246, 238, 228, .85); }
.product .btn { margin-top: .6rem; }
.product__features h4 { font: 700 1.25rem var(--font-display); letter-spacing: -0.01em; margin: 0 0 .6em; }

.badge {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0;
  font: 500 .74rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  padding: .45rem .8rem; border-radius: 999px; border: 1px solid currentColor;
}
.badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.badge--live { color: #8fd3a1; }
.badge--dev { color: var(--copper); }

.product__audience-label { font: 500 .8rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--copper); margin: 1.6rem 0 .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.chips li { padding: .5rem 1rem; border-radius: 999px; background: rgba(246, 238, 228, .1); border: 1px solid rgba(246, 238, 228, .2); font-size: .95rem; }
.product__soon { margin: 0; color: var(--copper); font-weight: 500; }

/* Product cards & pages */
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .cards--2 { grid-template-columns: 1fr; } }
.product--card { position: relative; margin: 0; padding: clamp(1.6rem, 4vw, 2.4rem); display: flex; flex-direction: column; align-items: flex-start; transition: transform .25s, box-shadow .25s; }
.product--card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(33, 28, 24, .7); }
.product--card .product__name { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.product__summary { color: rgba(246, 238, 228, .85); flex: 1; }
.product__link { color: var(--copper); font-weight: 600; text-decoration: none; margin-top: .4rem; }
.product__link::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.product__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.product--hero { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.product--hero .product__name { font-size: clamp(2.4rem, 6vw, 4rem); }
.crumb { display: inline-block; margin-bottom: 1.2rem; color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.crumb:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-page .section__head { margin-top: clamp(2.5rem, 6vw, 4rem); }
.product-page .product__text .btn { margin-top: 1rem; }

/* Links & home teasers */
.link-arrow { display: inline-block; font-weight: 600; color: var(--accent-ink); text-decoration: none; margin-top: .4rem; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow--light { color: var(--copper); }
.section__more { margin: 2rem 0 0; }
.mini-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.mini-steps li { display: flex; flex-direction: column; gap: .2rem; padding-top: 1rem; border-top: 2px solid var(--copper); }
.mini-steps__num { font: 500 .8rem var(--font-mono); letter-spacing: .12em; color: var(--copper); }
.mini-steps strong { font: 700 1.2rem var(--font-display); }
.mini-steps li span:last-child { color: rgba(246, 238, 228, .75); font-size: .95rem; }
@media (max-width: 860px) { .mini-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .mini-steps { grid-template-columns: 1fr; } }

.cta-band { background: var(--roasted); color: var(--cream); padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.cta-band h2 { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.cta-band .eyebrow { margin-bottom: .6rem; }
@media (max-width: 560px) { .cta-band .btn { width: 100%; } }

/* Process */
.steps { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.step { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.step:nth-child(even) .step__media { order: 2; }
.step__media { margin: 0; border-radius: var(--radius); overflow: hidden; }
.step__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.step__num { font: 500 .82rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin-bottom: .8rem; }
.step h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.step__text p:last-child { color: rgba(246, 238, 228, .8); margin: 0; max-width: 30rem; }
@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; }
  .step:nth-child(even) .step__media { order: 0; }
}

/* Contact */
.contact { position: relative; isolation: isolate; color: var(--cream); background: var(--espresso); padding-block: clamp(4rem, 9vw, 7rem); overflow: hidden; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(33,28,24,.94), rgba(33,28,24,.82)); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__intro .lead { color: rgba(246, 238, 228, .85); }
.link-light { color: var(--copper); }
@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr; } }

.form {
  background: var(--form-bg); color: var(--text);
  padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--input-bg); border: 1.5px solid var(--input-border); border-radius: 8px;
  padding: .8rem .9rem; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(201, 167, 124, .5); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .88rem; font-weight: 500; margin: .35rem 0 0; min-height: 0; }
.field__error:empty { display: none; }
.field__error::before { content: "⚠ "; }
.form__status { margin: 1rem 0 0; font-weight: 500; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--ok-fg); background: var(--ok-bg); border-radius: 8px; padding: .9rem 1rem; }
.form__status.is-success::before { content: "✓ "; font-weight: 700; }
.form__status.is-error { color: var(--err-fg); background: var(--err-bg); border-radius: 8px; padding: .9rem 1rem; }
.form__status.is-error::before { content: "⚠ "; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--cream); padding-top: 3.5rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer__desc { max-width: 38rem; margin: 1rem 0 0; color: rgba(246, 238, 228, .7); font-size: .98rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; }
.site-footer__links a { text-decoration: none; opacity: .85; padding: .4rem 0; display: inline-block; }
.site-footer__links a:hover { opacity: 1; color: var(--copper); }
.site-footer__copy { border-top: 1px solid rgba(246, 238, 228, .1); padding-block: 1.5rem; margin: 0 auto; font-size: .88rem; color: rgba(246, 238, 228, .6); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Software accents (balance the coffee imagery) ---------- */

/* Blueprint grid on dark surfaces */
.hero::before, .section--dark::before, .contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 167, 124, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 167, 124, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.section--dark { position: relative; isolation: isolate; }

/* Dotted grid on light sections */
.section--light, .section--sand { background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 22px 22px; }

/* Window chrome (code window, product cards) */
.window-bar { display: flex; align-items: center; gap: .4rem; margin: 0 0 1.2rem; padding-bottom: .85rem; border-bottom: 1px solid rgba(246, 238, 228, .12); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; opacity: .85; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-left: .6rem; font: 400 .76rem var(--font-mono); color: rgba(246, 238, 228, .6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product--card .window-bar, .product--hero > .window-bar { align-self: stretch; width: 100%; }

.codewin {
  min-width: 0; padding: 1.1rem 1.3rem 1.3rem; border-radius: var(--radius);
  background: rgba(18, 14, 11, .78); border: 1px solid rgba(246, 238, 228, .16);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); backdrop-filter: blur(6px);
}
.codewin pre { margin: 0; overflow-x: auto; font: 400 clamp(.72rem, 1.8vw, .9rem)/1.8 var(--font-mono); color: var(--cream); }
.codewin code { font: inherit; white-space: pre; }
.codewin .k { color: var(--copper); }
.codewin .f { color: #8ab4f8; }
.codewin .c { color: #93a0ab; }

/* Service card icons */
.card__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; margin-bottom: 1.1rem;
  border-radius: 10px; color: var(--accent-ink); border: 1px solid var(--border); background: var(--surface-soft);
}
.card__icon .icon { width: 1.4rem; height: 1.4rem; }

/* Keep the hero within one screen next to the code window */
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); max-width: 17ch; }
@media (max-width: 560px) { .codewin .c { display: none; } } /* decorative comments don't fit on phones */

/* Love Conversation: flat cream, like the product's own site (#f7f2e9), so text flips to dark */
.product--love {
  background: #f7f2e9; background-image: none; color: var(--charcoal);
  border: 1px solid rgba(37, 35, 33, .14);
}
.product--love .window-bar { border-bottom-color: rgba(37, 35, 33, .14); }
.product--love .window-bar span { color: rgba(37, 35, 33, .62); }
.product--love .product__text p:not(.badge):not(.product__headline):not(.product__soon),
.product--love .product__summary { color: #4a423b; }
.product--love .product__headline,
.product--love .product__link { color: var(--copper-dark); }
.product--love .badge--live { color: #2c6a3f; }
.product--love .product__name { color: var(--charcoal); }

.notfound { min-height: 55vh; display: flex; align-items: center; }
.notfound .btn { margin-top: .6rem; }

/* Long-form text (privacy policy) */
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: .2em; }
.prose h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 2.2rem 0 .6rem; }
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.prose__meta { font: 500 .8rem var(--font-mono); letter-spacing: .06em; color: var(--muted); }
.prose__list { margin: 0 0 1em; padding-left: 1.2rem; list-style: disc; }
.prose__list li { margin-bottom: .35rem; }
.form__privacy { margin: .9rem 0 0; font-size: .86rem; color: var(--muted); }
.form__privacy a { color: var(--accent-ink); text-underline-offset: 3px; }
