:root {
  --phone-ink: #16201f;
  --phone-soft: #f3f7f4;
  --phone-line: rgba(22, 32, 31, 0.14);
}

.phone-guide-header { border-bottom: 1px solid var(--phone-line); }
.phone-guide-home { color: var(--text-dim); font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.phone-guide { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; color: var(--phone-ink); }
.phone-guide-hero { padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.phone-guide-hero h1 { max-width: 880px; margin: 0.5rem 0 1.25rem; font-size: clamp(2.35rem, 7vw, 5.4rem); line-height: 0.98; letter-spacing: -0.055em; }
.phone-guide-summary { max-width: 830px; margin: 0; font-size: clamp(1.12rem, 2.2vw, 1.45rem); line-height: 1.55; color: var(--text-dim); }
.phone-guide-summary em { color: var(--teal); font-weight: 750; }
.phone-guide-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.phone-guide-button { box-sizing: border-box; display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.76rem 1.05rem; border: 1px solid transparent; border-radius: 10px; font: inherit; font-size: 0.9rem; font-weight: 750; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
.phone-guide-button svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone-guide-button-primary { background: var(--phone-ink); color: #fff; }
.phone-guide-button-primary:hover { background: #293331; transform: translateY(-1px); }
.phone-guide-button-secondary { border-color: var(--phone-line); background: #fff; color: var(--phone-ink); }
.phone-guide-button-secondary:hover { border-color: rgba(22,32,31,.35); background: var(--phone-soft); }
.phone-guide-button-tertiary { color: var(--text-dim); }
.phone-guide-button-tertiary:hover { color: var(--teal); background: var(--phone-soft); }
.phone-guide-button:focus-visible { outline: 3px solid rgba(15,124,114,.25); outline-offset: 2px; }

.phone-guide-section { padding: clamp(3rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--phone-line); }
.section-heading-copy { max-width: 760px; margin-bottom: 2rem; }
.phone-guide-section h2 { margin: 0.35rem 0 0.8rem; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.035em; }
.section-heading-copy > p:last-child { color: var(--text-dim); font-size: 1.05rem; line-height: 1.65; }
.policy-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; margin-bottom: 1rem; }
.policy-counts > div { display: grid; gap: 0.35rem; padding: 1.2rem; border: 1px solid var(--phone-line); border-radius: 14px; background: var(--phone-soft); }
.policy-counts strong { color: var(--teal); font-size: 1.65rem; }
.policy-counts span { color: var(--text-dim); font-size: 0.86rem; line-height: 1.45; }

.state-picker-card { padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid rgba(15, 124, 114, 0.25); border-radius: 18px; background: #fff; box-shadow: 0 18px 55px -45px rgba(15, 50, 46, 0.7); }
.state-picker-card > label { display: block; margin-bottom: 0.5rem; font-weight: 750; }
.state-picker-card select { width: min(100%, 440px); padding: 0.8rem 0.9rem; border: 1px solid var(--phone-line); border-radius: 10px; background: #fff; color: var(--phone-ink); font: inherit; }
.state-picker-card select:focus { outline: 3px solid rgba(15, 124, 114, 0.18); border-color: var(--teal); }
.state-result { margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--phone-line); }
.state-result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.state-result h3 { margin: 0.2rem 0 0; font-size: 1.5rem; }
.state-policy-badge { padding: 0.38rem 0.65rem; border-radius: 999px; font-size: 0.75rem; font-weight: 800; white-space: nowrap; }
.tone-strong { color: #075d55; background: #dcefeb; }
.tone-partial { color: #805600; background: #f8eac5; }
.tone-local { color: #4f4a86; background: #e9e7f7; }
.tone-support { color: #476273; background: #e2edf2; }
.tone-none { color: #71453f; background: #f4e3df; }
.state-caveat, .source-line { color: var(--text-dim); font-size: 0.82rem; line-height: 1.5; }
.source-line { margin-top: 1rem; }
.source-line a { color: var(--teal); }

.research-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.research-card { padding: clamp(1.25rem, 3vw, 1.8rem); border: 1px solid var(--phone-line); border-radius: 16px; }
.research-card.positive { background: #edf7f4; }
.research-card.mixed { background: #fbf4e7; }
.research-label { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-dim); }
.research-card h3 { margin: 0.55rem 0 1rem; font-size: 1.35rem; }
.research-card ul, .risk-list { padding-left: 1.15rem; }
.research-card li, .risk-list li { margin-bottom: 0.75rem; line-height: 1.55; }
.research-card a { color: var(--teal); font-weight: 750; }
.honest-read { margin-top: 1rem; padding: 1.3rem 1.5rem; border-left: 4px solid var(--teal); background: var(--phone-soft); }
.honest-read h3 { margin: 0 0 0.45rem; }
.honest-read p { margin: 0; line-height: 1.6; }

.implementation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.implementation-grid article { padding: 1.25rem; border: 1px solid var(--phone-line); border-radius: 14px; }
.implementation-grid article > span { color: var(--teal); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.08em; }
.implementation-grid h3 { margin: 0.65rem 0 0.55rem; font-size: 1.08rem; }
.implementation-grid p { margin: 0; color: var(--text-dim); font-size: 0.9rem; line-height: 1.55; }
.split-section { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr); gap: clamp(2rem, 6vw, 5rem); }
.questions-card { align-self: start; padding: 1.5rem; border-radius: 16px; background: #173c39; color: #fff; }
.questions-card .eyebrow { color: #9dd9d1; }
.questions-card h3 { margin: 0.35rem 0 1rem; font-size: 1.35rem; }
.questions-card ol { margin: 0; padding-left: 1.2rem; }
.questions-card li { margin-bottom: 0.75rem; line-height: 1.45; }

.opinion-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 1.5rem; }
.opinion-grid article { padding: 1.1rem; border-top: 3px solid var(--teal); background: var(--phone-soft); }
.opinion-grid strong { color: var(--teal); font-size: 2rem; }
.opinion-grid h3 { margin: 0.45rem 0; font-size: 0.95rem; }
.opinion-grid p { margin: 0; color: var(--text-dim); font-size: 0.82rem; line-height: 1.5; }
.source-library { padding-bottom: 6rem; }
.phone-share-callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 2rem; align-items: center; margin: clamp(2rem,5vw,4rem) 0 0; padding: clamp(1.5rem,4vw,2.5rem); border-radius: 18px; background: #173c39; color: #fff; }
.phone-share-callout .eyebrow { color: #9dd9d1; }
.phone-share-callout h2 { max-width: 680px; margin: .35rem 0 .6rem; font-size: clamp(1.6rem,3.5vw,2.5rem); letter-spacing: -.03em; }
.phone-share-callout div > p:last-child { max-width: 700px; margin: 0; color: rgba(255,255,255,.75); line-height: 1.55; }
.phone-share-callout-button { grid-column: 2; grid-row: 1; border-color: #fff; background: #fff; color: #173c39; }
.phone-share-callout-button:hover { background: #eaf5f2; transform: translateY(-1px); }
.phone-share-status { grid-column: 2; min-height: 1.2em; margin: 0; color: #b9ded8; font-size: .78rem; text-align: center; }
.source-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.source-grid a { display: grid; gap: 0.3rem; padding: 1rem; border: 1px solid var(--phone-line); border-radius: 10px; color: var(--phone-ink); text-decoration: none; }
.source-grid a:hover { border-color: var(--teal); }
.source-grid span { color: var(--text-dim); font-size: 0.82rem; }
.phone-guide-footer { display: flex; justify-content: space-between; padding: 1.5rem max(1rem, calc((100% - 1080px) / 2)); border-top: 1px solid var(--phone-line); color: var(--text-dim); font-size: 0.85rem; }
.phone-guide-footer a { color: var(--teal); }

@media (max-width: 800px) {
  .policy-counts, .implementation-grid { grid-template-columns: 1fr 1fr; }
  .opinion-grid { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .phone-guide { width: min(100% - 1.25rem, 1080px); }
  .research-grid, .policy-counts, .implementation-grid, .opinion-grid, .source-grid { grid-template-columns: 1fr; }
  .state-result-heading { display: grid; }
  .state-policy-badge { width: fit-content; }
  .phone-guide-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .phone-guide-actions .phone-guide-button-tertiary { grid-column: 1 / -1; }
  .phone-share-callout { grid-template-columns: 1fr; }
  .phone-share-callout-button,.phone-share-status { grid-column: 1; grid-row: auto; }
  .phone-share-callout-button { width: 100%; margin-top: .75rem; }
  .phone-guide-footer { padding-inline: 0.75rem; }
}
