:root {
  --page: #f7fbff;
  --surface: #ffffff;
  --ink: #171a22;
  --muted: #687182;
  --line: #dbe4ef;
  --blue: #2f88ff;
  --blue-dark: #1768d7;
  --mint: #61cf87;
  --coral: #ff6f61;
  --gold: #f8c35b;
  --shadow: 0 24px 70px rgba(34, 46, 70, 0.16);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
}

body,
button,
a {
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(247, 251, 255, 0.92);
  border-bottom: 1px solid rgba(219, 228, 239, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(34, 46, 70, 0.14);
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(47, 136, 255, 0.28);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.section-band {
  width: 100%;
}

section[id] {
  scroll-margin-top: 78px;
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 40px 0 24px;
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 500px);
  align-items: center;
  gap: clamp(34px, 5vw, 82px);
}

.section-label {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(42px, 5.6vw, 56px);
  line-height: 0.95;
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-lead,
.workflow-copy > p,
.plans-copy > p,
.closing p {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 0;
}

.hero-facts div {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-facts dt {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 900;
}

.hero-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.hero-visual {
  min-height: 520px;
  position: relative;
}

.phone-stack {
  position: relative;
  min-height: 520px;
}

.iphone {
  margin: 0;
}

.iphone-frame {
  position: relative;
  width: min(100%, 250px);
  margin: 0 auto;
  padding: 12px;
  border-radius: 42px;
  background: #111823;
  box-shadow: var(--shadow);
}

.iphone-frame::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 39px;
  pointer-events: none;
}

.iphone-frame img {
  width: 100%;
  aspect-ratio: 1170 / 2532;
  object-fit: cover;
  border-radius: 30px;
  background: #ffffff;
}

.iphone-speaker {
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 2;
  width: 72px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-50%);
}

.iphone-back {
  position: absolute;
  top: 44px;
  left: 0;
  width: 300px;
  opacity: 0.62;
  transform: rotate(-7deg);
}

.iphone-back .iphone-frame {
  width: 214px;
}

.iphone-front {
  position: absolute;
  top: 0;
  right: 14px;
  width: 285px;
}

.workflow {
  padding: 48px 0 80px;
  background: #18202d;
  color: #ffffff;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
}

.workflow .section-label {
  color: var(--mint);
}

.workflow-copy > p {
  color: #bfccd8;
}

.step-tabs {
  display: grid;
  gap: 10px;
  margin: 30px 0 28px;
}

.step-tab {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}

.step-tab span {
  grid-row: span 2;
  display: inline-grid;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: rgba(97, 207, 135, 0.14);
  color: var(--mint);
  font-weight: 900;
}

.step-tab strong {
  font-size: 18px;
  line-height: 1.2;
}

.step-tab small {
  color: #b3bdca;
  font-size: 14px;
  line-height: 1.35;
}

.step-tab.is-active {
  border-color: rgba(97, 207, 135, 0.66);
  background: rgba(97, 207, 135, 0.12);
}

.workflow-phone .iphone-frame {
  width: min(100%, 360px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.features {
  padding: 86px 0;
  background: #ffffff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 215px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.feature-icon {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 8px;
  background: #eaf3ff;
  color: var(--blue-dark);
  font-weight: 900;
}

.currency-icon {
  font-size: 24px;
}

.feature-card:nth-child(2n) .feature-icon {
  background: #e9faef;
  color: #278348;
}

.feature-card:nth-child(3n) .feature-icon {
  background: #fff3d6;
  color: #a96800;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.gallery {
  padding: 82px 0;
  background: #f5f8fb;
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.gallery-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.gallery-phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.gallery-phone .iphone-frame {
  width: min(100%, 300px);
}

.gallery-phone:nth-child(2) {
  margin-top: 46px;
}

.gallery-phone figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.search-intent {
  padding: 86px 0;
  background: #ffffff;
}

.search-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.search-copy {
  position: sticky;
  top: 100px;
}

.search-copy > p {
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

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

.search-card {
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.search-card h3 {
  font-size: 20px;
}

.search-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.plans {
  padding: 86px 0;
  background: #f5f8fb;
}

.plans-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 34px;
}

.plans-copy {
  position: sticky;
  top: 100px;
}

.plans-copy .button {
  margin-top: 12px;
}

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

.plan-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.plan-card h3 {
  font-size: 26px;
}

.plan-price {
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.plan-subprice {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.plan-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.plan-accent {
  background: #18202d;
  color: #ffffff;
  border-color: #18202d;
  box-shadow: var(--shadow);
}

.plan-accent .plan-price {
  color: var(--mint);
}

.plan-accent .plan-subprice {
  color: #d8e1ea;
}

.plan-accent ul {
  color: #d8e1ea;
}

.faq {
  padding: 86px 0;
  background: #ffffff;
}

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

.faq-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

.faq-item h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.closing {
  padding: 86px 0;
  background: #18202d;
  color: #ffffff;
}

.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.closing h2 {
  max-width: 780px;
  margin-bottom: 10px;
}

.closing p {
  margin-bottom: 0;
  color: #c3ceda;
}

.site-footer {
  padding: 26px 0;
  background: #111823;
  color: #c8d3df;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 800;
}

.footer-inner a {
  color: var(--mint);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .workflow-grid,
  .search-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .phone-stack {
    min-height: 520px;
  }

  .iphone-back {
    left: 8%;
  }

  .iphone-front {
    right: 12%;
  }

  .feature-grid,
  .gallery-phones,
  .search-list,
  .faq-list,
  .plan-table {
    grid-template-columns: 1fr;
  }

  .gallery-phone:nth-child(2) {
    margin-top: 0;
  }

  .search-copy,
  .plans-copy {
    position: static;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    font-size: 19px;
  }

  .brand-logo {
    width: 31px;
    height: 31px;
  }

  .header-actions .button {
    display: none;
  }

  .section-inner {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 34px;
    line-height: 1;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lead,
  .workflow-copy > p,
  .search-copy > p,
  .plans-copy > p,
  .closing p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    margin: 20px 0 22px;
  }

  .hero-facts {
    display: none;
  }

  .hero-visual,
  .phone-stack {
    min-height: 360px;
  }

  .iphone-back {
    display: none;
  }

  .iphone-front {
    left: 50%;
    right: auto;
    width: 164px;
    transform: translateX(-50%);
  }

  .iphone-front .iphone-frame {
    width: 164px;
    padding: 8px;
    border-radius: 30px;
  }

  .iphone-front .iphone-frame::before {
    border-radius: 27px;
  }

  .iphone-front .iphone-frame img {
    border-radius: 22px;
  }

  .workflow,
  .features,
  .gallery,
  .search-intent,
  .plans,
  .faq,
  .closing {
    padding: 62px 0;
  }

  .workflow {
    padding-top: 42px;
  }

  .gallery-heading {
    display: grid;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
