:root {
  --background: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #eef2f7;
  --text: #17202b;
  --muted: #657080;
  --line: rgba(62, 76, 96, 0.16);
  --blue: #168ede;
  --blue-dark: #096cae;
  --coral: #e85f5b;
  --coral-dark: #c94743;
  --shadow: 0 26px 74px rgba(40, 58, 80, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 2%, rgba(22, 142, 222, 0.12), transparent 30rem),
    radial-gradient(circle at 4% 36%, rgba(232, 95, 91, 0.1), transparent 27rem),
    var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header,
.hero,
.intro,
.feature-grid,
.converter,
.screens-heading,
.screens,
.connection,
.privacy,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 780;
  letter-spacing: -0.02em;
}

.brand img,
.footer-brand img {
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(55, 74, 95, 0.18);
}

nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a:hover,
nav a:focus-visible { color: var(--blue-dark); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.58fr);
  align-items: center;
  gap: clamp(46px, 8vw, 112px);
  min-height: 750px;
  padding: 48px 0 110px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral-dark);
  font-size: 0.76rem;
  font-weight: 840;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 7vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: -0.068em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5.3vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.38rem;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-weight: 760;
  transition: transform 160ms ease;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #39a9eb, var(--blue));
  box-shadow: 0 16px 42px rgba(22, 142, 222, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  list-style: none;
}

.highlights li::before {
  margin-right: 7px;
  color: var(--coral);
  content: "✓";
}

.app-preview,
.converter figure,
.screens figure { margin: 0; }

.app-preview {
  width: min(290px, 100%);
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.app-preview img,
.converter figure img,
.screens img {
  width: 100%;
  height: auto;
}

.intro {
  max-width: 900px;
  padding: 88px 0 52px;
  text-align: center;
}

.intro p:last-child,
.screens-heading p:last-child {
  max-width: 710px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 110px;
}

.feature-grid article {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(53, 70, 93, 0.07);
}

.feature-grid article p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-number {
  display: block;
  margin-bottom: 64px;
  color: var(--coral-dark);
  font-size: 0.75rem;
  font-weight: 840;
  letter-spacing: 0.15em;
}

.feature-grid article:nth-child(2) .feature-number { color: var(--blue-dark); }
.feature-grid article:nth-child(3) .feature-number { color: #5c6878; }

.converter {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(46px, 9vw, 120px);
  padding: clamp(48px, 8vw, 86px);
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    radial-gradient(circle at 90% 8%, rgba(22, 142, 222, 0.12), transparent 22rem),
    var(--surface);
  box-shadow: 0 18px 52px rgba(45, 64, 88, 0.09);
}

.converter-preview {
  display: flex;
  justify-content: center;
}

.converter figure {
  width: min(280px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.converter-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.format-list {
  margin: 32px 0 0;
}

.format-list div {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.format-list dt { font-weight: 780; }
.format-list dd { margin: 0; color: var(--muted); }

.screens-heading {
  padding: 118px 0 54px;
  text-align: center;
}

.screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 260px));
  justify-content: center;
  gap: clamp(24px, 5vw, 58px);
  padding-bottom: 110px;
}

.screens figure { text-align: center; }

.screens img {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.screens figcaption {
  max-width: 250px;
  margin: 20px auto 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.connection,
.privacy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  align-items: start;
  gap: clamp(32px, 7vw, 100px);
}

.connection {
  padding: clamp(48px, 8vw, 82px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 7% 95%, rgba(232, 95, 91, 0.11), transparent 20rem),
    var(--surface);
}

.connection h2 { margin-bottom: 0; }
.connection > p,
.privacy-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.privacy { padding: 110px 0; }
.privacy-copy p:last-child { margin-bottom: 0; }

.privacy-copy a {
  color: var(--blue-dark);
  font-weight: 720;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

footer p { margin: 0; }

@media (max-width: 900px) {
  .hero,
  .converter,
  .connection,
  .privacy { grid-template-columns: 1fr; }

  .hero { min-height: auto; padding-top: 58px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions,
  .highlights { justify-content: center; }
  .app-preview { width: min(270px, 100%); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 190px; }
  .feature-number { margin-bottom: 34px; }
  .converter-preview { order: 2; }
  .converter-copy { text-align: center; }
  .converter-copy > p:not(.eyebrow) { margin-inline: auto; }
  .format-list { text-align: left; }
  .connection { text-align: center; }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  .intro,
  .feature-grid,
  .converter,
  .screens-heading,
  .screens,
  .connection,
  .privacy,
  footer {
    width: min(100% - 28px, 1160px);
  }

  .brand span { display: none; }
  nav { gap: 14px; font-size: 0.82rem; }
  nav a:nth-child(2) { display: none; }
  h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .app-preview { width: min(250px, 100%); border-radius: 28px; }
  .converter { padding: 42px 26px; }
  .converter figure { width: min(245px, 100%); border-radius: 27px; }
  .format-list div { grid-template-columns: 1fr; gap: 5px; }

  .screens {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .screens img { border-radius: 18px; }
  .screens figcaption { font-size: 0.78rem; }
  .connection { padding: 42px 26px; }
  footer { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  nav a:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
