:root {
  --ink: #121429;
  --ink-soft: #505a78;
  --orange: #ff5f0a;
  --orange-dark: #ed4f00;
  --orange-soft: #fff2e9;
  --cream: #fffaf5;
  --paper: #ffffff;
  --line: #f1dfd2;
  --shadow: 0 22px 56px rgba(22, 18, 12, 0.1);
  --shadow-soft: 0 14px 34px rgba(32, 24, 16, 0.08);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffefe 0%, #fffdfb 52%, #ffffff 100%);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

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

.page-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 22px 32px 20px;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 92px;
  padding: 16px 24px;
  border: 1px solid #ece2da;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px rgba(29, 23, 16, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 18px;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(255, 95, 10, 0.18);
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  color: var(--ink);
  font-weight: 750;
  white-space: nowrap;
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: var(--orange-dark);
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 16px;
  color: #ffffff;
  background: #101124;
  box-shadow: 0 14px 28px rgba(16, 17, 36, 0.18);
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 540px);
  align-items: center;
  gap: 54px;
  padding: 42px 20px 48px;
}

.hero__content {
  padding-top: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 38px;
  padding: 10px 17px;
  border: 1px solid #f1dacb;
  border-radius: 999px;
  color: var(--orange-dark);
  background: #fffaf5;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(255, 95, 10, 0.06);
}

.pill__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 95, 10, 0.12);
}

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

h1 {
  max-width: 540px;
  margin-bottom: 20px;
  font-size: clamp(3.35rem, 6vw, 4.55rem);
  line-height: 1.03;
  letter-spacing: 0;
  font-weight: 900;
}

h1 span {
  display: block;
}

.hero__lead {
  max-width: 540px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.14rem, 1.6vw, 1.34rem);
  font-weight: 520;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 28px;
  border-radius: 16px;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

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

.button--primary {
  gap: 11px;
  color: #ffffff;
  background: #0d0e20;
  box-shadow: 0 16px 28px rgba(13, 14, 32, 0.18);
}

.button--secondary {
  min-width: 176px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #ece0d7;
  box-shadow: 0 12px 26px rgba(30, 22, 14, 0.06);
}

.chrome-mark {
  position: relative;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #2f80ed 0 29%, #ffffff 30% 38%, transparent 39%),
    conic-gradient(#1db954 0 33%, #ffd24a 0 66%, #e64535 0 100%);
}

.hero-preview {
  position: relative;
  padding: 24px;
  border: 1px solid #eee4dc;
  border-radius: 30px;
  background: linear-gradient(145deg, #ffffff 0%, #fffaf5 100%);
  box-shadow: var(--shadow);
}

.window-dots {
  display: flex;
  gap: 10px;
  height: 23px;
  margin-bottom: 14px;
}

.window-dots span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) {
  background: var(--orange);
}

.window-dots span:nth-child(2) {
  background: #ffb21a;
}

.window-dots span:nth-child(3) {
  background: #2fd165;
}

.extension-window {
  min-height: 386px;
  padding: 23px 24px 22px;
  overflow: hidden;
  border: 1px solid #eedfd4;
  border-radius: 24px;
  background:
    linear-gradient(140deg, #fffefc 0%, #fff8f1 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.extension-window__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.mini-brand img {
  width: 43px;
  height: 43px;
  border-radius: 13px;
}

.mini-brand strong {
  font-size: 1.22rem;
  line-height: 1.1;
  white-space: nowrap;
}

.mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font-size: 0.77rem;
  font-weight: 850;
}

.mode-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 39px;
  padding: 0 18px;
  border: 1px solid #eee2d9;
  border-radius: 999px;
  background: #fffdfb;
}

.mode-switch__active {
  color: #ffffff;
  background: #111225 !important;
  border-color: #111225 !important;
  box-shadow: 0 10px 20px rgba(17, 18, 37, 0.15);
}

.word-stage {
  position: relative;
  min-height: 218px;
  margin-top: 34px;
}

.word-card {
  position: absolute;
  width: 218px;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 20px 34px rgba(29, 21, 12, 0.12);
}

.word-card--left {
  left: 4px;
  top: 8px;
  transform: rotate(5deg);
}

.word-card--center {
  left: 145px;
  top: 82px;
  z-index: 2;
  transform: rotate(-7deg);
}

.word-card--right {
  right: -2px;
  top: 7px;
  transform: rotate(-6deg);
}

.progress-lines {
  display: grid;
  gap: 15px;
  margin: 0 auto;
}

.progress-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange) var(--fill), #efe8e2 var(--fill));
}

.progress-lines span:nth-child(1) {
  --fill: 74%;
}

.progress-lines span:nth-child(2) {
  --fill: 56%;
}

.progress-lines span:nth-child(3) {
  --fill: 91%;
}

.section {
  padding: 12px 20px 0;
}

.section + .section {
  padding-top: 40px;
}

.section-kicker {
  margin-bottom: 7px;
  color: var(--orange-dark);
  font-weight: 900;
}

.section h2 {
  max-width: 670px;
  margin-bottom: 12px;
  font-size: clamp(2.05rem, 3.7vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

.section-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 1.15rem;
  font-weight: 520;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 22px;
}

.benefit-card,
.feature-tile,
.step-card,
.bottom-cta {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, #ffffff 0%, var(--cream) 100%);
  box-shadow: var(--shadow-soft);
}

.benefit-card {
  min-height: 268px;
  padding: 32px 23px 26px;
  border-radius: 22px;
}

.benefit-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 27px;
  object-fit: contain;
}

.benefit-card h3 {
  margin-bottom: 15px;
  font-size: 1.32rem;
  line-height: 1.2;
  font-weight: 900;
}

.benefit-card p,
.feature-tile p,
.step-card p,
.bottom-cta p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-weight: 520;
}

.context-demo {
  position: relative;
  min-height: 156px;
  margin-top: 22px;
}

.context-page {
  display: grid;
  gap: 9px;
  padding: 17px 18px;
  border: 1px solid #f1dfd2;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: #59617d;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.context-page mark {
  padding: 2px 6px;
  border-radius: 7px;
  color: var(--ink);
  background: #ffd7bd;
  font-weight: 900;
}

.context-menu {
  position: absolute;
  right: 8px;
  bottom: 0;
  width: min(235px, 92%);
  display: grid;
  gap: 2px;
  padding: 9px;
  border: 1px solid #ebddd2;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 16px 35px rgba(22, 18, 12, 0.14);
  color: #59617d;
  font-size: 0.78rem;
  line-height: 1.2;
}

.context-menu span,
.context-menu strong {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
}

.context-menu strong {
  color: var(--orange-dark);
  background: var(--orange-soft);
  font-weight: 850;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.feature-tile {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 78px;
  padding: 18px 20px;
  border-radius: 17px;
}

.check-icon {
  width: 31px;
  height: 31px;
  margin-top: 2px;
  object-fit: contain;
}

.feature-tile h3,
.step-card h3 {
  margin-bottom: 3px;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 900;
}

.feature-tile p {
  font-size: 0.96rem;
  line-height: 1.35;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 16px;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 42px;
  gap: 14px;
  align-items: center;
  min-height: 106px;
  padding: 22px 16px 20px 22px;
  border-radius: 18px;
}

.step-card:not(:last-child)::after {
  content: ">";
  position: absolute;
  right: -17px;
  color: #f3d9c7;
  font-size: 1.7rem;
  font-weight: 300;
}

.step-icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 40px;
  height: 50px;
  border-radius: 10px;
  color: var(--orange-dark);
  background: var(--orange-soft);
  font-size: 1.55rem;
  font-weight: 900;
}

.step-card p {
  font-size: 0.92rem;
  line-height: 1.34;
}

.bottom-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 14px;
  padding: 24px 52px 24px 48px;
  border-radius: 18px;
}

.bottom-cta h2 {
  margin-bottom: 4px;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
}

.bottom-cta .button {
  min-height: 58px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px 0;
  color: #59617d;
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .page-shell {
    padding-inline: 24px;
  }

  .site-header {
    gap: 18px;
  }

  .main-nav {
    gap: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero__content {
    max-width: 680px;
  }

  .hero-preview {
    max-width: 620px;
  }

  .word-card--center {
    left: 31%;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 78px;
    padding: 13px 16px;
  }

  .main-nav {
    display: none;
  }

  .brand__icon {
    width: 48px;
    height: 48px;
  }

  .hero {
    padding-inline: 8px;
  }

  .benefits-grid,
  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: auto;
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .bottom-cta {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .bottom-cta .button {
    width: fit-content;
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding: 14px 14px 18px;
  }

  .site-header {
    border-radius: 22px;
  }

  .brand {
    gap: 12px;
    font-size: 1.12rem;
  }

  .brand__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .header-button {
    min-height: 42px;
    padding-inline: 15px;
    border-radius: 14px;
    font-size: 0.92rem;
  }

  .hero {
    gap: 26px;
    padding-top: 30px;
    padding-bottom: 38px;
  }

  .pill {
    margin-bottom: 28px;
    padding: 9px 13px;
    font-size: 0.92rem;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.25rem);
  }

  .hero__lead {
    font-size: 1.05rem;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 58px;
    padding-inline: 18px;
    white-space: normal;
    text-align: center;
  }

  .hero-preview {
    padding: 15px;
    border-radius: 24px;
  }

  .extension-window {
    min-height: 345px;
    padding: 17px 16px;
    border-radius: 20px;
  }

  .extension-window__top {
    align-items: flex-start;
  }

  .mini-brand {
    gap: 10px;
  }

  .mini-brand img {
    width: 36px;
    height: 36px;
  }

  .mini-brand strong {
    font-size: 1rem;
  }

  .mode-switch {
    gap: 6px;
    font-size: 0.66rem;
  }

  .mode-switch span {
    min-height: 32px;
    padding-inline: 10px;
  }

  .word-stage {
    min-height: 190px;
    margin-top: 22px;
  }

  .word-card {
    width: 168px;
    border-radius: 17px;
  }

  .word-card--left {
    left: -4px;
    top: 6px;
  }

  .word-card--center {
    left: 25%;
    top: 72px;
  }

  .word-card--right {
    right: -12px;
    top: 12px;
  }

  .progress-lines {
    gap: 10px;
  }

  .progress-lines span {
    height: 8px;
  }

  .section {
    padding-inline: 8px;
  }

  .section + .section {
    padding-top: 34px;
  }

  .section h2 {
    font-size: clamp(1.86rem, 9vw, 2.45rem);
  }

  .section-lead {
    font-size: 1rem;
  }

  .benefit-card {
    padding: 25px 20px 23px;
  }

  .feature-tile {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 17px 16px;
  }

  .step-card {
    grid-template-columns: 44px minmax(0, 1fr) 36px;
    gap: 11px;
    padding: 18px 14px;
  }

  .step-number {
    width: 34px;
    height: 44px;
    font-size: 1.32rem;
  }

  .bottom-cta {
    padding: 22px 18px;
  }

  .bottom-cta .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    gap: 4px;
    padding-inline: 8px;
  }
}

@media (max-width: 390px) {
  .site-header {
    gap: 10px;
  }

  .brand span {
    max-width: 132px;
  }

  .header-button {
    padding-inline: 12px;
  }

  .mode-switch {
    display: none;
  }

  .word-card {
    width: 154px;
  }

  .word-card--center {
    left: 20%;
  }
}
