/* mailCMS Studio marketing site
   Design tokens, type and component styles mirror mailcms.com so the two read as one brand. */

/* Bodoni Moda (OFL), Noma's display serif, self-hosted as on mailcms.com. Used only inside the Noma demo artwork. */
@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda/BodoniModa28pt-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda/BodoniModa28pt-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --teal: #00abad; --teal-ink: #008284; --teal-deep: #006a6c; --teal-tint: #e3f5f5;
  --coral: #e64a5b; --coral-ink: #c8323f; --coral-tint: #fdeced;
  --navy: #2e3653; --navy-deep: #1b2034; --ink: #141213;
  --lilac-tint: #eeeafb;
  --grey-50: #f5f7fa; --grey-100: #eceff4; --grey-200: #d9dee7; --grey-300: #c3cad8; --grey-500: #5f6581;
  --white: #fff;

  --font-title: "effra", "Helvetica Neue", Arial, sans-serif;
  --font-body: "proxima-nova", "Helvetica Neue", Arial, sans-serif;

  --text-xs: .8125rem; --text-sm: .9375rem; --text-base: 1.0625rem;
  --text-lg: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
  --text-xl: clamp(1.375rem, 1.15rem + .8vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.625rem);
  --text-3xl: clamp(2.25rem, 1.5rem + 2.8vw, 4rem);
  --text-4xl: clamp(2.6rem, 1.6rem + 3.8vw, 4.875rem);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-space: clamp(72px, 6rem + 4vw, 160px);
  --header-height: 72px;
  --curve: clamp(36px, 5vw, 72px);
  --radius-s: 10px; --radius-m: 18px; --radius-l: 28px; --radius-pill: 999px;
  --shadow-soft: 0 1px 2px #1b20340f, 0 8px 24px #1b203414;
  --shadow-lift: 0 2px 4px #1b20340f, 0 24px 60px #1b203429;
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  /* Noma, the demo brand: only for the artwork in the demos */
  --noma-paper: #f8f4ef; --noma-oat: #efe7dd; --noma-stone: #d9cec2; --noma-ink: #1e1a19; --noma-ink2: #5e5452;
  --noma-mauve: #7d6a6b; --noma-plum: #3d3031; --noma-ochre: #b8843f; --noma-ondark: #cdc1b8;
  /* Glows from mailcms.com's tokens: eased stops, so there's no banding */
  --glow-teal-dark: rgb(0 171 173 / 0.260) 0%, rgb(0 171 173 / 0.241) 12%, rgb(0 171 173 / 0.193) 24%, rgb(0 171 173 / 0.130) 36%, rgb(0 171 173 / 0.067) 48%, rgb(0 171 173 / 0.019) 60%, rgb(0 171 173 / 0.000) 72%;
  --glow-coral-dark: rgb(230 74 91 / 0.240) 0%, rgb(230 74 91 / 0.222) 12%, rgb(230 74 91 / 0.178) 24%, rgb(230 74 91 / 0.120) 36%, rgb(230 74 91 / 0.062) 48%, rgb(230 74 91 / 0.018) 60%, rgb(230 74 91 / 0.000) 72%;
  --noma-serif: "Bodoni Moda", Didot, Georgia, serif;
  --noma-sans: "sofia-pro", "Helvetica Neue", Arial, sans-serif;

}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 16px); scroll-behavior: smooth; }
body {
  background: var(--white); color: var(--navy); font-family: var(--font-body); font-weight: 400;
  font-size: var(--text-base); line-height: 1.6; margin: 0; overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role=list], ol[role=list] { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--teal-ink); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--ink); letter-spacing: -.02em; text-wrap: balance; font-weight: 500; line-height: 1.08; }
h1 { font-size: var(--text-4xl); letter-spacing: -.035em; }
h2 { font-size: var(--text-3xl); letter-spacing: -.03em; }
h3 { font-size: var(--text-xl); }
p { text-wrap: pretty; }
strong { font-weight: 600; }
.lead { font-size: var(--text-lg); line-height: 1.55; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-head { text-align: center; justify-items: center; gap: 20px; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 72px); display: grid; }
.eyebrow { font-size: var(--text-sm); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); }
.visually-hidden { clip: rect(0 0 0 0); white-space: nowrap; width: 1px; height: 1px; position: absolute; overflow: hidden; }
.skip-link { z-index: 200; border-radius: var(--radius-s); background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 600; position: absolute; top: -100px; left: 16px; }
.skip-link:focus { top: 12px; }
.nowrap { white-space: nowrap; }

/* Curved panels, as on mailcms.com */
.curved { position: relative; z-index: 1; margin-top: calc(-1 * var(--curve)); border-radius: var(--curve) var(--curve) 0 0; }

/* Buttons */
.btn {
  border-radius: var(--radius-pill); min-height: 48px; font-size: var(--text-base); white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
  border: 1.5px solid transparent; display: inline-flex; justify-content: center; align-items: center; gap: .5em;
  padding: 0 24px; font-weight: 600; line-height: 1; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal-ink); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); }
.btn--coral { background: var(--coral-ink); color: #fff; }
.btn--coral:hover { background: #a82834; }
.btn--ghost { border-color: var(--grey-300); color: var(--navy); background: #fff9; }
.btn--ghost:hover { border-color: var(--navy); }
.btn--light { background: #fff; color: var(--navy-deep); }
.btn--light:hover { background: var(--teal-tint); }
.btn--ghost-light { border-color: #ffffff55; color: #fff; }
.btn--ghost-light:hover { border-color: #fff; }
.btn--small { min-height: 40px; font-size: var(--text-sm); padding: 0 18px; }
.btn .arrow { transition: transform .2s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Scroll reveal */
[data-reveal] { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--reveal-i, 0) * 90ms); }
[data-reveal].reveal-pending { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { transition: none; } html { scroll-behavior: auto; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-height); background: #ffffffc7;
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--grey-100); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 220px; height: auto; }
.brand__studio { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.55rem; color: var(--navy-deep); letter-spacing: -.01em; padding-left: 12px; border-left: 1.5px solid var(--grey-300); line-height: 1; }
.site-header__nav { display: flex; align-items: center; gap: 28px; }
.site-header__menu { display: flex; gap: 4px; padding: 0; margin: 0; list-style: none; }
.site-header__menu a { display: block; border-radius: var(--radius-pill); color: var(--navy); font-size: var(--text-sm); font-weight: 600; padding: 8px 14px; text-decoration: none; transition: background-color .2s, color .2s; }
.site-header__menu a:hover { background: var(--grey-50); color: var(--ink); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; border-radius: 50%; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; margin: auto; position: relative; transition: transform .25s var(--ease-out), background .2s; }
.nav-toggle span::before { top: -7px; position: absolute; left: 0; }
.nav-toggle span::after { top: 7px; position: absolute; left: 0; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-header.is-open { background: #fff; border-bottom-color: var(--grey-100); }
  .site-header__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px var(--gutter) 28px; box-shadow: 0 30px 60px #1016281f; border-radius: 0 0 var(--radius-l) var(--radius-l); }
  .is-open .site-header__nav { display: flex; }
  .site-header__menu { flex-direction: column; }
  .site-header__menu a { padding: 14px 8px; font-size: var(--text-base); border-radius: var(--radius-s); }
  .site-header__actions { flex-direction: column; align-items: stretch; }
  .site-header__actions .btn { width: 100%; }
}
@media (max-width: 420px) { .brand img { width: 170px; } }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: clamp(40px, 5vw, 84px) 0 calc(var(--curve) + clamp(24px, 4vw, 56px));
  background:
    radial-gradient(60% 55% at 85% 8%, #00abad24, transparent 70%),
    radial-gradient(50% 50% at 8% 30%, #8865c922, transparent 70%),
    radial-gradient(45% 45% at 60% 100%, #e64a5b1c, transparent 70%),
    var(--grey-50);
}
@media (max-width: 640px) { .nowrap { white-space: normal; } .btn { white-space: normal; text-align: center; padding-block: 12px; } .pill { text-align: left; } }
.hero__intro { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 24px; max-width: 920px; margin: 0 auto clamp(40px, 5vw, 72px); }
.hero__intro .lead { max-width: 100%; }
.hero__intro .btn-row { justify-content: center; }
.hero__note { font-size: var(--text-sm); color: var(--grey-500); }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-pill); background: #fff; box-shadow: var(--shadow-soft); padding: 6px 16px; font-size: var(--text-sm); font-weight: 600; color: var(--navy); }
.pill i { font-style: normal; background: var(--coral-ink); color: #fff; border-radius: var(--radius-pill); padding: 2px 10px; font-size: var(--text-xs); letter-spacing: .04em; }

/* Studio app mock (hero + governed section) */
.app { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lift); outline: 1px solid #1b20341a; font-size: 13px; line-height: 1.3; color: var(--navy-deep); user-select: none; }
.app-bar { background: var(--navy); height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; }
.app-bar img { height: 26px; width: auto; }
.app-bar__user { width: 26px; height: 26px; border: 1.5px solid #ffffffcc; border-radius: 50%; }
.app-tools { display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--grey-100); }
.app-tools b { font-weight: 600; }
.app-saved { color: var(--grey-500); font-size: 11px; }
.app-tools__right { margin-left: auto; display: flex; gap: 8px; }
.app-btn { border-radius: 999px; padding: 6px 16px; font-weight: 600; background: #f07f86; color: #fff; font-size: 12px; transition: transform .25s var(--ease-out), box-shadow .25s; }
.app-btn--ghost { background: transparent; color: var(--navy-deep); border: 1.5px solid var(--navy); }
.app-btn--quiet { color: var(--grey-300); border-color: var(--grey-200); }
.app-btn.is-pressed { transform: scale(.94); box-shadow: 0 0 0 6px #f07f8644; }
.app-body { display: grid; grid-template-columns: 190px 1fr 230px; min-height: 410px; }
.app-strip { background: #dfe4ee; padding: 10px 14px; font-weight: 600; color: var(--navy); font-size: 12px; }
.app-layers { background: #eef1f6; }
.app-layers li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #dfe4ee; font-weight: 500; transition: background .25s, color .25s; }
.app-layers i { font-style: normal; flex: none; width: 20px; height: 20px; border-radius: 5px; background: #e5e6fb; color: var(--navy); font-size: 9px; display: grid; place-items: center; font-weight: 700; }
.app-layers i.fill { background: #ffeccc; width: 26px; color: #a76a00; }
.app-layers i.img { background: #e3f3e6; width: 26px; color: #2f7a3f; }
.app-layers li.is-on { background: #f07f86; color: #fff; }
.app-layers li.is-on i { background: #fff; color: var(--navy); }
.app-canvas { background: var(--grey-50); display: grid; place-items: center; padding: 22px; container-type: inline-size; }
.app-panel { background: #f6f7fa; }
.app-panel__card { background: #fff; margin: 10px; border-radius: 6px; padding: 12px; display: grid; gap: 8px; box-shadow: 0 1px 2px #1b20340d; }
.app-label { font-size: 11px; font-weight: 600; display: flex; justify-content: space-between; color: var(--navy-deep); }
.app-label em { font-style: normal; color: var(--grey-500); font-weight: 500; }
.app-input { border: 1px solid var(--grey-200); border-radius: 4px; padding: 8px 9px; min-height: 36px; font-size: 12px; color: var(--navy-deep); background: #fff; position: relative; overflow-wrap: anywhere; }
.app-input.is-typing::after { content: ""; display: inline-block; width: 1px; height: 13px; background: var(--navy-deep); margin-left: 1px; vertical-align: -2px; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.app-swatches { display: flex; gap: 8px; }
.app-swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--grey-300); transition: box-shadow .2s, transform .2s; }
.app-swatches i.is-on { box-shadow: 0 0 0 2px var(--coral); transform: scale(1.08); }
.app-help { font-size: 11px; color: var(--grey-500); }
.app-slider { height: 4px; background: var(--navy-deep); border-radius: 4px; position: relative; margin: 8px 0 4px; }
.app-slider i { position: absolute; left: 55%; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #f07f86; transform: translate(-50%, -50%); }
.toast { position: absolute; right: 18px; bottom: 18px; background: var(--navy-deep); color: #fff; border-radius: var(--radius-s); padding: 10px 14px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; }
.toast svg { width: 16px; height: 16px; stroke: #6fe3e4; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.app-wrap { position: relative; }
.hero__app { max-width: 1060px; margin-inline: auto; }

/* Offer tile: HTML recreation of Noma's "Offer Tile" Studio template (600 x 600).
   Sizes are in cqw so the artwork scales with whatever box it sits in. */
.tile { --bg: var(--noma-oat); --fg: var(--noma-ink); --fg2: var(--noma-ink2); --accent: var(--noma-mauve); --btn-bg: var(--noma-ink); --btn-fg: var(--noma-paper);
  position: relative; width: min(100%, 300px); aspect-ratio: 1; background-color: var(--bg); background-image: url("../assets/noma/noma-texture-stone.jpg"); background-size: cover;
  color: var(--fg); font-family: var(--noma-sans); text-align: center; display: grid; align-content: center; justify-items: center; padding: 6%; line-height: 1.15; container-type: inline-size; overflow: hidden; transition: background-color .6s var(--ease-out), color .6s var(--ease-out); }
.tile__eyebrow { font-weight: 700; font-size: 3.6cqw; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); min-height: 1.2em; transition: color .6s var(--ease-out); }
.tile__offer { font-family: var(--noma-serif); font-weight: 400; font-size: 27cqw; line-height: 1.05; white-space: nowrap; letter-spacing: -.01em; min-height: 1.05em; margin-top: 2.5cqw; }
.tile__offer em { font-style: italic; color: var(--accent); transition: color .6s var(--ease-out); }
.tile__sub { font-size: 5.6cqw; line-height: 1.2; color: var(--fg2); max-width: 92%; margin-top: 3.5cqw; min-height: 1.2em; transition: color .6s var(--ease-out); }
.tile__cta { background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: 3.5cqw; letter-spacing: .24em; text-transform: uppercase; padding: 4.4cqw 8.5cqw 4.4cqw 8.74cqw; margin-top: 7cqw; line-height: 1; min-height: calc(8.8cqw + 1em); transition: background-color .6s var(--ease-out), color .6s var(--ease-out); }
.tile__logo { position: absolute; left: 50%; bottom: 6.5cqw; width: 19.4cqw; height: auto; translate: -50% 0; transition: opacity .6s var(--ease-out); }
.tile__logo--paper { opacity: 0; }
.tile.is-paper, .tile.is-stone, .tile.is-plum { background-image: none; }
.tile.is-paper { --bg: var(--noma-paper); }
.tile.is-stone { --bg: var(--noma-stone); }
.tile.is-plum { --bg: var(--noma-plum); --fg: var(--noma-paper); --fg2: var(--noma-ondark); --accent: var(--noma-ochre); --btn-bg: var(--noma-paper); --btn-fg: var(--noma-ink); }
.tile.is-plum .tile__logo--ink { opacity: 0; }
.tile.is-plum .tile__logo--paper { opacity: 1; }

/* Examples: pair + localisation strip */
.showcase__pair { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; }
.showcase__pair figure, .localise__grid figure { margin: 0; border-radius: var(--radius-m); overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.showcase__pair figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.showcase__pair img { width: 100%; height: auto; }
.showcase__pair figcaption, .localise__grid figcaption { padding: 12px 16px; font-size: var(--text-sm); font-weight: 600; color: var(--navy-deep); }
.localise { margin-top: clamp(40px, 5vw, 72px); background: var(--grey-50); border-radius: var(--radius-l); padding: clamp(24px, 3vw, 44px); display: grid; gap: 28px; }
.localise__head { display: grid; gap: 8px; max-width: 720px; }
.localise__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.localise__grid .tile { width: 100%; }
@media (max-width: 900px) { .showcase__pair { grid-template-columns: 1fr; } .localise__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .localise__grid { grid-template-columns: 1fr; } }

/* Included in mailCMS */
.included { background: #fff; padding-block: clamp(24px, 4vw, 56px) clamp(56px, 6vw, 96px); }
/* Colours mirror "Build the extraordinary, every day" on the mailcms.com homepage */
.included__card { background: radial-gradient(50% 60% at 85% 20%, var(--glow-teal-dark)), radial-gradient(40% 50% at 10% 90%, var(--glow-coral-dark)), var(--navy-deep); color: #c5c9d8; border-radius: var(--radius-l); padding: clamp(32px, 5vw, 72px) clamp(20px, 4vw, 56px); display: grid; gap: clamp(28px, 4vw, 44px); justify-items: center; text-align: center; }
.included__head { display: grid; gap: 18px; max-width: 820px; justify-items: center; }
.included__head h2 { color: #fff; }
.included__head .lead { color: #c5c9d8; }
.included__video { width: 100%; max-width: 880px; }
.video { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-m); overflow: hidden; box-shadow: 0 24px 60px #0006; background: var(--navy-deep); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__label { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--navy-deep); font-weight: 600; padding: 10px 20px 10px 10px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lift); transition: transform .25s var(--ease-out); white-space: nowrap; }
.video:hover .video__label { transform: scale(1.04); }
.video__label time { color: var(--grey-500); font-weight: 500; }
.video__play { width: 36px; height: 36px; border-radius: 50%; background: var(--coral-ink); display: grid; place-items: center; }
.video__play svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.included__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: min(100%, 520px); }
.included__actions .btn { width: 100%; }
.included__card { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 480px) { .included__actions { grid-template-columns: 1fr; } .included__head h2 { font-size: var(--text-2xl); } }
@media (max-width: 900px) { .included__card { background: radial-gradient(ellipse 100vw 110vw at 100% 6%, var(--glow-teal-dark)), radial-gradient(ellipse 100vw 110vw at 0% 96%, var(--glow-coral-dark)), var(--navy-deep); } }

/* Problem */
.problem { background: #fff; padding-top: calc(var(--section-space) * .7); }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain { border-radius: var(--radius-m); background: var(--grey-50); padding: 28px 24px; display: grid; gap: 12px; align-content: start; }
.pain__icon { width: 48px; height: 48px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); display: grid; place-items: center; }
.pain__icon svg, .included__icon svg, .use__icon svg { width: 24px; height: 24px; stroke: var(--teal-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pain h3 { font-size: 1.3rem; }
.pain p { font-size: var(--text-sm); }
@media (max-width: 1000px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pain-grid { grid-template-columns: 1fr; } }

/* Contrast cards */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(40px, 5vw, 72px); max-width: 1000px; margin-inline: auto; }
.contrast__card { border-radius: var(--radius-l); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: start; }
.contrast__card--before { background: var(--grey-50); }
.contrast__card--after { background: var(--teal-tint); outline: 2px solid var(--teal); }
.contrast__label { font-family: var(--font-title); font-size: var(--text-xl); color: var(--ink); font-weight: 500; }
.contrast ul { display: grid; gap: 12px; }
.contrast li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.contrast li svg { width: 22px; height: 22px; margin-top: 2px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contrast__card--before svg { stroke: var(--grey-300); }
.contrast__card--after svg { stroke: var(--teal-ink); }
@media (max-width: 760px) { .contrast { grid-template-columns: 1fr; } }

/* How it works */
.how { background: var(--navy-deep); color: #dfe4f2; position: relative; overflow: hidden; padding-top: calc(var(--section-space) + var(--curve)); padding-bottom: calc(var(--section-space) + var(--curve)); margin-top: calc(-1 * var(--curve)); border-radius: var(--curve); z-index: 1; }
.how::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, #00abad40, transparent); pointer-events: none; }
.how h2, .how h3 { color: #fff; }
.how .lead { color: #c9d0e6; }
.how .eyebrow { color: #6fe3e4; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { background: #ffffff0f; border: 1px solid #ffffff1f; border-radius: var(--radius-l); padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 14px; align-content: start; counter-increment: step; }
.step::before { content: counter(step); font-family: var(--font-title); font-size: 1.1rem; font-weight: 600; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; }
.step p { color: #c9d0e6; font-size: var(--text-sm); }
.step__who { font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: #6fe3e4; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* Try Studio (interactive) */
.try { background: #fff; padding-top: var(--section-space); position: relative; z-index: 2; margin-top: calc(-1 * var(--curve)); border-radius: var(--curve) var(--curve) 0 0; }
.try__grid { display: grid; grid-template-columns: 300px 1fr 300px; gap: 24px; align-items: start; background: var(--grey-50); border-radius: var(--radius-l); padding: clamp(16px, 2.5vw, 32px); }
.try__col { display: grid; gap: 16px; }
.try__tabs { display: grid; grid-auto-flow: column; gap: 8px; background: #fff; padding: 6px; border-radius: var(--radius-pill); box-shadow: var(--shadow-soft); grid-column: 1 / -1; max-width: 420px; margin-inline: auto; }
.try__tab { border: 0; background: transparent; border-radius: var(--radius-pill); padding: 10px 16px; font-weight: 600; font-size: var(--text-sm); cursor: pointer; color: var(--navy); transition: background .2s, color .2s; }
.try__tab[aria-selected=true] { background: var(--teal-ink); color: #fff; }
.try__stage { display: grid; place-items: center; min-height: 420px; background: #fff; border-radius: var(--radius-m); padding: 24px; position: relative; background-image: linear-gradient(45deg, #f1f3f8 25%, transparent 25%, transparent 75%, #f1f3f8 75%), linear-gradient(45deg, #f1f3f8 25%, transparent 25%, transparent 75%, #f1f3f8 75%); background-size: 20px 20px; background-position: 0 0, 10px 10px; }
.try__stage .tile, .try__stage .banner { box-shadow: var(--shadow-lift); }
.try__size { position: absolute; left: 14px; bottom: 10px; font-size: var(--text-xs); color: var(--grey-500); background: #fffd; padding: 2px 8px; border-radius: 999px; }
.panel { background: #fff; border-radius: var(--radius-m); padding: 20px; display: grid; gap: 16px; box-shadow: var(--shadow-soft); }
.panel h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; color: var(--navy-deep); }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: var(--text-xs); font-weight: 600; display: flex; justify-content: space-between; color: var(--navy-deep); }
.field label span { color: var(--grey-500); font-weight: 500; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--grey-200); border-radius: var(--radius-s); padding: 10px 12px; background: #fff; min-height: 44px; font-size: var(--text-sm); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 3px #00abad33; }
.field input[type=range] { width: 100%; accent-color: var(--teal-ink); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { box-sizing: border-box; width: 34px; height: 34px; margin: 0; padding: 0; flex: none; border-radius: 50%; border: 3px solid #fff; cursor: pointer; background: var(--c); background-clip: padding-box; box-shadow: 0 0 0 1px var(--grey-300); transition: transform .2s var(--ease-out), box-shadow .2s; }
.swatch::-moz-focus-inner { border: 0; padding: 0; }
.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed=true] { box-shadow: 0 0 0 2px var(--teal-ink); }
.thumbs { display: flex; gap: 10px; }
.thumb { padding: 0; border: 0; border-radius: 10px; overflow: hidden; width: 74px; height: 56px; cursor: pointer; box-shadow: 0 0 0 1px var(--grey-300); opacity: .75; transition: opacity .2s, box-shadow .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed=true] { opacity: 1; box-shadow: 0 0 0 3px var(--teal-ink); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--text-sm); font-weight: 600; }
.switch input { appearance: none; width: 44px; height: 26px; border-radius: 999px; background: var(--grey-300); position: relative; cursor: pointer; transition: background .2s; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease-out); box-shadow: 0 1px 3px #0003; }
.switch input:checked { background: var(--teal-ink); }
.switch input:checked::after { transform: translateX(18px); }
.locked { display: flex; gap: 10px; align-items: center; font-size: var(--text-xs); color: var(--grey-500); background: var(--grey-50); border-radius: var(--radius-s); padding: 10px 12px; }
.locked svg { width: 16px; height: 16px; flex: none; stroke: var(--grey-500); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.try__export { width: 100%; }
.try__done { display: none; align-items: center; gap: 8px; font-size: var(--text-sm); font-weight: 600; color: var(--teal-deep); }
.try__done.is-on { display: flex; }
.try__done svg { width: 18px; height: 18px; stroke: var(--teal-ink); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.try__cta { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 1080px) { .try__grid { grid-template-columns: 1fr; } .try__col--right { order: 3; } .try__stage { min-height: 340px; } }

/* Photo hero: HTML recreation of Noma's "Colour Wash Hero" Studio template (1280 x 800) */
.banner { --fg: var(--noma-paper); position: relative; width: min(100%, 470px); aspect-ratio: 16 / 10; overflow: hidden; color: var(--fg); font-family: var(--noma-sans); container-type: inline-size; background: var(--noma-plum); }
.banner__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.banner__wash { position: absolute; inset: 0; background: var(--noma-plum); opacity: var(--wash, .68); }
.banner__logo { position: absolute; left: 7.5%; top: 12%; width: 15.6%; height: auto; }
.banner__copy { position: absolute; left: 7.5%; right: 7.5%; top: 44%; display: grid; gap: 3cqw; }
.banner__head { font-family: var(--noma-serif); font-weight: 400; line-height: 1; letter-spacing: -.01em; font-size: var(--hs, 9.2cqw); overflow-wrap: anywhere; transition: color .3s; }
.banner__sub { font-size: 3.3cqw; line-height: 1.4; color: var(--noma-ondark); max-width: 60%; text-wrap: balance; }

/* Governed */
.governed { background: var(--grey-50); }
.governed__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.governed__copy { display: grid; gap: 22px; }
.ticks { display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.ticks svg { width: 24px; height: 24px; stroke: var(--teal-ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.grants { background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-soft); padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 6px; }
.grants__title { font-weight: 700; color: var(--navy-deep); font-size: var(--text-sm); margin-bottom: 8px; }
.grant { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--grey-100); }
.grant:first-child { border-top: 0; }
.grant i { font-style: normal; width: 28px; height: 28px; border-radius: 7px; background: #e5e6fb; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--navy); }
.grant i.fill { background: #ffeccc; color: #a76a00; font-size: 9px; }
.grant b { display: block; font-weight: 600; color: var(--ink); font-size: var(--text-sm); }
.grant span.d { font-size: var(--text-xs); color: var(--grey-500); }
.chip { font-size: var(--text-xs); font-weight: 600; border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.chip--open { background: var(--teal-tint); color: var(--teal-deep); }
.chip--lock { background: var(--grey-100); color: var(--grey-500); }
@media (max-width: 900px) { .governed__grid { grid-template-columns: 1fr; } }

/* Showcase */
.showcase { background: #fff; }

/* Examples gallery: wide banners span two columns, portrait tiles one, so every row lines up. */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 20px; align-items: start; }
.gallery figure { margin: 0; border-radius: var(--radius-m); overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.gallery figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.gallery img { width: 100%; height: auto; display: block; }
.gallery .is-wide { grid-column: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* Use cases */
.uses { background: var(--grey-50); }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.use { background: #fff; border-radius: var(--radius-l); padding: clamp(24px, 2.4vw, 34px); display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow-soft); }
.use__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-tint); display: grid; place-items: center; }
.use p { font-size: var(--text-sm); }
.use__tag { font-size: var(--text-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-ink); }
@media (max-width: 960px) { .use-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .use-grid { grid-template-columns: 1fr; } }

/* Features */
.features { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; }
.feature { display: grid; gap: 10px; align-content: start; }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-tint); display: grid; place-items: center; }
.feature__icon svg { width: 24px; height: 24px; stroke: var(--teal-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.25rem; }
.feature p { font-size: var(--text-sm); }
/* Nine features: three across, or one, so none sits alone in a row */
@media (max-width: 720px) { .feature-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Flow (with mailCMS) */
.flow { background: var(--lilac-tint); }
.flow__row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.flow__node { background: #fff; border-radius: var(--radius-m); padding: 22px 20px; display: grid; gap: 6px; box-shadow: var(--shadow-soft); align-content: start; text-align: center; }
.flow__node b { font-family: var(--font-title); font-weight: 500; font-size: 1.2rem; color: var(--ink); }
.flow__node span { font-size: var(--text-sm); }
.flow__node--hl { background: var(--navy-deep); }
.flow__node--hl b { color: #fff; }
.flow__node--hl span { color: #c9d0e6; }
.flow__arrow { align-self: center; color: var(--teal-ink); }
.flow__arrow svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow__after { text-align: center; margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 900px) { .flow__row { grid-template-columns: 1fr; } .flow__arrow { transform: rotate(90deg); justify-self: center; } }

/* Calculator */
.calc { background: #fff; display:none; }
.calc__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; max-width: 1040px; margin-inline: auto; }
.calc__inputs { background: var(--grey-50); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 40px); display: grid; gap: 22px; }
.calc__out { background: var(--navy-deep); color: #c9d0e6; border-radius: var(--radius-l); padding: clamp(22px, 3vw, 40px); display: grid; gap: 18px; align-content: center; position: relative; overflow: hidden; }
.calc__out::before { content: ""; position: absolute; inset: -30% -30% auto auto; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, #00abad59, transparent); }
.calc__big { font-family: var(--font-title); font-size: clamp(2.6rem, 2rem + 3vw, 4.2rem); color: #fff; line-height: 1; letter-spacing: -.03em; position: relative; }
.calc__label { font-size: var(--text-sm); position: relative; }
.calc__small { font-size: var(--text-xs); color: #98a1c0; position: relative; }
.calc__rows { display: grid; gap: 8px; position: relative; border-top: 1px solid #ffffff22; padding-top: 16px; }
.calc__rows div { display: flex; justify-content: space-between; font-size: var(--text-sm); }
.calc__rows b { color: #fff; }
.field output { color: var(--teal-deep); font-weight: 700; }
@media (max-width: 860px) { .calc__grid { grid-template-columns: 1fr; } }

/* Pricing: three plans by number of templates, plus "included with mailCMS" */
.pricing { background: var(--grey-50); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: #fff; border-radius: var(--radius-l); padding: clamp(24px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-soft); }
.plan h3 { font-size: var(--text-xl); }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-family: var(--font-title); font-size: clamp(2.2rem, 1.8rem + 1.2vw, 2.8rem); font-weight: 500; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.plan__price span { color: var(--grey-500); font-size: var(--text-sm); }
.plan__year { font-size: var(--text-sm); color: var(--grey-500); margin-top: -4px; }
.plan__list { flex: 1; display: grid; gap: 10px; align-content: start; padding-top: 20px !important; margin-top: 4px; border-top: 1px solid var(--grey-100); }
.plan__list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: var(--text-sm); }
.plan__list svg { width: 18px; height: 18px; margin-top: 3px; stroke: var(--teal-ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.plan__btn { width: 100%; margin-top: 8px; font-size: var(--text-sm); padding-inline: 12px; }
.pricing__small { text-align: center; font-size: var(--text-sm); color: var(--grey-500); margin-top: 28px; text-wrap: balance; }
.pricing__mailcms { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; padding: 22px clamp(20px, 3vw, 36px); border-radius: var(--radius-l); background: radial-gradient(40% 140% at 88% 0%, var(--glow-teal-dark)), radial-gradient(34% 130% at 8% 100%, var(--glow-coral-dark)), var(--navy-deep); text-align: center; }
.pricing__mailcms p { font-family: var(--font-title); font-size: var(--text-xl); color: #fff; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } .pricing__mailcms { max-width: 460px; margin-inline: auto; } }

/* FAQ */
.faq { background: #fff; }
.faq__list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius-m); box-shadow: var(--shadow-soft); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--font-title); font-size: 1.2rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--teal-ink); border-bottom: 2px solid var(--teal-ink); transform: rotate(45deg); transition: transform .25s var(--ease-out); margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 24px 22px; font-size: var(--text-base); }

/* Closing CTA: a bright panel, with two of the examples either side on wide screens */
.cta { background: #fff; padding-bottom: var(--section-space); }
.cta__panel { display: grid; grid-template-columns: 1fr minmax(0, 620px) 1fr; align-items: center; gap: clamp(24px, 3vw, 40px); padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 56px); border-radius: var(--radius-l); overflow: hidden;
  background: radial-gradient(60% 90% at 0% 0%, #00abad2e, transparent 70%), radial-gradient(60% 90% at 100% 100%, #e64a5b29, transparent 70%), linear-gradient(120deg, var(--teal-tint), var(--lilac-tint) 55%, var(--coral-tint)); }
.cta__inner { display: grid; justify-items: center; gap: 22px; text-align: center; }
.cta .btn-row { justify-content: center; }
.cta__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; font-size: var(--text-sm); font-weight: 600; color: var(--navy-deep); }
@media (max-width: 640px) { .cta__steps { flex-direction: column; align-items: flex-start; margin-inline: auto; } }
.cta__steps li { display: flex; align-items: center; gap: 10px; }
.cta__steps span { width: 28px; height: 28px; border-radius: 50%; background: var(--teal-ink); color: #fff; display: grid; place-items: center; font-size: var(--text-xs); font-weight: 700; }
.cta__small { font-size: var(--text-xs); color: var(--grey-500); }
.cta__art { width: min(100%, 210px); height: auto; border-radius: var(--radius-m); box-shadow: var(--shadow-lift); }
.cta__art--left { justify-self: end; transform: rotate(-6deg); }
.cta__art--right { justify-self: start; transform: rotate(6deg); }
@media (max-width: 1000px) { .cta__panel { grid-template-columns: 1fr; } .cta__art { display: none; } }

/* Footer */
.site-footer { background: var(--navy-deep); color: #98a1c0; padding: 0 0 36px; font-size: var(--text-sm); position: relative; z-index: 2; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-block: 56px 40px; border-top: 1px solid #ffffff1a; }
.site-footer img { width: 210px; height: auto; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: var(--text-sm); font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c9d0e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__legal { border-top: 1px solid #ffffff1a; padding-top: 24px; font-size: var(--text-xs); line-height: 1.7; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
@media (max-width: 760px) { .site-footer__top { grid-template-columns: 1fr; gap: 28px; } }

/* Cookie banner */
.cookie-banner { position: fixed; z-index: 300; bottom: 16px; right: 16px; background: #fff; width: min(420px, 100vw - 32px); box-shadow: var(--shadow-lift); outline: 1px solid var(--grey-100); font-size: var(--text-sm); border-radius: 20px; padding: 20px 22px; display: grid; gap: 12px; }
.cookie-banner a { font-weight: 600; }
.cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Contact + thanks pages */
.page-hero { padding: clamp(48px, 6vw, 60px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(60% 60% at 90% 0%, #00abad22, transparent 70%), radial-gradient(50% 50% at 0% 40%, #8865c91c, transparent 70%), var(--grey-50); }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__copy { display: grid; gap: 22px; padding-top: 8px; }
.contact__card { background: #fff; border-radius: var(--radius-l); box-shadow: var(--shadow-lift); padding: clamp(24px, 3vw, 40px); }
.contact__card form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__trap { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form__error { display: none; color: var(--coral-ink); font-size: var(--text-xs); font-weight: 600; }
.has-error .form__error { display: block; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--coral); }
.form__optional { font-weight: 400; color: var(--grey-500); }
.form__privacy { font-size: var(--text-xs); color: var(--grey-500); }
.form__fail { background: var(--coral-tint); color: var(--coral-ink); border-radius: var(--radius-s); padding: 12px 14px; font-size: var(--text-sm); }
.next-steps { display: grid; gap: 16px; counter-reset: n; }
.next-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; counter-increment: n; align-items: start; }
.next-steps li::before { content: counter(n); width: 36px; height: 36px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-deep); display: grid; place-items: center; font-weight: 700; }
.thanks { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.thanks__inner { display: grid; gap: 22px; justify-items: center; max-width: 640px; }
.thanks__tick { width: 72px; height: 72px; border-radius: 50%; background: var(--teal-tint); display: grid; place-items: center; }
.thanks__tick svg { width: 36px; height: 36px; stroke: var(--teal-ink); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* Hero app: responsive */
@media (max-width: 820px) {
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-layers, .app-panel { display: none; }
  .app-canvas { padding: 20px; }
  .app-tools .app-btn--quiet { display: none; }
}


/* Curved section tops (same device as mailcms.com).
   Every section after the hero slides up over the one before it and rounds its top corners.
   Extra top padding stops the overlap from covering the section's own content. */
main > section:not(.hero):not(.page-hero) { position: relative; z-index: 1; margin-top: calc(-1 * var(--curve)); border-radius: var(--curve) var(--curve) 0 0; }
main > .section, main > .problem, main > .how, main > .included, main > .cta { padding-top: calc(var(--curve) + 40px); }
/* "How it works" is square at the bottom: the next section's curve sits over it */
main > .how { border-radius: var(--curve) var(--curve) 0 0; }

/* Inner pages (solutions, guides) */
.crumbs { font-size: var(--text-sm); color: var(--grey-500); margin-bottom: 20px; text-align: center; }
.crumbs a { color: var(--grey-500); }
.page-hero__copy { display: grid; gap: 22px; max-width: 860px; margin-inline: auto; justify-items: center; text-align: center; padding-bottom: calc(var(--curve) * .6); }
.page-hero__copy h1 { font-size: var(--text-3xl); }
.page-hero__copy .btn-row { justify-content: center; }
main > .section { background: #fff; }
main > .section.alt { background: var(--grey-50); }
main > .section.related { padding-block: calc(var(--curve) + 40px) calc(var(--curve) + 48px); }
.center { text-align: center; }
.prose + .center { margin-top: clamp(28px, 3vw, 40px); }
.prose { max-width: 760px; margin-inline: auto; display: grid; gap: 18px; font-size: 1.125rem; }
.prose h3 { font-size: 1.4rem; margin-top: 12px; }
.prose-ticks { max-width: 820px; margin-inline: auto; }
.table-wrap { overflow-x: auto; max-width: 1000px; margin-inline: auto; }
.compare { width: 100%; border-collapse: collapse; text-align: left; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--grey-200); vertical-align: top; }
.compare thead th { font-family: var(--font-title); color: var(--ink); font-weight: 600; }
.compare tbody th { color: var(--ink); font-weight: 600; width: 30%; }
.table-note { max-width: 1000px; margin: 14px auto 0; font-size: var(--text-xs); color: var(--grey-500); text-align: center; }
.related__title { font-size: 1.6rem; margin-bottom: 18px; text-align: center; }
.related__list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.related__list a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--grey-200); text-decoration: none; font-weight: 600; }
.related__list a:hover { border-color: var(--teal); }
.feature h3 a { color: inherit; text-decoration: none; }
.feature h3 a:hover { color: var(--teal-ink); }
.page-hero ~ .section .feature { background: var(--grey-50); border-radius: var(--radius-l); padding: clamp(22px, 2.4vw, 32px); }
.page-hero ~ .section.alt .feature { background: #fff; box-shadow: var(--shadow-soft); }
.page-hero ~ .section .feature p { font-size: var(--text-base); }
.page-hero ~ .section .feature-grid { gap: 24px; }
.page-hero ~ .section .prose-ticks { background: var(--grey-50); border-radius: var(--radius-l); padding: clamp(24px, 3vw, 40px); }
.page-hero ~ .section.alt .prose-ticks { background: #fff; box-shadow: var(--shadow-soft); }
.page-hero ~ .section .prose { background: var(--grey-50); border-radius: var(--radius-l); padding: clamp(24px, 3vw, 40px); }
.page-hero ~ .section.alt .prose { background: #fff; box-shadow: var(--shadow-soft); }

/* Thanks page: keep the footer at the bottom of the window on tall screens */
.page-thanks { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.page-thanks main { flex: 1; display: flex; flex-direction: column; }
.page-thanks .thanks { flex: 1; }
