/*
  landing/a2p-opt-in.css - Reviewer-facing A2P opt-in evidence styles.

  The page uses a restrained compliance-document aesthetic: sharp divisions,
  high contrast, and generous reading space keep the exact CTA copy and proof
  images easy to audit. The owner reference intentionally resembles the real
  authenticated Flutter form without presenting itself as a live signup form.
*/

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --paper: #f6f4ef;
  --surface: #ffffff;
  --ink: #181b22;
  --muted: #626874;
  --line: #d8d8d2;
  --orange: #e85f32;
  --orange-soft: #fff0e9;
  --green: #176b50;
  --navy: #17243a;
  --blue-line: #cbd6e6;
  --display: "Fredoka", sans-serif;
  --body: "DM Sans", sans-serif;
  --content: 1160px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
}

a {
  color: var(--orange);
  text-underline-offset: 3px;
}

.proof-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.proof-nav-inner,
.proof-header-inner,
.proof-section-inner,
.proof-footer-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.proof-nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.proof-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.proof-brand img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}

.proof-nav-links {
  display: flex;
  gap: 24px;
}

.proof-nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.proof-header {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.proof-header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  column-gap: 72px;
  align-items: end;
}

.proof-kicker,
.proof-step {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p,
blockquote,
figure,
dl,
dd {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  letter-spacing: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.98;
}

.proof-intro {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.proof-summary {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 2px solid var(--navy);
}

.proof-summary div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.proof-summary dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.proof-summary dd {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.proof-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.proof-section-alt {
  background: var(--surface);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: 80px;
  align-items: start;
}

.proof-grid-owner {
  grid-template-columns: minmax(360px, 0.8fr) minmax(0, 0.95fr);
}

.proof-copy h2,
.proof-terms h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.05;
}

.proof-copy h3,
.proof-terms h3 {
  margin: 32px 0 10px;
  color: var(--navy);
  font-size: 0.9rem;
  letter-spacing: 0;
}

.proof-copy p,
.proof-terms p {
  color: var(--muted);
}

blockquote {
  margin-bottom: 0;
  padding: 20px 22px;
  border-left: 3px solid var(--orange);
  background: var(--orange-soft);
  color: #35383f;
  font-size: 0.94rem;
}

.proof-location {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 600;
}

.proof-figure {
  margin-bottom: 0;
}

.proof-image-frame {
  overflow: hidden;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(23, 36, 58, 0.12);
}

.proof-image-frame img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption,
.owner-evidence-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.owner-evidence {
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  background: #f9fbfd;
  box-shadow: 0 20px 50px rgba(23, 36, 58, 0.1);
}

.owner-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--blue-line);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}

.owner-private-label {
  color: var(--green);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.owner-screen {
  padding: 28px 24px 24px;
}

.owner-screen-heading p {
  margin-bottom: 4px;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.owner-screen-heading h3 {
  margin: 0 0 28px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 1.5rem;
}

.owner-field {
  display: block;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}

.owner-input {
  display: flex;
  align-items: center;
  min-height: 50px;
  margin-top: 7px;
  padding: 0 14px;
  border: 1px solid #c9d2df;
  border-radius: 8px;
  background: var(--surface);
  color: #6f7887;
  font-size: 0.92rem;
  font-weight: 400;
}

.owner-disclosure {
  margin: -4px 0 24px;
  color: #626d7e;
  font-size: 0.72rem;
  line-height: 1.55;
}

.owner-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  background: var(--orange);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
}

.owner-evidence-note {
  padding: 0 24px 22px;
}

.proof-terms {
  background: var(--navy);
  color: var(--surface);
}

.proof-terms .proof-step {
  color: #ff9675;
}

.proof-terms h2,
.proof-terms h3 {
  color: var(--surface);
}

.proof-terms p {
  color: #c7cfda;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 12px;
  border-top: 1px solid #40506a;
}

.terms-grid h3 {
  margin-top: 22px;
}

.proof-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid #40506a;
}

.proof-legal-links a {
  color: #ff9675;
  font-size: 0.9rem;
  font-weight: 700;
}

.proof-footer {
  padding: 26px 0;
  background: #101a2b;
  color: #aeb8c8;
}

.proof-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.8rem;
}

.proof-footer a {
  color: #d9dfE8;
}

@media (max-width: 820px) {
  .proof-header-inner,
  .proof-grid,
  .proof-grid-owner {
    grid-template-columns: 1fr;
  }

  .proof-header-inner,
  .proof-grid,
  .proof-grid-owner {
    gap: 48px;
  }

  .proof-header {
    padding: 56px 0;
  }

  .proof-section {
    padding: 64px 0;
  }

  .proof-grid-owner .owner-evidence {
    order: 2;
  }

  .terms-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 540px) {
  .proof-nav-inner,
  .proof-header-inner,
  .proof-section-inner,
  .proof-footer-inner {
    width: min(calc(100% - 28px), var(--content));
  }

  .proof-nav-links a:last-child {
    display: none;
  }

  h1 {
    font-size: 2.75rem;
  }

  .proof-summary div {
    grid-template-columns: 100px 1fr;
  }

  .proof-copy h2,
  .proof-terms h2 {
    font-size: 2.2rem;
  }

  .proof-grid,
  .proof-grid-owner {
    gap: 40px;
  }

  .owner-window-bar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .owner-screen {
    padding: 24px 18px 20px;
  }

  .owner-evidence-note {
    padding-right: 18px;
    padding-left: 18px;
  }

  .proof-footer-inner {
    flex-direction: column;
    gap: 6px;
  }
}
