:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #14212b;
  background: #f7f5ef;
  --ink: #14212b;
  --muted: #596775;
  --panel: #ffffff;
  --line: #d9d2c4;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --warn: #8a4b08;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.55;
}

a {
  color: var(--accent-strong);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, 0.94);
}

.site-header__inner,
.hero,
.section,
.legal-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(650px, calc(100vh - 128px));
  padding: 54px 0 64px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: #101820;
  line-height: 1.12;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.45rem, 5.2vw, 4.8rem);
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  letter-spacing: 0;
}

h3 {
  margin: 28px 0 8px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 650px;
  margin: 14px 0 0;
  color: #374552;
  font-size: clamp(1.08rem, 1.7vw, 1.24rem);
}

.hero-subheadline {
  max-width: 650px;
  margin: 18px 0 0;
  color: #1e2b36;
  font-size: clamp(1.34rem, 2vw, 1.72rem);
  font-weight: 700;
  line-height: 1.25;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.hero-visual {
  position: absolute;
  top: 28px;
  right: 0;
  bottom: 18px;
  width: min(46vw, 430px);
  height: calc(100% - 46px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.phone-preview {
  width: min(100%, 310px);
  min-height: 548px;
  padding: 18px 18px 16px;
  border: 12px solid #101820;
  border-radius: 34px;
  background: #fdfbf5;
  box-shadow: 0 28px 58px rgba(20, 33, 43, 0.18);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  margin: 0 3px 14px;
  color: #40515d;
  font-size: 0.72rem;
  font-weight: 750;
}

.phone-topline {
  color: #101820;
  font-size: 1.38rem;
  font-weight: 800;
}

.phone-muted {
  margin: 2px 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

.phone-result {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.phone-result > div:first-child {
  display: grid;
  align-content: center;
  gap: 3px;
}

.phone-result > div:first-child strong {
  color: #101820;
  font-size: 1.05rem;
}

.phone-result > div:first-child span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.phone-score {
  min-width: 76px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #eef7f5;
  text-align: right;
}

.phone-score span {
  display: block;
  color: var(--accent-strong);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.phone-score strong {
  display: block;
  color: #101820;
  font-size: 2.2rem;
  line-height: 1;
}

.phone-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 12px;
}

.phone-meta-row span {
  padding: 5px 7px;
  border: 1px solid #d9e6e3;
  border-radius: 999px;
  background: #f4fbfa;
  color: var(--accent-strong);
  font-size: 0.64rem;
  font-weight: 750;
}

.phone-section-title {
  margin-bottom: 7px;
  color: #455562;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.phone-finding {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.phone-finding--high {
  border-color: #e5b36f;
  background: #fffaf2;
}

.phone-finding--medium {
  border-color: #d7c691;
  background: #fffdf5;
}

.phone-finding__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.phone-finding__header strong {
  color: #101820;
  font-size: 0.82rem;
}

.phone-finding__header span {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(138, 75, 8, 0.12);
  color: var(--warn);
  font-size: 0.6rem;
  font-weight: 800;
}

.phone-finding p {
  margin: 0;
  color: #3f4d59;
  font-size: 0.72rem;
  line-height: 1.35;
}

.phone-question-box {
  display: grid;
  gap: 3px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  background: #eef3f7;
}

.phone-question-box strong {
  color: #101820;
  font-size: 0.74rem;
}

.phone-question-box span {
  color: #455562;
  font-size: 0.69rem;
  line-height: 1.35;
}

.phone-tabbar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 4px 0;
  border-top: 1px solid var(--line);
  color: #596775;
  font-size: 0.64rem;
  font-weight: 750;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.actions--compact {
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--accent-strong);
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button--secondary {
  background: transparent;
  color: var(--accent-strong);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: #344451;
  font-size: 0.9rem;
  font-weight: 650;
}

.app-icon-large {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(20, 33, 43, 0.18);
}

.section {
  padding: 58px 0;
}

.section--border {
  border-top: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tile {
  min-height: 176px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.tile h3 {
  margin-top: 0;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.signal-grid span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #20303b;
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.notice {
  padding: 18px;
  border: 1px solid #d9b77a;
  border-radius: 8px;
  background: #fff7e8;
  color: var(--warn);
}

.legal-main {
  max-width: 800px;
  padding: 48px 0 72px;
}

.legal-main h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-main p,
.legal-main li {
  font-size: 1rem;
}

.meta {
  color: var(--muted);
  margin: 12px 0 32px;
}

.footer {
  border-top: 1px solid var(--line);
}

.footer__inner {
  width: min(1120px, calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 820px) {
  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    flex-direction: column-reverse;
    align-items: flex-start;
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 34px;
    overflow: visible;
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(100%, 340px);
    height: auto;
    margin: 34px auto 0;
    justify-content: center;
  }

  .hero-content {
    width: 100%;
  }

  .actions {
    width: 100%;
  }

  .button {
    width: 100%;
    padding: 10px 14px;
    text-align: center;
  }

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

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header__inner,
  .hero,
  .section,
  .legal-main,
  .footer__inner {
    width: min(350px, calc(100% - 40px));
    margin-left: 20px;
    margin-right: auto;
  }
}
