:root {
  color-scheme: light;
  --ink: #052e16;
  --text: #12351f;
  --muted: #5c7463;
  --panel: #ffffff;
  --line: #d7f3df;
  --line-strong: #bbf7d0;
  --green: #22c55e;
  --green-dark: #15803d;
  --blue: #1683ff;
  --yellow: #facc15;
  --shadow: 0 24px 70px rgba(5, 46, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 38rem),
    #ffffff;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e6edf1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1.5rem;
  width: min(920px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

.nav-group {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 1.35rem;
}

.nav-group-left {
  justify-content: flex-end;
}

.nav-group-right {
  justify-content: flex-start;
}

.nav-group a {
  color: var(--green);
  font-size: 1.08rem;
  font-weight: 400;
}

.brand {
  justify-self: center;
  color: var(--green);
  font-size: clamp(1.95rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.section-block {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero {
  gap: 1.6rem;
  padding: clamp(4rem, 11vw, 7rem) 0 2.75rem;
}

h1,
h2,
h3,
p,
strong,
span {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: 2.25rem;
  line-height: 2.5rem;
  letter-spacing: 0;
}

.hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.project-preview {
  width: 100%;
  margin: 2rem auto 0;
  border: 1px solid #d8e5ed;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-heading {
  position: relative;
  padding: 1.45rem 1.45rem 1.35rem;
  border-bottom: 1px solid #edf2f5;
}

.preview-heading::after {
  content: "";
  position: absolute;
  top: 1.55rem;
  right: 1.45rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.78), rgba(34, 197, 94, 0.05) 70%);
  filter: blur(2px);
}

.preview-heading p,
.preview-heading h2 {
  margin: 0;
}

.preview-heading p {
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 900;
}

.preview-heading h2 {
  margin-top: 0.45rem;
  color: var(--ink);
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.preview-device {
  display: grid;
  place-items: center;
  min-height: 620px;
  border-bottom: 1px solid #edf2f5;
  background:
    linear-gradient(120deg, rgba(34, 197, 94, 0.08), rgba(22, 131, 255, 0.08)),
    #f4f8fb;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.phone-screen {
  width: min(350px, 100%);
  min-height: 560px;
  border: 10px solid var(--ink);
  border-radius: 44px;
  background:
    radial-gradient(circle at 82% 13%, rgba(250, 204, 21, 0.4), transparent 25%),
    linear-gradient(180deg, #f0fdf4 0%, #ffffff 48%, #f8fbff 100%);
  box-shadow: 0 26px 70px rgba(5, 46, 22, 0.2);
  padding: 1.15rem;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  color: #4d6f59;
  font-size: 0.82rem;
  font-weight: 900;
}

.app-card {
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(5, 46, 22, 0.1);
}

.campaign {
  min-height: 238px;
  margin-top: 2rem;
  padding: 1.3rem;
}

.app-card p,
.app-card h3,
.app-card span {
  margin: 0;
}

.app-card p {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-card h3 {
  margin-top: 0.55rem;
  color: var(--ink);
  font-size: 2.35rem;
  line-height: 0.96;
}

.app-card span {
  display: inline-flex;
  margin-top: 1.1rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--green-dark);
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 900;
}

.creator {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.9rem;
  padding: 0.9rem;
}

.creator .avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 18px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 950;
}

.creator h3 {
  font-size: 1.2rem;
  line-height: 1.1;
}

.creator span {
  margin-top: 0.45rem;
  padding: 0;
  background: transparent;
}

.swipe-actions {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 0.65rem;
  margin-top: 1rem;
}

.swipe-actions span,
.swipe-actions strong {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 950;
}

.swipe-actions span {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}

.swipe-actions strong {
  background: var(--green);
  color: #ffffff;
}

.preview-caption {
  margin: 0;
  padding: 1.25rem 1.45rem 1.55rem;
  color: #5b7284;
  font-size: 1rem;
  line-height: 1.65;
}

.content-card {
  width: min(820px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 40px rgba(5, 46, 22, 0.08);
  padding: clamp(1.45rem, 4vw, 2rem);
  text-align: center;
}

.overview-card {
  width: min(760px, 100%);
}

.section-block {
  padding: clamp(3.4rem, 8vw, 5.4rem) 0;
}

.section-block h2 {
  margin: 0 0 2rem;
  color: var(--ink);
  font-size: 2.25rem;
  line-height: 2.5rem;
  letter-spacing: 0;
}

.section-block p {
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.section-block p + p {
  margin-top: 1.1rem;
}

.process-card {
  text-align: left;
}

.steps {
  display: grid;
  gap: 1.25rem;
}

.steps div {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: center;
}

.steps span {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--green-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.steps p {
  font-size: 0.96rem;
  line-height: 1.7;
}

.flow-card {
  margin-top: 2rem;
  border: 1px solid #d8e5ed;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(5, 46, 22, 0.08);
  padding: clamp(1rem, 4vw, 1.35rem);
}

.flow-card > p {
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 950;
}

.flow-controls,
.flow-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.flow-controls button,
.flow-nav button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--green-dark);
  padding: 0.65rem 1rem;
  font-weight: 900;
}

.flow-controls button:first-child {
  background: var(--green);
  color: #ffffff;
}

.flow-slide {
  margin-top: 1rem;
  border: 1px dashed #c5d9e6;
  border-radius: 22px;
  background: #f6f9fb;
  padding: clamp(1rem, 4vw, 1.25rem);
}

.flow-slide span {
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 950;
}

.flow-slide h3 {
  margin: 0.55rem 0 0.65rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 6vw, 2.15rem);
  line-height: 1.05;
}

.flow-slide p {
  font-size: 1rem;
  line-height: 1.65;
}

.result-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
  width: min(820px, 100%);
}

.result-list article {
  display: grid;
  gap: 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 14px 34px rgba(5, 46, 22, 0.06);
}

.result-list span {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-list strong {
  color: var(--ink);
  font-size: 1.13rem;
  line-height: 1.25;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid #e8f0eb;
  padding: 2rem 0 3rem;
  color: #617385;
  font-size: 0.95rem;
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.2;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  margin-top: 0.45rem;
  line-height: 1.6;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.site-footer a {
  color: var(--green-dark);
  font-weight: 600;
}

@media (max-width: 760px) {
  .nav-shell {
    flex-direction: column;
    gap: 1.1rem;
    min-height: auto;
    padding: 0.9rem 0;
  }

  .nav-group {
    width: 100%;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
  }

  .nav-group a {
    color: var(--green);
    font-size: 1rem;
    font-weight: 400;
  }

  .brand {
    justify-self: auto;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .project-preview {
    border-radius: 16px;
  }

  .preview-heading::after {
    width: 2.4rem;
    height: 2.4rem;
  }

  .preview-device {
    min-height: 545px;
    padding: 1rem;
  }

  .phone-screen {
    min-height: 500px;
    border-width: 8px;
    border-radius: 38px;
  }

  .campaign {
    min-height: 210px;
  }

  .app-card h3 {
    font-size: 2rem;
  }
}

@media (max-width: 430px) {
  main,
  .nav-shell,
  .site-footer {
    width: min(100% - 24px, 920px);
  }

  .nav-group {
    width: 100%;
    justify-content: space-between;
  }

  .nav-group a {
    text-align: center;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .hero p,
  .section-block p {
    font-size: 1rem;
  }

  .steps div {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .preview-device {
    min-height: 500px;
  }

  .phone-screen {
    min-height: 470px;
    padding: 0.9rem;
  }

  .campaign {
    min-height: 190px;
  }

  .app-card h3 {
    font-size: 1.78rem;
  }

  .site-footer {
    display: block;
  }

  .site-footer nav {
    justify-content: flex-start;
    margin-top: 1rem;
  }
}
