* {
  box-sizing: border-box;
}

:root {
  --paper: #f7f8fb;
  --surface: #ffffff;
  --ink: #172026;
  --muted: #5b6670;
  --line: #dce3ea;
  --teal: #05766f;
  --coral: #d95745;
  --blue: #3869a6;
  --gold: #a66f08;
  --green: #287c57;
  --charcoal: #202325;
  --shadow: 0 18px 46px rgba(23, 32, 38, 0.12);
}

body.iara360-public,
body.iara360-auth,
body.iara360-portal {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.public-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 32px;
  color: #fff;
  background: rgba(23, 32, 38, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  object-fit: cover;
}

.public-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.public-nav a,
.header-action {
  min-height: 38px;
  border-radius: 8px;
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
  text-decoration: none;
}

.public-nav a:hover,
.header-action:hover {
  background: rgba(255, 255, 255, 0.14);
}

.header-action {
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: end;
  min-height: 84vh;
  padding: 120px clamp(20px, 4vw, 72px) 56px 32px;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  text-align: left;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
}

.advertiser-hero {
  padding-right: clamp(32px, 8vw, 160px);
  justify-items: end;
}

.advertiser-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 32, 38, 0.04) 0%, rgba(23, 32, 38, 0.08) 34%, rgba(23, 32, 38, 0.62) 68%, rgba(23, 32, 38, 0.82) 100%),
    linear-gradient(0deg, rgba(23, 32, 38, 0.18), rgba(23, 32, 38, 0.02));
}

.advertiser-hero-content {
  width: min(540px, 100%);
  max-width: 540px;
}

.advertiser-hero h1 {
  max-width: 540px;
  font-size: 60px;
  line-height: 1.02;
}

.advertiser-hero .hero-copy {
  max-width: 520px;
  font-size: 18px;
}

.eyebrow,
.section-kicker,
.portal-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d7fff8;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: 72px;
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 19px;
  line-height: 1.56;
}

.hero-actions,
.portal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button,
.button-secondary,
.button-ghost,
.portal-button,
.portal-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  padding: 10px 14px;
  text-decoration: none;
}

.button,
.portal-button {
  background: var(--teal);
  color: #fff;
}

.button:hover,
.portal-button:hover {
  background: #045f59;
}

.button-secondary,
.portal-button-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.public-section {
  padding: 64px 32px;
}

.section-inner,
.portal-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading h2,
.portal-title {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0;
}

.privacy-page {
  padding-top: 70px;
}

.privacy-inner {
  max-width: 900px;
}

.privacy-inner .section-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.08;
  font-weight: 950;
}

.privacy-copy {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.privacy-copy h2 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.2;
}

.privacy-copy p {
  margin: 0;
}

.section-heading p,
.portal-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.feature-grid,
.steps-grid,
.metric-grid,
.route-grid {
  display: grid;
  gap: 14px;
}

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

.mobile-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  align-items: center;
  gap: 32px;
  margin-bottom: 24px;
}

.phone-shell {
  position: relative;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(102, 126, 234, 0.96), rgba(118, 75, 162, 0.94)),
    #667eea;
  color: #fff;
  padding: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 88px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transform: translateX(-50%);
}

.phone-top,
.phone-route,
.phone-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 12px;
}

.phone-top {
  margin-top: 8px;
}

.phone-top img,
.phone-route img {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.phone-route img {
  border-radius: 8px;
}

.phone-top strong,
.phone-route strong,
.phone-status strong {
  display: block;
  line-height: 1.2;
}

.phone-top span,
.phone-route span,
.phone-status small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.35;
}

.voice-orb {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 154px;
  height: 154px;
  margin: 18px auto 8px;
  border: 12px solid rgba(34, 197, 94, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.voice-orb img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}

.status-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.18);
}

.mobile-feature-grid {
  margin-top: 8px;
}

.advertiser-demo-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 20px;
}

.advertiser-demo-panel article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 18px;
}

.advertiser-demo-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.advertiser-demo-panel strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 34px;
  line-height: 1;
}

.advertiser-proof-grid {
  margin-top: 18px;
}

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

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

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

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

.feature-card,
.step-card,
.metric-card,
.route-card,
.panel,
.login-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(23, 32, 38, 0.07);
}

.feature-card,
.step-card,
.metric-card,
.route-card {
  padding: 18px;
}

.feature-card h3,
.step-card h3,
.route-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.feature-card p,
.step-card p,
.route-card p,
.empty-state {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.feature-index {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
}

.accent-coral .feature-index {
  color: var(--coral);
}

.accent-blue .feature-index {
  color: var(--blue);
}

.accent-gold .feature-index {
  color: var(--gold);
}

.public-band {
  background: var(--charcoal);
  color: #fff;
}

.public-band .section-heading h2,
.public-band .section-heading p,
.public-band .step-card h3,
.public-band .step-card p {
  color: inherit;
}

.public-band .step-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.place-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.place-card:hover {
  border-color: rgba(80, 224, 216, 0.55);
  transform: translateY(-2px);
}

.place-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.place-card div {
  padding: 16px;
}

.place-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 19px;
  line-height: 1.2;
}

.place-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.destination-hero {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
}

.destination-hero > img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(23, 32, 38, 0.16);
}

.destination-actions {
  margin-top: 20px;
}

.destination-panel {
  margin-top: 18px;
}

.cta-section {
  padding-top: 0;
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.cta-strip h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.15;
}

.cta-strip p {
  margin: 8px 0 0;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.pricing-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(23, 32, 38, 0.07);
}

.pricing-card.highlighted {
  border-color: rgba(5, 118, 111, 0.32);
  box-shadow: 0 16px 40px rgba(5, 118, 111, 0.13);
}

.pricing-card span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
}

.pricing-card h3 {
  margin: 12px 0 8px;
  font-size: 21px;
}

.pricing-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.advertiser-cta {
  margin-top: 4px;
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(23, 32, 38, 0.18), rgba(23, 32, 38, 0.66)),
    url("../img/fundo_site_04_hero.webp") center / cover;
}

.login-panel {
  width: min(460px, 100%);
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.login-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.login-logo strong {
  display: block;
  font-size: 20px;
}

.login-logo span {
  color: var(--muted);
  font-size: 13px;
}

.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.form-row label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

.field-error {
  color: #8a2c22;
  font-size: 12px;
  font-weight: 800;
}

.errornote {
  margin: 0 0 14px;
  border: 1px solid rgba(217, 87, 69, 0.28);
  border-radius: 8px;
  background: rgba(217, 87, 69, 0.08);
  color: #8a2c22;
  padding: 10px 12px;
}

.portal-layout {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: 100vh;
}

.portal-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 22px;
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  text-decoration: none;
}

.portal-brand img {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(23, 32, 38, 0.12);
  border-radius: 50%;
  object-fit: cover;
}

.portal-nav {
  display: grid;
  gap: 6px;
}

.portal-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 900;
  padding: 10px 12px;
  text-decoration: none;
}

.portal-nav a:hover,
.portal-nav a.active {
  background: rgba(5, 118, 111, 0.08);
  color: var(--teal);
}

.portal-user {
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  padding-top: 16px;
}

.portal-user form {
  margin: 10px 0 0;
}

.portal-user button {
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0;
}

.portal-main {
  min-width: 0;
  padding: 24px;
}

.portal-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 20px;
  max-width: 1180px;
}

.portal-content {
  display: grid;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.portal-messages {
  display: grid;
  gap: 8px;
  width: min(1180px, 100%);
  margin: 0 auto 18px;
}

.portal-message {
  border: 1px solid rgba(56, 105, 166, 0.18);
  border-radius: 8px;
  background: rgba(56, 105, 166, 0.08);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
}

.portal-message.is-success {
  border-color: rgba(40, 124, 87, 0.18);
  background: rgba(40, 124, 87, 0.08);
  color: var(--green);
}

.portal-message.is-error {
  border-color: rgba(217, 87, 69, 0.22);
  background: rgba(217, 87, 69, 0.08);
  color: var(--coral);
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.compact-metric-grid .metric-card strong {
  font-size: 25px;
}

.panel {
  padding: 18px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-head h2 {
  margin: 0;
  font-size: 20px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: rgba(5, 118, 111, 0.1);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
}

.status-pill.is-failed {
  background: rgba(217, 87, 69, 0.12);
  color: var(--coral);
}

.status-pill.is-processing,
.status-pill.is-pending {
  background: rgba(166, 111, 8, 0.12);
  color: var(--gold);
}

.route-card {
  display: grid;
  gap: 10px;
}

.route-card-link,
.route-row {
  color: inherit;
  text-decoration: none;
}

.route-card-link:hover,
.route-row:hover {
  border-color: rgba(5, 118, 111, 0.32);
  box-shadow: 0 14px 34px rgba(5, 118, 111, 0.1);
}

.route-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-form-grid,
.route-detail-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: start;
}

.portal-form,
.filter-form {
  display: grid;
  gap: 12px;
}

.filter-form {
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) minmax(180px, 240px) auto;
  align-items: end;
}

.advertiser-report-form {
  grid-template-columns: minmax(140px, 180px) minmax(140px, 180px) minmax(240px, 1fr) auto;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}

.route-list {
  display: grid;
  gap: 10px;
}

.route-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.route-row h3 {
  margin: 8px 0 6px;
  font-size: 18px;
}

.route-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.advertiser-row {
  align-items: start;
}

.advertiser-reason {
  margin-top: 6px !important;
  color: var(--ink) !important;
  font-weight: 700;
}

.route-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

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

.business-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(23, 32, 38, 0.06);
}

.business-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.business-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.mini-definition-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.mini-definition-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px;
}

.mini-definition-list dt,
.compact-definition-list dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.mini-definition-list dd,
.compact-definition-list dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.compact-definition-list {
  gap: 8px;
}

.coupon-note {
  border: 1px dashed rgba(166, 111, 8, 0.32);
  border-radius: 8px;
  background: rgba(166, 111, 8, 0.08);
  color: var(--gold) !important;
  padding: 10px;
}

.interaction-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.interaction-strip span {
  border-radius: 999px;
  background: #f1f4f7;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 8px;
}

.route-detail-main h2 {
  margin: 16px 0 12px;
  font-size: 22px;
}

.route-timeline {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.route-stop {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.route-stop-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(5, 118, 111, 0.1);
  color: var(--teal);
  font-weight: 950;
}

.route-stop-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.route-stop h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.route-stop p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.route-stop-place,
.route-stop-notes {
  color: var(--ink) !important;
  font-weight: 800;
}

.route-stop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.route-stop-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.route-content {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.68;
}

.route-content p {
  margin: 0 0 12px;
}

.route-side {
  display: grid;
  gap: 18px;
}

.definition-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.definition-list div {
  display: grid;
  gap: 3px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.definition-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.definition-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.definition-list dd {
  margin: 0;
  font-weight: 800;
}

.compact-list {
  display: grid;
  gap: 8px;
}

.compact-item {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.compact-item span,
.compact-item-action > span > span {
  color: var(--muted);
  font-size: 12px;
}

.compact-item-action {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.share-form {
  margin-top: 12px;
}

.route-raw {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.route-raw summary {
  color: var(--teal);
  cursor: pointer;
  font-weight: 900;
}

.route-raw pre {
  overflow: auto;
  border-radius: 8px;
  background: #f1f4f7;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.5;
  padding: 12px;
}

.icon-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 8px 10px;
}

.icon-button {
  width: 36px;
  border: 1px solid rgba(217, 87, 69, 0.22);
  background: rgba(217, 87, 69, 0.08);
  color: var(--coral);
}

.danger-panel {
  border-color: rgba(217, 87, 69, 0.22);
}

.danger-button {
  width: 100%;
  border: 1px solid rgba(217, 87, 69, 0.28);
  background: var(--coral);
  color: #fff;
}

.portal-button:disabled,
.portal-button-secondary:disabled,
.danger-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

@media (max-width: 900px) {
  .public-header {
    padding: 12px 18px;
  }

  .public-nav {
    display: none;
  }

  .hero {
    min-height: 78vh;
    padding: 104px 20px 44px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .advertiser-hero {
    justify-items: start;
    padding-right: 20px;
  }

  .advertiser-hero-scrim {
    background: linear-gradient(90deg, rgba(23, 32, 38, 0.72), rgba(23, 32, 38, 0.28));
  }

  .advertiser-hero h1 {
    max-width: 360px;
    font-size: 42px;
  }

  .feature-grid,
  .steps-grid,
  .metric-grid,
  .advertiser-demo-panel,
  .pricing-grid,
  .destination-hero,
  .business-grid,
  .route-grid,
  .portal-form-grid,
  .route-detail-grid,
  .place-grid,
  .mobile-showcase {
    grid-template-columns: 1fr;
  }

  .filter-form {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    width: min(390px, 100%);
    margin: 0 auto;
  }

  .cta-strip,
  .portal-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-layout {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
