:root {
  --ink: #16201e;
  --muted: #5c6a66;
  --paper: #f7faf8;
  --line: #d6e0dc;
  --primary: #16705f;
  --primary-dark: #102f2b;
  --primary-light: #e3f1ed;
  --accent: #d99a2b;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(217, 154, 43, 0.16), transparent 32rem),
    linear-gradient(135deg, #0d201d 0%, #172522 45%, #eef5f1 45%, #f7faf8 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.demo-shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 28px;
}

.phone {
  background: var(--white);
  border: 10px solid #0b1210;
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(4, 12, 10, 0.35);
  min-height: 780px;
  overflow: hidden;
  width: min(390px, calc(100vw - 32px));
}

.phone-top,
.phone-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
}

.phone-top {
  background: #0b1210;
  color: var(--white);
  font-size: 13px;
}

.business-card {
  background:
    linear-gradient(rgba(13, 32, 29, 0.62), rgba(13, 32, 29, 0.68)),
    url("assets/local-ai-visibility-hero.png") center/cover;
  color: var(--white);
  min-height: 210px;
  padding: 80px 20px 22px;
}

.eyebrow,
.kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1,
h2,
p {
  letter-spacing: 0;
}

h1 {
  font-size: 30px;
  line-height: 1.05;
  margin: 0 0 8px;
}

h2 {
  font-size: 25px;
  line-height: 1.12;
  margin: 0 0 18px;
}

.business-card p:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  margin: 0;
}

.tabs {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.tabs button {
  background: var(--white);
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  min-height: 48px;
}

.tabs button.active {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.panel {
  padding: 22px 20px 10px;
}

.score-row {
  background: var(--primary-light);
  border: 1px solid #c7ded6;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  padding: 14px;
}

.score-row strong {
  color: var(--primary-dark);
  font-size: 34px;
  line-height: 1;
}

.score-row span,
dt,
li span,
.competitor-list p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

dl div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

dt {
  font-weight: 700;
}

dd {
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}

.prompt-list,
.fix-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.prompt-list li {
  font-size: 15px;
  line-height: 1.35;
}

.competitor-list {
  display: grid;
  gap: 12px;
}

.competitor-list article {
  align-items: flex-start;
  background: #f4f7f5;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  padding: 12px;
}

.competitor-list span {
  align-items: center;
  background: var(--primary);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 28px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
}

.competitor-list strong,
.fix-list strong {
  display: block;
  font-size: 14px;
}

.competitor-list p {
  margin: 4px 0 0;
}

.fix-list li {
  padding-right: 0;
}

.fix-list span {
  display: block;
  margin-top: 3px;
}

.phone-footer {
  border-top: 1px solid var(--line);
  justify-content: center;
  margin-top: 10px;
}

.phone-footer a {
  background: var(--primary);
  border-radius: 7px;
  color: var(--white);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  text-decoration: none;
  width: 100%;
}

@media (max-width: 560px) {
  .demo-shell {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
  }

  .phone {
    border: 0;
    border-radius: 0;
    min-height: 100vh;
    width: min(390px, 100vw);
  }

  .phone-top {
    padding-left: 18px;
    padding-right: 18px;
  }

  .tabs button {
    font-size: 11px;
  }

  h2 {
    font-size: 24px;
  }
}
