/* ArteroLab home: the brand's green and blue as flat fields, the brand's type, and the demos as the pictures. */
:root {
  --paper: #f3f5f4;
  --sand: #e7ecea;
  --ink: #182327;
  --soft: #55636a;
  --green: #14a37b;
  --green-deep: #0c7e5e;
  --blue: #1e7fe6;
  --warm: #f4b06d;
  --line: rgba(19, 32, 28, 0.14);
  --display: 'Satoshi', 'Outfit', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { overflow-anchor: none; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; border: 0; }
ul, ol { list-style: none; }
fieldset { min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
em { font-style: normal; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-variation-settings: 'wdth' 88; letter-spacing: -0.03em; }
.section-head { display: grid; gap: 14px; margin-bottom: 36px; }
.section-head h2, .steps h2 { font-size: clamp(2.6rem, 11vw, 6.4rem); font-weight: 800; line-height: 0.92; }
.section-head h2 em, .steps h2 em, .contact h2 em { color: var(--green-deep); }
.section-head p { max-width: 52ch; font-size: 1.1rem; color: var(--soft); }
@media (min-width: 960px) { .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; column-gap: 56px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: transform 200ms var(--ease), background 200ms; }
.btn:active { transform: scale(0.97); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line { border-color: var(--ink); }
.btn-green { background: var(--green); color: #fff; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }

/* Header */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 20px; padding: 12px 16px; background: rgba(246, 247, 243, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand img { width: auto; height: 30px; }
.nav { display: none; gap: 22px; margin-left: auto; font-weight: 500; }
.nav a { text-decoration: none; }
.top-cta { margin-left: auto; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15px; text-decoration: none; }
@media (min-width: 860px) { .nav { display: flex; } .top-cta { margin-left: 0; } .top { padding-inline: 40px; } }

/* Hero: a sentence and a wall of real demos */
.hero { display: grid; gap: 36px; padding: 48px 16px 72px; }
.kicker { font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-deep); }
.hero h1 { margin-top: 14px; font-size: clamp(3.6rem, 17vw, 10.5rem); font-weight: 800; line-height: 0.86; }
.hero h1 span { display: block; color: var(--green); }
.hero-line { max-width: 40ch; margin-top: 22px; font-size: 1.2rem; color: var(--soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-wall { display: flex; gap: 12px; margin-inline: -16px; padding-inline: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-wall::-webkit-scrollbar { display: none; }
.hero-wall li { flex: 0 0 78%; scroll-snap-align: start; }
.hero-wall a { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.hero-wall img { aspect-ratio: 3 / 2; object-fit: cover; object-position: top; transition: transform 700ms var(--ease); }
@media (hover: hover) { .hero-wall a:hover img { transform: scale(1.04); } }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: 72px 40px 110px; min-height: calc(100svh - 60px); }
  .hero-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; overflow: visible; transform: rotate(-4deg); }
  .hero-wall li:nth-child(even) { transform: translateY(48px); }
}

/* Demo gallery */
.demos { padding: 80px 16px; background: var(--ink); color: var(--paper); }
.demos .section-head h2 em { color: var(--green); }
.demos .section-head p { color: #b8c4bf; }
.demo-grid { display: grid; gap: 36px; }
.demo-card a { display: grid; gap: 6px; text-decoration: none; }
.demo-shot { display: block; border-radius: 16px; overflow: hidden; margin-bottom: 8px; }
.demo-shot img { aspect-ratio: 3 / 2; object-fit: cover; object-position: top; transition: transform 700ms var(--ease); }
.demo-style { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--green); color: var(--ink); font-size: 13px; font-weight: 600; }
.demo-name { font: 800 2rem/1 var(--display); font-variation-settings: 'wdth' 88; letter-spacing: -0.03em; }
.demo-name i { font-style: normal; color: var(--green); }
.demo-sector { font-size: 14px; color: #b8c4bf; }
.demo-line { color: #dfe7e3; }
@media (hover: hover) { .demo-card a:hover img { transform: scale(1.04); } }
@media (min-width: 760px) { .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; } .demo-card:nth-child(even) { margin-top: 80px; } }
@media (min-width: 960px) { .demos { padding: 120px 40px; } }

/* Services as colour chapters */
.services { padding: 80px 16px; }
.chapters { display: grid; gap: 12px; }
.chapter { display: grid; gap: 12px; align-content: start; min-height: 260px; padding: 28px 24px; border-radius: 24px; }
.chapter-num { font: 800 1rem/1 var(--display); }
.chapter h3 { font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 800; line-height: 0.95; }
.chapter p { max-width: 38ch; font-size: 1.05rem; }
.chapter-web { background: var(--green); color: var(--ink); }
.chapter-social { background: var(--warm); color: var(--ink); }
.chapter-ads { background: var(--blue); color: #fff; }
.chapter-ai { background: var(--ink); color: var(--paper); }
@media (min-width: 760px) { .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .chapters { grid-template-columns: repeat(4, minmax(0, 1fr)); } .chapter { min-height: 380px; } .chapter h3 { font-size: clamp(1.8rem, 2.15vw, 2.6rem); } }
@media (min-width: 960px) { .services { padding: 120px 40px; } }

/* Planner */
.plan { padding: 80px 16px; background: var(--sand); }
.planner { display: grid; gap: 28px; }
.planner-ask { display: grid; gap: 22px; }
.planner legend { margin-bottom: 10px; font-weight: 600; }
.planner legend small { font-weight: 400; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 500; transition: background 160ms, color 160ms; }
.chips input:checked + span { background: var(--ink); color: var(--paper); }
.chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.timeline { display: grid; gap: 10px; counter-reset: month; }
.month { position: relative; display: grid; gap: 4px; padding: 18px 20px 20px 22px; background: var(--paper); border-radius: 18px; border-left: 8px solid var(--green); animation: monthIn 500ms var(--ease) both; }
.month:nth-child(2) { animation-delay: 60ms; } .month:nth-child(3) { animation-delay: 120ms; } .month:nth-child(4) { animation-delay: 180ms; } .month:nth-child(5) { animation-delay: 240ms; } .month:nth-child(6) { animation-delay: 300ms; }
@keyframes monthIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.month span { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.month h3 { font-size: 1.5rem; font-weight: 800; line-height: 1.05; }
.month p { color: var(--soft); }
.month-social { border-left-color: var(--warm); }
.month-ads { border-left-color: var(--blue); }
.month-ai { border-left-color: var(--ink); }
.plan-cta { margin-top: 28px; }
@media (min-width: 960px) { .plan { padding: 120px 40px; } .planner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; } .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .month { animation: none; } }

/* Prices */
.prices { padding: 80px 16px; }
.price-grid { display: grid; gap: 14px; }
.price { display: grid; gap: 14px; align-content: start; padding: 28px 24px; border: 2px solid var(--ink); border-radius: 24px; }
.price h3 { font-size: 1.8rem; font-weight: 800; }
.price-num { display: grid; gap: 2px; }
.price-num b { font: 800 clamp(2.6rem, 10vw, 3.6rem)/1 var(--display); font-variation-settings: 'wdth' 85; letter-spacing: -0.04em; }
.price-num small { font-size: 14px; font-weight: 600; color: var(--soft); }
.price-num span { font-size: 14px; color: var(--soft); }
.price ul { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.price li { padding-left: 22px; position: relative; }
.price li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.price-featured { background: var(--green); border-color: var(--green); }
.price-featured .price-num span, .price-featured .price-num small { color: var(--ink); }
.price-featured li::before { background: var(--ink); }
.price-featured ul { border-top-color: rgba(19, 32, 28, 0.25); }
.price-tag { justify-self: start; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; }
.price-note { max-width: 70ch; margin-top: 18px; font-size: 15px; color: var(--soft); }
@media (min-width: 960px) { .prices { padding: 120px 40px; } .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Steps */
.steps { padding: 0 16px 80px; }
.step-list { display: grid; gap: 0; margin-top: 30px; border-top: 2px solid var(--ink); }
.step-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step-list b { grid-row: span 2; font: 800 2.4rem/1 var(--display); color: var(--green-deep); }
.step-list h3 { font-size: 1.4rem; font-weight: 800; }
.step-list p { color: var(--soft); max-width: 50ch; }
@media (min-width: 960px) { .steps { padding: 0 40px 120px; } .step-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 0; } .step-list li { grid-template-columns: 1fr; border-top: 2px solid var(--ink); border-bottom: 0; } .step-list b { grid-row: auto; margin-bottom: 10px; } }

/* Contact */
.contact { display: grid; gap: 28px; padding: 80px 16px; background: var(--ink); color: var(--paper); }
.contact h2 { font-size: clamp(2.8rem, 12vw, 6.4rem); font-weight: 800; line-height: 0.92; }
.contact h2 em { color: var(--green); }
.contact-copy p { max-width: 40ch; margin-top: 14px; color: #c8d3ce; font-size: 1.1rem; }
.contact-mail a { color: var(--paper); font-weight: 600; }
.contact-form { display: grid; gap: 16px; padding: 24px 20px; background: var(--paper); color: var(--ink); border-radius: 24px; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; }
.contact-form input:not([type="checkbox"]):not([type="radio"]), .contact-form select, .contact-form textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-size: 16px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green); outline: none; }
.contact-form textarea { resize: vertical; min-height: 96px; }
.interests legend { margin-bottom: 8px; font-weight: 500; }
.interests { display: flex; flex-wrap: wrap; gap: 8px; }
.interests legend { width: 100%; }
.interests label { position: relative; display: block; }
.interests input { position: absolute; inset: 0; opacity: 0; }
.interests span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px; font-size: 15px; transition: background 160ms, color 160ms; }
.interests input:checked + span { background: var(--green); border-color: var(--green); }
.interests input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.consent { grid-template-columns: auto 1fr; align-items: start; font-weight: 400 !important; font-size: 15px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); }
.form-feedback { min-height: 1.5em; font-weight: 600; color: var(--green-deep); }
.form-feedback.is-error { color: #b42318; }
@media (min-width: 960px) {
  .contact { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; padding: 120px 40px; align-items: start; }
  .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 32px; }
  .contact-form .wide, .interests { grid-column: 1 / -1; }
}

/* Footer */
.foot { display: grid; gap: 14px; padding: 40px 16px 28px; background: var(--sand); }
.foot-logo { width: auto; height: 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot small { color: var(--soft); }
@media (min-width: 960px) { .foot { padding-inline: 40px; } }
body > .consent-settings { position: static; display: block; margin: 0 16px 24px; }
body > .consent-settings[hidden] { display: none; }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Brand typography: Satoshi for titles (self-hosted, see IMAGE-LICENSES.md), Inter for text. */
@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/Satoshi-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

h1, h2, h3, .demo-name, .price-num b, .chapter-num, .step-list b { font-variation-settings: normal; }
h1, h2 { font-weight: 700; letter-spacing: -0.045em; }
h3 { font-weight: 700; letter-spacing: -0.03em; }
.hero h1 { font-size: clamp(3.2rem, 14vw, 6.2rem); line-height: 0.92; }
.section-head h2, .steps h2, .contact h2 { line-height: 0.96; }
.demo-name, .price-num b { font-weight: 700; letter-spacing: -0.04em; }

/* The brand sheet separates words with green dots: Clean • Modern • Accessible. */
.kicker { letter-spacing: 0.08em; color: var(--soft); }
.kicker i { font-style: normal; color: var(--green); padding: 0 0.3em; }
