/* Rubik (SIL Open Font License, see assets/fonts/OFL.txt), self-hosted variable font */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/rubik-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Rubik Dirt (SIL Open Font License), subset to the letters of "outolintu." for the slogan */
@font-face {
  font-family: "Rubik Dirt";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/rubik-dirt-outolintu.woff2") format("woff2");
  unicode-range: U+2E, U+69, U+6C, U+6E-6F, U+74-75;
}

/* Outio colours from the brand file (Figma "Baguette"). The logotype (Comfortaa Bold) is an SVG in assets/. */
:root {
  --green: #C4F1BE;
  --pink: #E56399;
  --pink-deep: #A8355F;
  --blue: #7F96FF;
  --blue-soft: #E8ECFF;
  --peach: #FFBE86;
  --ink: #210203;
  --ink-hover: #3E1A1C;
  --ok: #2FAE5C;
  --warn: #E39B3D;
  --paper: #FCFAF7;
  --card: #FFFFFF;
  --muted: rgba(33, 2, 3, .72);
  --line: rgba(33, 2, 3, .13);
  --on-ink: #FCFAF7;
  --on-ink-muted: rgba(252, 250, 247, .74);
  --on-ink-line: rgba(252, 250, 247, .18);
  --radius: 22px;
  --max-width: 1120px;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23210203' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4L18.5 8'/%3E%3C/svg%3E");
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCFAF7' stroke-opacity='.7' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  scrollbar-color: rgba(33, 2, 3, .35) var(--paper);
}

::selection {
  background: var(--green);
  color: var(--ink);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Rubik", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--pink-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--pink-deep);
  outline-offset: 3px;
}

/* On Licorice surfaces Deep Pink is too faint for a focus ring, so it turns Sprout Green. */
.notice :focus-visible,
.section-dark :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--green);
}

h1,
h2,
h3 {
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -.015em;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

p,
li {
  text-wrap: pretty;
}

.wrap {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.nowrap {
  white-space: nowrap;
}

/* Deep Pink on light surfaces (brand pink is 2.5:1 on Sprout Green); brand pink on Licorice. */
.dirt {
  color: var(--pink-deep);
  font-family: "Rubik Dirt", "Rubik", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--on-ink);
}

.skip-link:hover {
  color: var(--on-ink);
}

.skip-link:focus {
  top: 16px;
}

/* Notice bar and header */

.notice {
  margin: 0;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: .9375rem;
  text-align: center;
}

.notice a {
  color: var(--green);
  font-weight: 600;
}

.notice a:hover {
  color: var(--on-ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(252, 250, 247, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand img {
  width: auto;
  height: 32px;
}

.nav {
  margin-left: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), background-color .15s ease;
}

.button-primary {
  background: var(--ink);
  color: var(--on-ink);
}

.button-primary:hover {
  background: var(--ink-hover);
  color: var(--on-ink);
  transform: translateY(-1px);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--card);
  color: var(--ink);
}

.button-small {
  min-height: 44px;
  padding: 0 20px;
  font-size: .9375rem;
}

/* Hero */

.hero {
  padding-block: clamp(48px, 8vw, 104px) clamp(64px, 9vw, 120px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 4rem);
  font-weight: 800;
}

mark {
  padding: 0 .14em;
  border-radius: .16em;
  background: var(--green);
  color: var(--ink);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.lead {
  max-width: 36em;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* The two founders, small: a pair of framed photos as on the Figma badges. */
.hero-people {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 34em;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.45;
}

.hero-people strong {
  color: var(--ink);
}

.avatar-pair {
  display: flex;
  flex: none;
}

.avatar-pair img {
  width: 44px;
  height: 44px;
  border: 3px solid var(--pink);
  border-radius: 14px;
  object-fit: cover;
}

.avatar-pair img + img {
  margin-left: -10px;
  border-color: var(--blue);
}

/* The flock: every bird flies the same way except Outio. */

.flock {
  margin: 0;
}

.flock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(6px, 1.2vw, 12px);
  padding: clamp(16px, 3vw, 28px) clamp(16px, 3vw, 28px) clamp(48px, 6vw, 64px);
  border-radius: 32px;
  background: var(--ink);
}

.bird {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(252, 250, 247, .05);
}

.bird svg {
  width: 56%;
  height: 56%;
  color: var(--green);
  opacity: .85;
}

.bird.t2 svg {
  color: var(--blue);
}

.bird.t3 svg {
  color: var(--peach);
}

.bird-odd {
  background: rgba(229, 99, 153, .16);
}

.bird-odd svg {
  color: var(--pink);
  opacity: 1;
  transform: scaleX(-1);
  /* One wave hello, then still: a single 4s run stays under WCAG 2.2.2's five-second limit. */
  animation: flap 4s ease-in-out 1;
}

@keyframes flap {
  0%, 72%, 100% { transform: scaleX(-1) translateY(0) rotate(0); }
  80% { transform: scaleX(-1) translateY(-8%) rotate(-8deg); }
  88% { transform: scaleX(-1) translateY(0) rotate(4deg); }
}

.bubble {
  position: absolute;
  right: 58%;
  bottom: 74%;
  z-index: 1;
  padding: 4px 12px;
  border-radius: 16px 16px 4px 16px;
  background: var(--on-ink);
  color: var(--ink);
  font-size: clamp(.8125rem, 1.4vw, .9375rem);
  font-weight: 700;
  white-space: nowrap;
}

/* Slogan sticker, as in the brand file. It sits in the flow and overlaps only the
   panel's bottom padding, so a two-line slogan can never cover the birds. */
.sticker {
  position: relative;
  margin: -36px 10% 0;
  display: grid;
  gap: 2px;
  padding: 14px 20px;
  border-radius: 16px;
  background: var(--green);
  box-shadow: 0 18px 40px -20px rgba(33, 2, 3, .55);
  text-align: center;
  transform: rotate(-1.5deg);
}

.sticker-title {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.sticker-sub {
  color: var(--muted);
  font-size: .9375rem;
}

/* Sections */

.section {
  padding-block: clamp(64px, 9vw, 120px);
}

.hero + .section {
  padding-top: clamp(32px, 4vw, 56px);
}

.section-card {
  background: var(--card);
}

.section-tint {
  background: var(--blue-soft);
}

.section-green {
  background: var(--green);
}

.section-dark {
  background: var(--ink);
  color: var(--on-ink);
}

.section-head {
  max-width: 740px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-dark .lead {
  color: var(--on-ink-muted);
}

.section-green .lead {
  color: var(--ink);
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checklist li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--green) var(--check) center / 13px no-repeat;
}

/* Audience */

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.card::after {
  content: "";
  position: absolute;
  top: -56px;
  right: -56px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--green);
}

.card-blue::after {
  background: var(--blue);
}

.card h3 {
  max-width: calc(100% - 72px);
  font-size: 1.6rem;
}

.card > p {
  color: var(--muted);
}

.aside-card {
  grid-column: 1 / -1;
  margin: 0;
  padding: 20px 24px;
  border: 1.5px dashed rgba(33, 2, 3, .3);
  border-radius: 16px;
  color: var(--muted);
}

.aside-card strong {
  color: var(--ink);
}

.aside-card a {
  font-weight: 600;
  white-space: nowrap;
}

/* Inline links get a tap area about 44px tall without changing the line box. */
.notice a,
.aside-card a,
.contact-privacy a,
.site-footer a {
  display: inline-block;
  padding-block: 10px;
  margin-block: -10px;
}

/* Services */

/* Asymmetric split: the section head holds still on the left while the list scrolls past. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.split .section-head {
  position: sticky;
  top: 112px;
  margin-bottom: 0;
}

.split .section-head h2 {
  margin-top: 16px;
}

/* Services are a ruled list, not cards: equal items, grouped by proximity and hairlines.
   One column, so headings stay on one line and the list runs long enough for the head to stick. */
.services {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service {
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
}

/* Icon sits beside the heading, not stacked above it. */
.service-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.service-head h3 {
  margin: 0;
}

.service-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--green);
}

.service:nth-child(3n+2) .service-icon {
  background: var(--blue);
}

.service:nth-child(3n) .service-icon {
  background: var(--peach);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Description hangs under the heading text, past the icon. */
.service p {
  margin: 0;
  padding-left: 60px;
  color: var(--muted);
}

/* Pricing: the dashed note sits right under the heading, then the comparison. */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.compare-col {
  padding: clamp(28px, 3.5vw, 40px);
  border-radius: var(--radius);
}

.compare-old {
  border: 1px solid var(--on-ink-line);
}

.compare-new {
  background: var(--green);
  color: var(--ink);
}

.compare h3 {
  font-size: 1.6rem;
}

.compare ul {
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.compare li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.compare li::before {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
}

.compare-old li {
  color: var(--on-ink-muted);
}

.compare-old li::before {
  border: 1px solid var(--on-ink-line);
  background: var(--cross) center / 14px no-repeat;
}

.compare-new li {
  font-weight: 500;
}

.compare-new li::before {
  background: var(--card) var(--check) center / 14px no-repeat;
}

/* Steps: a vertical numbered list in the contact band, so "what happens next" sits beside the action. */

.steps {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 64px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  font-size: 1.125rem;
  font-weight: 800;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  bottom: -16px;
  left: 21px;
  border-left: 2px dashed var(--pink-deep);
}

.step strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1.125rem;
  line-height: 1.5;
}

.step p {
  margin: 0;
}

/* Outio-alusta */

.platform {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.status {
  margin: -.25em 0 1.25em;
}

.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--green);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.app-figure {
  margin: 0;
}

.app-figure figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: .8125rem;
  text-align: center;
}

.app {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 30px 60px -30px rgba(33, 2, 3, .4);
  font-size: .9375rem;
  line-height: 1.4;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.app-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(33, 2, 3, .18);
}

.app-bar span {
  margin-left: 8px;
  font-weight: 700;
}

.app-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-head small {
  display: block;
  color: var(--muted);
  font-size: .8125rem;
}

.app-head strong {
  font-size: 1.3rem;
}

.chip {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.chip-warn {
  background: var(--peach);
  color: var(--ink);
}

.app-status,
.app-users ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-status {
  border: 1px solid var(--line);
  border-radius: 16px;
}

/* Rows wrap on the narrowest phones: the detail drops under its label instead of clipping. */
.app-status li,
.app-users li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 11px 14px;
  font-weight: 500;
}

.app-status li + li,
.app-users li + li {
  border-top: 1px solid var(--line);
}

.app-status em,
.app-users em {
  margin-left: auto;
  color: var(--muted);
  font-size: .8125rem;
  font-style: normal;
  text-align: right;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-ok {
  background: var(--ok);
}

.dot-warn {
  background: var(--warn);
}

.app-users-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.app-add {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: .8125rem;
  font-weight: 600;
}

.app-users li {
  padding-inline: 2px;
}

.mini-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--peach);
  font-size: .8125rem;
  font-weight: 700;
}

/* Dashed means "not yet": the price list comes during the pilots. */
.price-note {
  margin: 8px 0 0;
  padding: 18px 22px;
  border: 1.5px dashed var(--pink);
  border-radius: 16px;
  color: var(--on-ink-muted);
}

.price-note strong {
  color: var(--on-ink);
}

/* About */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about p:not(.lead) {
  max-width: 36em;
  color: var(--muted);
}

.people {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.person {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.person strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.3rem;
  letter-spacing: -.015em;
  line-height: 1.2;
}

.person div span {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.avatar {
  flex: none;
  width: 120px;
  height: 120px;
  border: 3px solid var(--pink);
  border-radius: 20px;
  object-fit: cover;
}

.person + .person .avatar {
  border-color: var(--blue);
}

/* Contact */

/* Desktop: the pitch and the steps on the left, the card beside both. Phones: pitch, card, steps. */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "copy card"
    "steps card";
  grid-template-rows: auto 1fr;
  gap: 40px clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-copy {
  grid-area: copy;
}

.contact-copy p:not(.lead) {
  max-width: 36em;
  margin-bottom: 0;
}

.contact-steps {
  grid-area: steps;
}

.contact-steps h3 {
  margin-bottom: 20px;
}

.contact-card {
  grid-area: card;
  display: grid;
  gap: 4px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 30px 60px -30px rgba(33, 2, 3, .45);
}

.contact-people {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-people p {
  margin: 0;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.45;
}

.contact-people strong {
  color: var(--ink);
}

.contact-label {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.contact-address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.contact-email {
  color: var(--ink);
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration-color: var(--pink);
}

.copy-button {
  min-height: 40px;
  padding: 0 16px;
  border-width: 1.5px;
  font-size: .875rem;
}

.contact-hint {
  margin: 20px 0 0;
  font-weight: 600;
}

.contact-card .checklist {
  margin: 8px 0 24px;
}

.contact-card .button {
  justify-self: start;
}

.contact-fallback,
.contact-privacy {
  margin: 0;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.45;
}

.contact-fallback {
  margin-top: 16px;
}

.contact-privacy {
  margin-top: 8px;
}

/* Footer */

.site-footer {
  padding-block: 56px 36px;
  background: var(--ink);
  color: var(--on-ink-muted);
  font-size: .9375rem;
}

.site-footer a {
  color: var(--green);
}

.site-footer a:hover {
  color: var(--on-ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.footer-grid .brand {
  margin-bottom: 16px;
}

.footer-title {
  margin: 0 0 12px;
  color: var(--on-ink);
  font-size: 1.0625rem;
  font-weight: 700;
}

.footer-grid p {
  margin-bottom: .6em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--on-ink-line);
}

/* Reopens the cookie banner; looks like the footer links next to it. */
.footer-consent {
  display: inline-block;
  margin-block: -10px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--green);
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.footer-consent:hover {
  color: var(--on-ink);
}

/* Cookie consent: a Licorice card floating over the page, so it gets a lift shadow.
   The three choices are equal pills: rejecting is exactly as easy as accepting. */
.consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 30;
  max-width: 580px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  margin-inline: auto;
  padding: 24px;
  border: 1px solid var(--on-ink-line);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: 0 30px 60px -20px rgba(33, 2, 3, .55);
  font-size: .9375rem;
  line-height: 1.5;
}

.consent[hidden] {
  display: none;
}

.consent :focus-visible {
  outline-color: var(--green);
}

.consent-text {
  margin: 0 0 16px;
  color: var(--on-ink-muted);
}

.consent-text a {
  color: var(--green);
}

.consent-text a:hover {
  color: var(--on-ink);
}

.consent-options {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 0 0 16px;
}

.consent-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 500;
  cursor: pointer;
}

.consent-option input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--green);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consent-button {
  flex: 1 1 140px;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.consent-button:hover {
  border-color: var(--on-ink);
  background: var(--on-ink);
}

/* 404 */

.not-found {
  padding-block: clamp(64px, 12vw, 160px);
  text-align: center;
}

.not-found-mark {
  margin: 0 auto 28px;
  border-radius: var(--radius);
}

.not-found h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.not-found .lead {
  margin-inline: auto;
}

.not-found .actions {
  justify-content: center;
}

/* Responsive */

@media (max-width: 860px) {
  html {
    scroll-padding-top: 116px;
  }

  /* The header wraps: logo and button on top, the three section links in a row below. */
  .header-inner {
    flex-wrap: wrap;
    gap: 0 16px;
    min-height: 0;
    padding-top: 8px;
  }

  .header-cta {
    margin-left: auto;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    margin: 6px 0 0;
    border-top: 1px solid var(--line);
  }

  .nav-links {
    gap: 28px;
  }

  .nav-links a {
    min-height: 40px;
    font-size: .9375rem;
  }

  .hero-grid,
  .split,
  .platform,
  .about {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "card"
      "steps";
    grid-template-rows: none;
  }

  .split .section-head {
    position: static;
  }

  .flock {
    justify-self: center;
    width: 100%;
    max-width: 480px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .audience,
  .compare {
    grid-template-columns: 1fr;
  }

  .service {
    padding: 20px 0 28px;
  }

  .service p {
    padding-left: 0;
  }

  .avatar {
    width: 88px;
    height: 88px;
    border-radius: 16px;
  }

  .person {
    gap: 18px;
  }

  .brand img {
    height: 28px;
  }

  .button-small {
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bird-odd svg {
    animation: none;
  }

  .button {
    transition: none;
  }
}
