.phone-shell {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  margin: 24px auto 60px;
  padding: 0;
  color: #0f172a;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.phone-shell .calc-page-head {
  margin-bottom: 20px;
}

.phone-shell .calc-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #6b737c;
  font-size: 12px;
}

.phone-shell .calc-breadcrumbs a {
  color: #6b737c;
  text-decoration: none;
}

.phone-shell .calc-breadcrumbs a:hover,
.phone-shell .calc-breadcrumbs a:focus-visible {
  color: #2f6fdf;
  text-decoration: underline;
}

.phone-shell .calc-card {
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid rgba(20, 24, 30, 0.08);
  border-radius: 12px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 18px 34px -30px rgba(15, 23, 42, 0.7);
}

.phone-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 22px;
  align-items: start;
  background:
    radial-gradient(circle at 12% 10%, rgba(14, 165, 233, 0.15), transparent 34%),
    radial-gradient(circle at 94% 0%, rgba(16, 185, 129, 0.13), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  overflow: visible;
}

.phone-kicker {
  margin: 0 0 8px;
  color: #047857;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-hero h1 {
  margin: 0 0 12px;
  color: #101828;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.phone-shell .calc-page-intro {
  margin: 0;
  max-width: 720px;
  color: #4b535d;
  font-size: 15px;
  line-height: 1.6;
}

.phone-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #b8ddcf;
  border-radius: 18px;
  background: #f4fffb;
}

.phone-form label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.phone-form input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid #a7c8bf;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-size: 16px;
  padding: 0 14px;
}

.phone-form input:focus {
  border-color: #059669;
  outline: none;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.14);
}

.phone-validation {
  margin: 0;
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
}

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

.phone-btn {
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 16px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.phone-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.phone-btn-primary {
  border-color: #047857;
  background: #047857;
  color: #ffffff;
}

.phone-btn-secondary:hover:not(:disabled),
.phone-btn-secondary:focus-visible:not(:disabled) {
  border-color: #047857;
}

.phone-result-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 16px;
  margin-top: 16px;
}

.phone-result-card,
.phone-suggestions-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.phone-result-label {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phone-output {
  margin: 0;
  color: #0f172a;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.phone-result-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.phone-result-meta article,
.phone-suggestions li {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
}

.phone-result-meta span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-result-meta strong {
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.phone-suggestions-card h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.25;
}

.phone-suggestions-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}

.phone-suggestions {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.phone-suggestions li {
  display: grid;
  gap: 4px;
}

.phone-suggestions strong {
  color: #0f172a;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.phone-suggestions span {
  color: #64748b;
  font-size: 13px;
}

.phone-reference {
  margin-top: 16px;
}

.phone-reference h2 {
  margin: 16px 0 8px;
  color: #151a1f;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.3;
}

.phone-reference h2:first-child {
  margin-top: 0;
}

.phone-reference p {
  margin: 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.65;
}

.phone-reference p + p {
  margin-top: 12px;
}

.phone-reference ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.phone-reference li {
  margin: 2px 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.65;
  padding-bottom: 4px;
}

.phone-reference a {
  color: #0f172a;
  font-weight: 500;
  text-decoration: none;
}

.phone-reference a:hover,
.phone-reference a:focus-visible {
  color: #1f5cc9;
  text-decoration: none;
}

.phone-keypad-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.phone-keypad-map span {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe5f4;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
}

.phone-reference .calc-faq {
  display: grid;
  gap: 10px;
}

.phone-reference .calc-faq-item {
  border: 1px solid #d4d9e1;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.phone-reference .calc-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 600;
}

.phone-reference .calc-faq-item summary::-webkit-details-marker {
  display: none;
}

.phone-reference .calc-faq-item > p {
  margin: 0;
  padding: 0 14px 14px;
}

@media (max-width: 860px) {
  .phone-hero,
  .phone-result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .phone-shell {
    width: calc(100% - 20px);
    margin-top: 20px;
    margin-bottom: 42px;
  }

  .phone-actions,
  .phone-result-meta,
  .phone-keypad-map {
    grid-template-columns: 1fr;
  }

  .phone-actions {
    display: grid;
  }
}
