/* aiseoagency.info: design round 1, look A "The search box" (picked 11/28/2026).
   Zalando Sans Expanded (display) + Stack Sans Text (body), cobalt band, ice-blue Featured band,
   orange #ff7800 reserved for the buttons. */
@font-face { font-family: "Zalando Sans Expanded"; font-style: normal; font-weight: 200 900; font-display: block; src: url("fonts/zalando-sans-expanded-latin.woff2") format("woff2"); }
@font-face { font-family: "Stack Sans Text"; font-style: normal; font-weight: 200 700; font-display: block; src: url("fonts/stack-sans-text-latin.woff2") format("woff2"); }
:root {
  --c-cobalt: oklch(43% 0.215 266);
  --c-cobalt-deep: oklch(33% 0.17 266);
  --c-ink: oklch(21% 0.045 266);
  --c-ink-2: oklch(38% 0.035 266);
  --c-paper: oklch(98.6% 0.004 266);
  --c-ice: oklch(93.5% 0.032 258);
  --c-rule: oklch(86% 0.02 262);
  --c-on-cobalt: oklch(98% 0.01 266);
  --c-on-cobalt-2: oklch(88% 0.05 266);
  --c-cta: #ff7800;
  --c-cta-hover: #ff8f2e;
  --c-cta-ink: oklch(20% 0.05 266);
  --font-display: "Zalando Sans Expanded", "Arial Black", Arial, sans-serif;
  --font-body: "Stack Sans Text", "Segoe UI", Arial, sans-serif;
  --space-xs: 0.5rem; --space-sm: 0.75rem; --space-md: 1rem; --space-lg: 1.5rem;
  --space-xl: 2.5rem; --space-2xl: 4rem; --space-3xl: 6.5rem;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 0.375rem;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--c-paper); color: var(--c-ink); font: 400 1.0625rem/1.6 var(--font-body); }
a { color: inherit; text-underline-offset: 0.15em; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.skip { position: absolute; left: -999px; top: 0; } .skip:focus { left: var(--space-md); top: var(--space-md); z-index: 50; background: var(--c-paper); padding: var(--space-xs) var(--space-sm); }
:focus-visible { outline: 3px solid var(--c-cta); outline-offset: 3px; }

/* the button: the loudest thing on the page, orange used nowhere else */
.go { font-variant-ligatures: none; font-feature-settings: "calt" 0, "liga" 0; display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.4rem;
  background: var(--c-cta); color: var(--c-cta-ink); font: 700 1.0625rem/1.15 var(--font-body); text-decoration: none; border-radius: var(--radius); white-space: nowrap; border: 0; cursor: pointer;
  box-shadow: 0 0.35rem 0.9rem -0.4rem oklch(15% 0.02 266 / 0.45); transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.go:hover { background: var(--c-cta-hover); transform: translateY(-1px); }
.go:active { transform: translateY(1px); }

/* header: logo, then the six service pages as a row; a Menu button on narrower screens */
.nav > nav { display: flex; align-items: center; }
.nav { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md) var(--space-lg); padding: var(--space-md) var(--gutter); background: var(--c-cobalt); color: var(--c-on-cobalt); }
.logo { display: inline-flex; flex: none; align-items: center; }
.logo img { display: block; width: auto; height: 2.3rem; }
.menu-btn { display: none; background: transparent; border: 1px solid var(--c-on-cobalt-2); color: var(--c-on-cobalt); font: 600 0.95rem/1 var(--font-body); padding: 0.75rem 1.05rem; border-radius: var(--radius); cursor: pointer; white-space: nowrap; }
.menu-btn:hover { background: var(--c-cobalt-deep); }
.menu { display: flex; flex-wrap: nowrap; align-items: center; gap: 0 1.35rem; position: static; inset: auto; margin: 0; padding: 0; border: 0; background: none; color: inherit; overflow: visible; width: auto; height: auto; }
.menu a { font: 600 0.9rem/1.2 var(--font-body); white-space: nowrap; padding: 0.55rem 0; text-decoration: underline 2px transparent; text-underline-offset: 0.45em; }
.menu a:hover { text-decoration-color: var(--c-on-cobalt-2); }
.menu a[aria-current="page"] { text-decoration-color: currentColor; }

/* hero: cobalt band + the page's photo */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); background: var(--c-cobalt); color: var(--c-on-cobalt); }
.hero-copy { container-type: inline-size; padding: var(--space-2xl) var(--gutter) var(--space-3xl); display: grid; align-content: center; gap: var(--space-lg); }
.hero h1 { font-weight: 800; font-size: min(var(--h1max, 4.6rem), var(--h1cap, 99rem), calc(96cqi / var(--wem, 8))); line-height: 1.02; letter-spacing: -0.035em; }
.hero .line { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 34rem; color: var(--c-on-cobalt); }
.hero .go { justify-self: start; }
.hero .upd { font-size: 0.9rem; color: var(--c-on-cobalt-2); }
.photo { position: relative; margin: 0; min-height: 34rem; overflow: hidden; background: var(--c-cobalt-deep); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; display: block; }
.credit { position: absolute; right: var(--space-sm); bottom: var(--space-xs); font-size: 0.8125rem; line-height: 1.4; color: oklch(30% 0.01 260); background: oklch(97% 0 0 / 0.85); padding: 0.1rem 0.4rem; border-radius: 0.2rem; }
.hero.plain { grid-template-columns: minmax(0, 1fr); }
.hero.plain .hero-copy { padding: var(--space-2xl) var(--gutter); max-width: 62rem; }
.hero.plain h1 { --h1cap: 3.6rem; }

/* home only: the words typed into the photographed search box, one letter at a time */
.typed { position: absolute; left: 17.3%; top: 49.2%; transform: rotate(12.6deg); transform-origin: 0 50%; font: 400 clamp(0.95rem, 1.75vw, 1.6rem)/1 Arial, sans-serif; color: oklch(25% 0.01 260); white-space: nowrap; }
.typed span { opacity: 1; }
.typed i { display: inline-block; width: 2px; height: 1.1em; background: oklch(25% 0.01 260); vertical-align: -0.15em; margin-left: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .typed span { opacity: 0; animation: key 1ms linear forwards; animation-delay: calc(500ms + var(--i) * 95ms); }
  .typed i { animation: caret 1s steps(1) 6 1.9s; }
}
@keyframes key { to { opacity: 1; } }
@keyframes caret { 50% { opacity: 0; } }

/* body sections */
.sec { padding: var(--space-3xl) var(--gutter); display: grid; gap: var(--space-lg); border-bottom: 1px solid var(--c-rule); }
.sec > * { max-width: 46rem; }
.sec > ul, .sec > ol, .sec > .qa { max-width: none; }
.sec .col { display: grid; gap: var(--space-lg); max-width: 50rem; }
.sec .col > p:first-child { font-size: 1.2rem; line-height: 1.55; }
.sec h2 { font-size: clamp(1.75rem, 3.4vw, 2.9rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 800; max-width: 24ch; }
.sec h2 + p { font-size: 1.2rem; line-height: 1.55; }
.sec p a, .card p a { color: var(--c-cobalt); font-weight: 600; }
.sec.src .col > p:first-child { font-size: 1rem; color: var(--c-ink-2); }
.sec ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-xl); border-top: 3px solid var(--c-ink); }
.sec ul li { padding: var(--space-md) 0; border-bottom: 1px solid var(--c-rule); }
.sec ul li strong { display: block; font: 800 1.15rem/1.2 var(--font-display); letter-spacing: -0.01em; margin-bottom: 0.3rem; }
.sec ul li strong:only-child, .sec ul li:not(:has(strong)) { font-size: 1.05rem; }

/* wide screens: the heading sits left, the copy right (as in the look's answer band) */
@media (min-width: 64.01rem) {
  .sec.split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.45fr); column-gap: var(--space-2xl); align-items: start; }
  .sec.split > h2 { font-size: clamp(1.75rem, 2.7vw, 2.6rem); position: sticky; top: var(--space-xl); }
  .sec.split .col > ul { grid-template-columns: minmax(0, 1fr); }
}

/* sections with numbered steps: the deep cobalt band */
.sec.steps { background: var(--c-cobalt-deep); color: var(--c-on-cobalt); border-bottom: 0; }
.sec.steps p a { color: var(--c-on-cobalt); }
.sec.steps h2 + p { color: var(--c-on-cobalt-2); }
.sec ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-2xl); }
.sec ol li { counter-increment: s; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: var(--space-md); align-content: start; color: var(--c-on-cobalt-2); }
.sec ol li::before { content: counter(s); font: 800 2.4rem/1 var(--font-display); color: var(--c-on-cobalt-2); }
.sec ol li strong { display: block; font: 700 1.25rem/1.25 var(--font-display); color: var(--c-on-cobalt); margin-bottom: 0.35rem; letter-spacing: -0.01em; }
.sec:not(.steps) ol li, .sec:not(.steps) ol li::before { color: var(--c-ink-2); }
.sec:not(.steps) ol li strong { color: var(--c-ink); }

/* FAQ: every answer open */
.qa { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--space-2xl); }
.qa > div { border-top: 1px solid var(--c-rule); padding-top: var(--space-md); display: grid; gap: var(--space-xs); align-content: start; }
.qa h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
.qa p { color: var(--c-ink-2); }

/* sources */
.sec.src { padding-block: var(--space-2xl); gap: var(--space-sm); }
.sec.src h2 { font-size: 1.35rem; letter-spacing: -0.01em; }
.sec.src h2 + p { font-size: 1rem; color: var(--c-ink-2); }
.sec.src ul { display: block; border-top: 0; font-size: 0.95rem; color: var(--c-ink-2); }
.sec.src ul li { padding: 0.35rem 0; border-bottom: 0; }

/* featured card: the one ice-blue band */
.featured-band { background: var(--c-ice); padding: var(--space-3xl) var(--gutter); scroll-margin-top: 0; }
.card { max-width: 72rem; margin: 0 auto; background: var(--c-paper); border-radius: 0.6rem; box-shadow: 0 2rem 4rem -2.5rem oklch(15% 0.02 266 / 0.4); overflow: hidden; }
.card-main { padding: var(--space-xl); display: grid; gap: var(--space-md); align-content: start; }
.card-main > p { max-width: 50rem; }
.feat { justify-self: start; font: 700 0.8rem/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-cobalt); border: 1.5px solid var(--c-cobalt); padding: 0.35rem 0.55rem; border-radius: 0.2rem; }
.card h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; max-width: 26ch; }
.card-cta { background: var(--c-cobalt); color: var(--c-on-cobalt); padding: var(--space-lg) var(--space-xl); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md) var(--space-xl); }

/* footer */
.foot { padding: var(--space-lg) var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-lg); font-size: 0.9rem; color: var(--c-ink-2); }
.foot a { text-decoration: none; white-space: nowrap; } .foot a:hover { text-decoration: underline; }
.foot .logo-txt { font: 700 0.95rem/1.6 var(--font-display); color: var(--c-ink); }
.foot a[aria-current="page"] { text-decoration: underline; }

/* phone bar */
.bar { display: none; }

/* sitemap and 404 */
.sec .list { display: grid; gap: 0; }

@media (max-width: 80rem) {
  .menu-btn { display: inline-block; }
  .menu:not(:is(:popover-open, .open)) { display: none; }
  .menu:is(:popover-open, .open) { display: grid; position: fixed; inset: 4.6rem var(--gutter) auto auto; width: min(24rem, calc(100vw - 2 * var(--gutter))); background: var(--c-paper); color: var(--c-ink);
    border-radius: var(--radius); padding: var(--space-xs); box-shadow: 0 1.5rem 3rem -1rem oklch(15% 0.02 266 / 0.45); }
  .menu:is(:popover-open, .open) a { padding: 0.8rem 0.9rem; border-radius: 0.25rem; font-size: 1rem; text-underline-offset: 0.3em; }
  .menu:is(:popover-open, .open) a:hover { background: var(--c-ice); }
  .menu:is(:popover-open, .open) a[aria-current="page"] { background: var(--c-ice); }
  .nopop .menu.open { z-index: 30; }
}
@media (max-width: 64rem) { .qa { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: var(--space-xl) var(--gutter); }
  .photo { min-height: 0; aspect-ratio: 4 / 3; }
  .sec { padding-block: var(--space-2xl); }
  .sec ul, .sec ol, .qa { grid-template-columns: minmax(0, 1fr); }
  .featured-band { padding: var(--space-2xl) var(--gutter); }
  .has-bar .bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px)); background: var(--c-cobalt-deep); }
  .bar .go { flex: 1; min-width: 0; }
  .has-bar .foot { padding-bottom: calc(var(--space-lg) + 4.6rem); }
}
@media (max-width: 40rem) {
  .hero h1 { --h1cap: 3.1rem; }
  .logo img { height: 1.95rem; }
  .go { font-size: 0.98rem; padding: 0 1rem; }
  .card-main, .card-cta { padding: var(--space-lg); }
  .card-cta .go { flex: 1 1 100%; white-space: normal; text-align: center; padding-block: 0.6rem; }
  .hero .go { justify-self: stretch; }
}
@media (max-width: 22rem) { .go { font-size: 0.92rem; padding: 0 0.7rem; } .logo img { height: 1.7rem; } }
@media (prefers-reduced-motion: reduce) { .go { transition: none; } .go:hover, .go:active { transform: none; } }
