:root {
  --bg: #f7f7f3;
  --panel: #ffffff;
  --panel-soft: #edf7f0;
  --ink: #101418;
  --muted: #5c6570;
  --line: rgba(16, 20, 24, 0.12);
  --line-strong: rgba(16, 20, 24, 0.22);
  --green: #167a48;
  --green-dark: #0d4f35;
  --mint: #dff4e8;
  --coral: #ec604e;
  --yellow: #f3c84b;
  --blue: #3668d8;
  --shadow: 0 24px 70px rgba(17, 28, 36, 0.12);
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, "Segoe UI", Roboto, system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(54, 104, 216, 0.08) 0%, transparent 30rem),
    linear-gradient(315deg, rgba(236, 96, 78, 0.1) 0%, transparent 28rem),
    var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  font: inherit;
}

svg {
  display: block;
  flex: none;
}

.page {
  min-height: 100svh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem max(1rem, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 243, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 800;
}

.brand__mark {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topnav a {
  padding: 0.55rem 0.7rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.topnav a:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
}

main {
  padding: 0 max(1rem, calc((100vw - 1160px) / 2)) 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.72fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(100svh - 4rem);
  padding: clamp(2.25rem, 5vw, 5.5rem) 0 3rem;
}

.hero__content {
  max-width: 46rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 49rem;
  margin-bottom: 1.15rem;
  font-size: clamp(2.55rem, 7vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.05;
}

.hero__lead {
  max-width: 42rem;
  margin-bottom: 1.65rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  gap: 0.55rem;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-weight: 800;
}

.button--primary {
  border-color: transparent;
  background: var(--green);
  color: #fff;
}

.button--secondary {
  background: #fff;
  color: var(--ink);
}

.hero__device {
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: min(100%, 22.5rem);
  aspect-ratio: 0.58;
  padding: 0.85rem;
  border: 1px solid rgba(16, 20, 24, 0.18);
  border-radius: 2.2rem;
  background: #121619;
  box-shadow: var(--shadow);
}

.phone::before {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  width: 5.5rem;
  height: 1.15rem;
  border-radius: 999px;
  background: #121619;
  content: "";
  transform: translateX(-50%);
  z-index: 2;
}

.phone__bar {
  position: absolute;
  top: 1.3rem;
  left: 50%;
  width: 2.5rem;
  height: 0.22rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  transform: translateX(-50%);
  z-index: 3;
}

.phone__screen {
  position: relative;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  align-content: space-between;
  padding: 4rem 1.15rem 1.15rem;
  border-radius: 1.55rem;
  background:
    radial-gradient(circle at 75% 15%, rgba(236, 96, 78, 0.8), transparent 8rem),
    radial-gradient(circle at 18% 70%, rgba(22, 122, 72, 0.9), transparent 9rem),
    #080b0e;
  color: #fff;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e8fff1;
  font-size: 0.88rem;
  font-weight: 800;
}

.play-tile {
  display: grid;
  width: 7.4rem;
  height: 7.4rem;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.6rem;
  background: linear-gradient(135deg, #13d6c6, #ef3b5d 52%, #161bff);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}

.signal-grid span {
  min-height: 6.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
}

.signal-grid span:nth-child(2) {
  background: rgba(255, 255, 255, 0.18);
}

.signal-grid span:nth-child(3) {
  background: rgba(255, 255, 255, 0.26);
}

.phone__caption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
}

.phone__caption span {
  font-size: 1.55rem;
  font-weight: 900;
}

.phone__caption strong {
  max-width: 8rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  line-height: 1.25;
  text-align: right;
}

.requirements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1rem 0 4rem;
}

.requirement {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.4rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.requirement span {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 7px;
  background: var(--mint);
  color: var(--green-dark);
}

.requirement p {
  margin: 0;
  font-weight: 760;
}

.requirement > svg {
  color: var(--green);
}

.section-heading {
  display: grid;
  gap: 0.6rem;
  max-width: 42rem;
  margin-bottom: 1.35rem;
}

.steps-section,
.short-flow {
  padding: 3.5rem 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.step-card {
  min-height: 100%;
  padding: clamp(1.15rem, 3vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(17, 28, 36, 0.06);
}

.step-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  margin-bottom: 1rem;
}

.step-number {
  display: inline-grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.step-card p {
  margin-bottom: 1rem;
  color: var(--muted);
  line-height: 1.55;
}

.step-card ol {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.35rem;
}

.step-card li {
  color: #303840;
  line-height: 1.42;
  padding-left: 0.2rem;
}

.notice {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid rgba(236, 96, 78, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(236, 96, 78, 0.14), transparent 38%),
    #fff;
}

.notice p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.notice ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #283039;
  line-height: 1.4;
}

.notice li svg {
  color: var(--coral);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.flow-item {
  display: grid;
  align-content: space-between;
  min-height: 9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.96)),
    var(--panel-soft);
}

.flow-item span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.flow-item p {
  margin: 1.8rem 0 0;
  font-weight: 780;
  line-height: 1.32;
}

.finish {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: clamp(1.1rem, 3vw, 1.45rem);
  border: 1px solid rgba(22, 122, 72, 0.3);
  border-radius: 8px;
  background: var(--green-dark);
  color: #fff;
}

.finish svg {
  color: var(--yellow);
}

.finish p {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.5;
}

.newspaper {
  margin-top: 4rem;
  padding: clamp(1.25rem, 3.2vw, 2.2rem);
  border: 1px solid rgba(16, 20, 24, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(16, 20, 24, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 20, 24, 0.025) 1px, transparent 1px),
    #fffdf6;
  background-size: 2.1rem 2.1rem;
  box-shadow: 0 18px 46px rgba(17, 28, 36, 0.08);
}

.newspaper__masthead {
  display: grid;
  gap: 0.45rem;
  padding-bottom: 1.2rem;
  border-bottom: 3px double rgba(16, 20, 24, 0.42);
  text-align: center;
}

.newspaper__kicker,
.newspaper__date,
.news-block__label {
  margin: 0;
  color: #6d5840;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.newspaper__masthead h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 7vw, 5.8rem);
  line-height: 0.92;
}

.newspaper__lead {
  max-width: 58rem;
  margin: 1.4rem auto 1.6rem;
  text-align: center;
}

.newspaper__lead p {
  margin: 0;
  color: #20242a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.4vw, 1.72rem);
  line-height: 1.42;
}

.newspaper__grid {
  display: grid;
  grid-template-columns: minmax(15rem, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.newspaper__sidebar,
.news-block {
  border: 1px solid rgba(16, 20, 24, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.newspaper__sidebar {
  padding: 1rem;
}

.newspaper__sidebar h3,
.news-block h3,
.news-block h4 {
  font-family: Georgia, "Times New Roman", serif;
}

.newspaper__sidebar h3 {
  margin-bottom: 0.85rem;
  font-size: 1.55rem;
}

.newspaper__sidebar dl {
  display: grid;
  gap: 0.85rem;
  margin: 0;
}

.newspaper__sidebar div {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(16, 20, 24, 0.14);
}

.newspaper__sidebar div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.newspaper__sidebar dt {
  color: #6d5840;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.newspaper__sidebar dd {
  margin: 0.25rem 0 0;
  color: #2f343b;
  line-height: 1.42;
}

.newspaper__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.news-block {
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

.news-block--wide {
  grid-column: 1 / -1;
}

.news-block h3 {
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.03;
}

.news-block h4 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
}

.news-block p {
  margin-bottom: 0.85rem;
  color: #30363d;
  line-height: 1.62;
}

.news-block p:last-child {
  margin-bottom: 0;
}

.timeline,
.fact-grid ul,
.sources ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding-left: 1.25rem;
}

.timeline li,
.fact-grid li,
.sources li {
  color: #30363d;
  line-height: 1.45;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fact-grid > div {
  padding: 1rem;
  border: 1px solid rgba(16, 20, 24, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.84);
}

.sources a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
  }

  .topnav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__device {
    justify-items: start;
  }

  .requirements,
  .steps,
  .notice,
  .flow-grid,
  .newspaper__grid,
  .newspaper__columns,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .news-block--wide {
    grid-column: auto;
  }

  .flow-item {
    min-height: 6.5rem;
  }
}

@media (max-width: 520px) {
  main {
    padding-bottom: 2.5rem;
  }

  h1 {
    font-size: clamp(2.28rem, 15vw, 4.4rem);
  }

  .hero {
    padding-top: 1.6rem;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .phone {
    width: min(100%, 18.5rem);
  }

  .phone__caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .phone__caption strong {
    max-width: none;
    text-align: left;
  }

  .signal-grid span {
    min-height: 4.9rem;
  }

  .requirement {
    min-height: 4rem;
  }

  .steps-section,
  .short-flow {
    padding: 2.4rem 0;
  }
}
