/*
Theme Name: Interline Agency LP
Theme URI: https://interline-music.jp/
Author: EnterFans Inc.
Description: Interline Music agency partner landing page theme.
Version: 1.0.0
Text Domain: interline-agency-lp
*/

:root {
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --paper: #f3f1ec;
  --white: #ffffff;
  --muted: #666666;
  --muted-light: #8a8a8a;
  --line: rgba(17, 17, 17, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --accent: #ef4444;
  --accent-dark: #c83232;
  --gray-50: #fafafa;
  --gray-100: #eeeeee;
  --max: 1200px;
  --header-height: 72px;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-serif: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-num: "Arial Black", "Helvetica Neue", Helvetica, sans-serif;
  --font-italic: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--white);
  background-image: url("assets/backgrounds/kyoto-collection-signage-bg.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  animation: interline-bg-drift 24s ease-in-out infinite alternate;
  font-family: var(--font-sans);
  line-height: 1.8;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  display: none;
  content: "";
}

@keyframes interline-bg-drift {
  from {
    background-position: center 48%;
  }

  to {
    background-position: center 52%;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 32px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 17, 17, 0.09);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--line);
}

.brand {
  display: inline-flex;
  grid-column: 2;
  align-items: center;
  justify-self: center;
  gap: 14px;
  min-width: 0;
  line-height: 1;
}

.brand-logo {
  width: clamp(132px, 15vw, 186px);
  height: auto;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-italic);
  font-size: 11px;
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  grid-column: 1;
  justify-self: start;
  gap: 30px;
  align-items: center;
  color: currentColor;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.site-nav a,
.header-cta {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.header-cta:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  grid-column: 3;
  gap: 14px;
  align-items: center;
  justify-self: end;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--white);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.header-cta:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.section {
  padding: 112px 30px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

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

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: center;
}

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

.section-head {
  max-width: 780px;
}

.section:not(.section-dark) .section-head {
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(10px);
}

.section-head.narrow {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.support .section-head.narrow {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-number {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--accent);
  background: transparent;
  border-radius: 0;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.section-number::after {
  display: inline-block;
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.final-cta .section-number::after,
.section-head.narrow .section-number::after {
  width: 24px;
}

.section-dark .section-number,
.cta-band .section-number {
  color: var(--accent);
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-dark .section-kicker,
.hero .section-kicker,
.cta-band .section-kicker {
  color: var(--white);
}

.section-head h2,
.cta-inner h2,
.final-cta h2,
.consult-copy h2 {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.section-head p,
.cta-inner p,
.consult-copy p,
.final-cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

.section-dark .section-head p,
.section-dark .consult-copy p,
.section-dark .final-cta p,
.section-dark .cta-inner p {
  color: rgba(255, 255, 255, 0.72);
}

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.button-primary:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.section-dark .button-primary,
.cta-band .button-primary,
.final-cta .button-primary,
.consult .button-primary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.section-dark .button-primary:hover,
.cta-band .button-primary:hover,
.final-cta .button-primary:hover,
.consult .button-primary:hover {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.button-ghost,
.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.button-ghost:hover,
.button-outline:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.section-dark .button-ghost,
.section-dark .button-outline,
.cta-band .button-outline,
.final-cta .button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.section-dark .button-ghost:hover,
.section-dark .button-outline:hover,
.final-cta .button-ghost:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.hero {
  position: relative;
  min-height: 88svh;
  padding: 0 30px;
  color: var(--ink);
  background: rgba(243, 241, 236, 0.88);
  border-top: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  top: calc(var(--header-height) + 72px);
  right: max(30px, calc((100vw - var(--max)) / 2));
  z-index: -1;
  width: min(45vw, 580px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #d9d5cc;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  filter: grayscale(0.05) saturate(0.8) contrast(1.02) brightness(1.06);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(243, 241, 236, 0.98) 42%, rgba(243, 241, 236, 0.58) 72%, rgba(243, 241, 236, 0.16) 100%),
    radial-gradient(circle at 72% 32%, rgba(239, 68, 68, 0.22), transparent 28%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, var(--max));
  min-height: 88svh;
  margin: 0 auto;
  padding: calc(var(--header-height) + 70px) 0 70px;
}

.hero .section-number,
.hero .section-kicker {
  color: var(--ink);
}

.hero .section-kicker::first-letter {
  color: var(--accent);
}

.hero-title {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.32;
  font-weight: 500;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.hero-title span {
  display: block;
}

.hero-title-small {
  font-size: 36px;
  line-height: 1.28;
}

.hero-title em {
  color: var(--accent);
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-family: var(--font-italic);
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero .button-primary {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.hero .button-primary:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.hero .button-line {
  color: var(--white);
  background: #06c755;
  border-color: #06c755;
}

.hero .button-line:hover {
  color: var(--white);
  background: #04a846;
  border-color: #04a846;
}

.hero .button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.hero .button-ghost:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(620px, 100%);
  margin: 46px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-metrics div {
  min-width: 0;
  padding-right: 22px;
}

.hero-metrics dt {
  color: var(--accent);
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: var(--font-italic);
  font-size: 12px;
  font-style: italic;
}

.apps,
.solution,
.agency,
.compare,
.jobs {
  background: rgba(255, 255, 255, 0.9);
}

.strength,
.company {
  background: var(--white);
}

.plans,
.voices {
  background: rgba(250, 250, 250, 0.92);
}

.app-grid,
.support-grid,
.plan-grid,
.job-grid {
  display: grid;
  gap: 24px;
  margin-top: 52px;
}

.app-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-card,
.support-card,
.plan-card,
.job-card,
.pain-card,
.voice-placeholder,
.webinar-panel {
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.app-card {
  min-height: 208px;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.app-card:hover,
.job-card:hover,
.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.48);
}

.app-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  padding: 0;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
  overflow: hidden;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card h3,
.support-card h3,
.plan-card h3,
.pain-card h3,
.job-card h3,
.strength-item h3,
.webinar-panel h3,
.voice-placeholder h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.section-dark .support-card h3,
.section-dark .webinar-panel h3,
.section-dark .flow-list h3 {
  color: var(--white);
}

.app-card p,
.support-card p,
.plan-card p,
.pain-card p,
.job-card p,
.strength-item p,
.webinar-panel p,
.voice-placeholder p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.solution-board {
  display: grid;
  gap: 16px;
}

.pain-card {
  position: relative;
  min-height: 220px;
  padding: 34px;
  overflow: hidden;
}

.pain-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: var(--ink);
}

.pain-card:first-child::before {
  background: var(--accent);
}

.pain-card span,
.voice-placeholder span,
.webinar-tag,
.plan-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 12px;
  color: var(--white);
  background: var(--accent);
  border-radius: 999px;
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.support,
.webinar,
.flow,
.consult,
.final-cta,
.cta-band {
  position: relative;
  color: var(--white);
  background: var(--ink);
}

.support::before,
.webinar::before,
.flow::before,
.consult::before,
.final-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 5px 5px;
  opacity: 0.35;
}

.support > *,
.webinar > *,
.flow > *,
.consult > *,
.final-cta > * {
  position: relative;
}

.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-card {
  min-height: 270px;
  padding: 34px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-light);
}

.support-card p,
.webinar-panel dd,
.flow-list p {
  color: rgba(255, 255, 255, 0.72);
}

.support-index,
.webinar-panel dt,
.flow-list span {
  display: block;
  color: var(--accent);
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.support-index {
  margin-bottom: 54px;
}

.cta-band {
  padding: 64px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-inner {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.cta-inner h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 38px);
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.72);
}

.line-cta-strip {
  padding: 18px 22px;
  color: var(--ink);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.line-cta-strip a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  background: #06c755;
  border: 1px solid #06c755;
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

a[href*="line-crm-worker.carveout.workers.dev"]:hover,
a[href*="line-crm-worker.carveout.workers.dev"]:focus-visible {
  color: var(--white);
  background: #04a846;
  border-color: #04a846;
}

a[href*="line-crm-worker.carveout.workers.dev"]:active {
  color: var(--white);
  background: #038f3c;
  border-color: #038f3c;
  transform: translateY(0);
}

.line-cta-strip span {
  margin-left: 8px;
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
  min-height: 320px;
  padding: 34px;
}

.plan-card.featured {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  padding: 12px 14px;
  color: var(--ink);
  background: var(--gray-50);
  border-left: 2px solid var(--accent);
  font-size: 14px;
  font-weight: 500;
}

.plan-label {
  display: block;
  width: fit-content;
  margin-bottom: 12px;
  padding: 0;
  color: var(--accent);
  background: transparent;
  border-radius: 0;
}

.webinar-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 52px;
  align-items: center;
}

.webinar-panel {
  padding: 38px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-light);
}

.webinar-tag {
  color: var(--white);
  background: var(--accent);
}

.webinar-panel dl {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.webinar-panel div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-light);
}

.webinar-panel dd {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.strength-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 52px;
  background: var(--line);
  border: 1px solid var(--line);
}

.strength-item {
  min-height: 260px;
  padding: 36px;
  background: var(--white);
}

.strength-item span {
  display: block;
  margin-bottom: 54px;
  color: var(--accent);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.compare-table-wrap {
  margin-top: 44px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}

.compare-table thead th {
  color: var(--white);
  background: var(--ink);
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.compare-table tbody th {
  width: 26%;
  font-weight: 700;
}

.compare-table tbody td:nth-child(2) {
  color: var(--ink);
  background: #fff5f5;
  font-weight: 700;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px;
  margin: 52px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  min-height: 300px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-light);
}

.flow-list li:not(:last-child)::after {
  position: absolute;
  left: 50%;
  bottom: -23px;
  width: 0;
  height: 0;
  content: "";
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
  border-top: 12px solid var(--accent);
  transform: translateX(-50%);
}

.flow-list span {
  margin-bottom: 64px;
}

.flow-list h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.45;
}

.flow-list p {
  margin: 0;
  font-size: 14px;
}

.voice-placeholder {
  padding: 36px;
}

.voice-placeholder span {
  background: var(--ink);
}

.job-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.job-card {
  min-height: 170px;
  padding: 30px;
}

.job-card h3::before {
  display: block;
  width: 48px;
  height: 2px;
  margin-bottom: 24px;
  content: "";
  background: var(--accent);
}

.consult-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.78fr);
  gap: 60px;
  align-items: start;
}

.consult-form {
  display: grid;
  gap: 16px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-light);
}

.consult-form label {
  display: grid;
  gap: 8px;
}

.consult-form label span {
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.consult-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(17, 17, 17, 0.72);
  border: 1px solid var(--line-light);
  border-radius: 0;
}

.company-list {
  display: grid;
  margin: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.company-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--muted);
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.company-list dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.final-cta {
  overflow: hidden;
}

.final-cta-inner {
  max-width: 860px;
  text-align: center;
}

.final-cta .section-number {
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 34px;
}

.site-footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 42px 30px;
  color: var(--white);
  background: #000000;
  border-top: 1px solid var(--line-light);
}

.footer-brand .brand-logo {
  filter: invert(1);
}

.site-footer .brand strong,
.site-footer .brand small {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 400;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 620ms ease, transform 620ms ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js .hero .reveal {
  opacity: 1;
  transform: none;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 28px 28px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .section {
    padding: 82px 22px;
  }

  .hero {
    min-height: 86svh;
    padding: 0 22px;
  }

  .hero-media {
    top: calc(var(--header-height) + 54px);
    right: -54px;
    width: min(78vw, 440px);
    opacity: 0.28;
  }

  .hero-inner {
    min-height: 86svh;
    padding-top: calc(var(--header-height) + 58px);
  }

  .hero-title {
    font-size: clamp(38px, 9vw, 54px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .split,
  .split.reverse,
  .webinar-inner,
  .consult-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .support-grid,
  .plan-grid,
  .job-grid,
  .strength-list {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 128px;
  }

  .brand strong {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-inner {
    min-height: 84svh;
    padding-bottom: 38px;
  }

  .hero-media {
    top: calc(var(--header-height) + 130px);
    right: -112px;
    width: min(76vw, 320px);
    opacity: 0.13;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-actions,
  .final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
  }

  .hero-metrics div {
    padding-right: 0;
  }

  .hero-metrics dt {
    font-size: 22px;
  }

  .hero-metrics dd {
    font-size: 10px;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .section-head h2,
  .cta-inner h2,
  .final-cta h2,
  .consult-copy h2 {
    font-size: 29px;
  }

  .app-card,
  .support-card,
  .plan-card,
  .pain-card,
  .job-card,
  .strength-item,
  .webinar-panel,
  .voice-placeholder,
  .consult-form {
    padding: 24px;
  }

  .app-card {
    min-height: 190px;
    padding: 18px;
  }

  .app-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 12px;
  }

  .app-card h3 {
    font-size: 16px;
    line-height: 1.35;
  }

  .app-card p {
    font-size: 12px;
    line-height: 1.7;
  }

  .webinar-panel div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Keep the LP in a mobile-sized layout even on desktop viewports. */
:root {
  --max: 430px;
  --header-height: 70px;
}

main,
.site-footer {
  width: min(100%, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  right: auto;
  left: 50%;
  width: min(100%, var(--max));
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 0 16px;
  transform: translateX(-50%);
}

.brand {
  grid-column: 1;
  justify-self: center;
  gap: 10px;
}

.brand-logo {
  width: 128px;
}

.brand strong {
  font-size: 9px;
  letter-spacing: 0.12em;
}

.brand small,
.header-cta {
  display: none;
}

.site-nav {
  position: fixed;
  inset: var(--header-height) auto auto 50%;
  display: none;
  width: min(100%, var(--max));
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 18px 28px 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.section {
  padding: 82px 22px;
}

.hero {
  min-height: 84svh;
  padding: 0 22px;
}

.hero-inner {
  min-height: 84svh;
  padding-top: calc(var(--header-height) + 58px);
  padding-bottom: 38px;
}

.hero-media {
  top: calc(var(--header-height) + 130px);
  right: -112px;
  width: min(76vw, 320px);
  opacity: 0.13;
}

.hero-title {
  font-size: 36px;
}

.hero-copy {
  font-size: 15px;
}

.hero-actions,
.final-actions {
  align-items: stretch;
  flex-direction: column;
}

.button {
  width: 100%;
}

.hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
}

.hero-metrics div {
  padding-right: 0;
}

.hero-metrics dt {
  font-size: 22px;
}

.hero-metrics dd {
  font-size: 10px;
}

.split,
.split.reverse,
.webinar-inner,
.consult-inner {
  grid-template-columns: 1fr;
  gap: 42px;
}

.support-grid,
.plan-grid,
.job-grid,
.strength-list,
.flow-list {
  grid-template-columns: 1fr;
}

.app-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cta-inner {
  align-items: flex-start;
  flex-direction: column;
}

.company-list div {
  grid-template-columns: 1fr;
  gap: 8px;
}

.site-footer {
  align-items: flex-start;
  flex-direction: column;
  padding: 42px 22px;
}

.section-head h2,
.cta-inner h2,
.final-cta h2,
.consult-copy h2 {
  font-size: 29px;
}

.app-card,
.support-card,
.plan-card,
.pain-card,
.job-card,
.strength-item,
.webinar-panel,
.voice-placeholder,
.consult-form {
  padding: 24px;
}

.app-card {
  min-height: 190px;
  padding: 18px;
}

.app-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
}

.app-card h3 {
  font-size: 16px;
  line-height: 1.35;
}

.app-card p {
  font-size: 12px;
  line-height: 1.7;
}

.webinar-panel div {
  grid-template-columns: 1fr;
  gap: 6px;
}

#apps-title,
#support-title,
.cta-band .cta-inner h2,
#plans-title,
#agency-title,
#solution-title {
  font-size: 29px;
  line-height: 1.38;
}

.hero-title,
.section-head h2,
.cta-inner h2,
.final-cta h2,
.consult-copy h2 {
  font-weight: 400;
}

.app-card h3,
.support-card h3,
.plan-card h3,
.pain-card h3,
.job-card h3,
.strength-item h3,
.webinar-panel h3,
.voice-placeholder h3,
.flow-list h3 {
  font-weight: 600;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
