:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #637181;
  --line: #d7dde5;
  --panel: #ffffff;
  --wash: #eef4f7;
  --accent: #0b7a75;
  --accent-strong: #075d59;
  --danger: #a52834;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 22% 20%, rgba(11, 122, 117, 0.12), transparent 32rem),
    linear-gradient(135deg, #f7fafb 0%, #eef4f7 58%, #f7f4ef 100%);
  color: var(--ink);
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px 24px;
}

.dialer {
  width: min(100%, 520px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(23, 32, 42, 0.16);
  padding: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.candidate-photo {
  width: 124px;
  height: 124px;
  flex: 0 0 124px;
  object-fit: cover;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(23, 32, 42, 0.22);
}

.eyebrow {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 750;
}

.candidate-name {
  margin: 8px 0 0;
  color: #0b7a75;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.notice {
  margin: -8px 0 24px;
  border-left: 4px solid #f2c14e;
  background: #fff8e1;
  color: #2f342f;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}

.call-form {
  display: grid;
  gap: 10px;
}

label {
  font-size: 14px;
  font-weight: 700;
}

.number-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input {
  min-width: 0;
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
}

input:focus {
  outline: 3px solid rgba(11, 122, 117, 0.2);
  border-color: var(--accent);
}

button {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.primary {
  height: 52px;
  min-width: 116px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.primary:hover:not(:disabled) {
  background: var(--accent-strong);
}

.danger {
  color: #fff;
  background: var(--danger);
  border-color: var(--danger);
}

.toolbar {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.status {
  margin-top: 18px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
  color: var(--muted);
  padding: 13px 14px;
  line-height: 1.35;
}

.click-counter {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.click-counter strong {
  color: var(--ink);
  font-weight: 800;
}

.platform {
  width: min(100%, 860px);
  padding: 6px 4px 24px;
}

.platform h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
}

.platform-copy {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}

.platform-copy h3 {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
}

.platform-copy p {
  max-width: 78ch;
  margin: 0 0 14px;
  color: #2b3540;
  font-size: 16px;
  line-height: 1.65;
}

.platform-copy p:last-child {
  margin-bottom: 0;
}

.phone-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-block;
  border: 3px solid currentColor;
  border-left-width: 5px;
  border-top-color: transparent;
  transform: rotate(-35deg);
  border-radius: 50%;
}

@media (max-width: 520px) {
  .shell {
    padding: 14px;
    justify-content: flex-start;
  }

  .dialer {
    padding: 22px;
  }

  .brand {
    align-items: flex-start;
  }

  .candidate-photo {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }

  h1 {
    font-size: 25px;
  }

  .candidate-name {
    font-size: 23px;
  }

  .number-row {
    grid-template-columns: 1fr;
  }

  .primary {
    width: 100%;
  }

  .platform h2 {
    font-size: 25px;
  }

  .platform-copy p {
    font-size: 15px;
    line-height: 1.58;
  }
}
