:root {
  --bg: #fbf6f7;
  --surface: #ffffff;
  --surface-soft: #fff1ed;
  --ink: #2b2d3a;
  --muted: #656878;
  --line: #dddfe8;
  --brand: #ff5a4f;
  --brand-dark: #e43e35;
  --rose: #ffe5df;
  --yellow: #ffe9a8;
  --green: #78c268;
  --blue: #588de8;
  --violet: #a75fb2;
  --shadow: 0 18px 46px rgba(41, 44, 61, 0.1);
  --radius: 14px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 4% 8%, rgba(255, 209, 199, 0.8), transparent 28%),
    radial-gradient(circle at 96% 24%, rgba(255, 232, 218, 0.75), transparent 32%),
    linear-gradient(180deg, #fff7f7 0%, #f9f8fb 54%, #ffffff 100%);
  color: var(--ink);
  font-family: var(--font);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(221, 223, 232, 0.74);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  padding: 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #ff8b63);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.08em;
  box-shadow: 0 9px 20px rgba(255, 90, 79, 0.26);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: #343746;
  font-size: 13px;
  font-weight: 800;
}

.main-nav a,
.login-link {
  transition: color 140ms ease;
}

.main-nav a:hover,
.login-link:hover {
  color: var(--brand-dark);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
}

.signup-button,
.primary-cta,
.premium-button {
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(255, 90, 79, 0.22);
}

.signup-button {
  padding: 9px 15px;
}

.app-grid {
  width: 34px;
  height: 34px;
  display: grid;
  grid-template-columns: repeat(3, 4px);
  justify-content: center;
  align-content: center;
  gap: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.app-grid span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #363947;
}

.hero {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 74px 24px 38px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.primary-cta,
.secondary-cta,
.premium-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  padding: 0 18px;
}

.secondary-cta,
.outline-button {
  border: 1px solid #dadce6;
  background: #ffffff;
  color: #333746;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.paper-card {
  position: absolute;
  width: 148px;
  height: 188px;
  border: 1px solid rgba(221, 223, 232, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.paper-card::before,
.paper-card::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  height: 10px;
  border-radius: 999px;
  background: #eceef5;
}

.paper-card::before {
  top: 42px;
}

.paper-card::after {
  top: 66px;
  right: 50px;
}

.card-one {
  left: 7%;
  top: 70px;
  transform: rotate(-8deg);
}

.card-two {
  right: 8%;
  top: 88px;
  transform: rotate(7deg);
}

.card-three {
  left: 74%;
  bottom: 12px;
  transform: rotate(-12deg);
}

.tools-section,
.work-section,
.trust-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 70px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading h2,
.premium-copy h2,
.split-feature h2,
.trust-section h2 {
  margin: 0;
  color: #303341;
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.section-heading p,
.trust-section p,
.split-feature p,
.premium-copy li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

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

.tool-card,
.workflow-card,
.work-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(44, 47, 61, 0.06);
}

.tool-card {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 22px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.tool-card:hover {
  border-color: rgba(255, 90, 79, 0.4);
  box-shadow: 0 20px 42px rgba(44, 47, 61, 0.12);
  transform: translateY(-3px);
}

.tool-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.icon-red { background: #ff6b55; }
.icon-violet { background: #af64aa; }
.icon-green { background: #7fbd61; }
.icon-blue { background: #5f8bdc; }
.icon-yellow { background: #f2c84b; color: #493900; }
.icon-pink { background: #c46898; }
.icon-indigo { background: #6d6be8; }
.icon-orange { background: #ff825c; }
.icon-teal { background: #4aa7a4; }
.icon-slate { background: #4c5a73; }

.tool-card h3,
.workflow-card h3,
.work-card h3 {
  margin: 0;
  color: #2c2f3d;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.tool-card p,
.workflow-card p,
.work-card p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.workflow-card {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 100% 40%, rgba(255, 90, 79, 0.18), transparent 34%),
    linear-gradient(135deg, #fff6ef, #ffe0d8);
}

.workflow-card::after {
  content: "";
  position: absolute;
  right: -46px;
  top: 44px;
  width: 112px;
  height: 112px;
  border: 1px dashed rgba(255, 90, 79, 0.55);
  border-radius: 50%;
}

.mini-label {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 950;
  padding: 6px 10px;
}

.workflow-card a {
  width: fit-content;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
}

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

.work-card {
  min-height: 400px;
  overflow: hidden;
  padding: 18px;
}

.mockup {
  height: 190px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #ffe5df 0 32%, #ffffff 32% 100%);
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.browser-mockup {
  padding: 28px 20px;
}

.browser-mockup span {
  position: absolute;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b55;
}

.browser-mockup span:nth-child(1) { left: 18px; }
.browser-mockup span:nth-child(2) { left: 31px; background: #f5c14d; }
.browser-mockup span:nth-child(3) { left: 44px; background: #63bd6d; }

.mock-line,
.highlight-line {
  height: 12px;
  margin: 14px 0;
  border-radius: 999px;
  background: #dde2ee;
}

.mock-line.long {
  width: 82%;
}

.mock-line:not(.long) {
  width: 62%;
}

.highlight-line {
  width: 54%;
  background: #fff0a5;
}

.phone-mockup {
  display: grid;
  place-items: center;
}

.phone-screen {
  width: 104px;
  height: 158px;
  display: grid;
  align-content: center;
  gap: 12px;
  border: 8px solid #333746;
  border-radius: 25px;
  background: #ffffff;
  padding: 18px 14px;
}

.phone-screen div {
  height: 12px;
  border-radius: 999px;
  background: #dfe4f0;
}

.phone-screen div:nth-child(2) {
  background: #ffe6a4;
}

.export-mockup {
  display: grid;
  place-items: center;
}

.export-paper,
.export-panel {
  position: absolute;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(41, 44, 61, 0.12);
}

.export-paper {
  width: 108px;
  height: 138px;
  left: 42px;
  top: 34px;
}

.export-panel {
  width: 150px;
  height: 78px;
  right: 24px;
  bottom: 34px;
  background: #333746;
}

.work-card a {
  display: inline-flex;
  margin-top: 26px;
  color: #2d3140;
  font-size: 21px;
  font-weight: 800;
}

.work-card a::after {
  content: "->";
}

.premium-band {
  max-width: 1160px;
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 30px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 20%, rgba(255, 90, 79, 0.22), transparent 30%),
    linear-gradient(135deg, #fff4cf, #fff0c3 48%, #ffe2d6);
  margin: 38px auto 86px;
  padding: 54px 66px;
}

.premium-copy ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.premium-copy li {
  position: relative;
  padding-left: 26px;
}

.premium-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #1daf6c;
}

.premium-button {
  width: fit-content;
}

.premium-visual {
  position: relative;
  min-height: 220px;
}

.floating-doc {
  position: absolute;
  border: 1px solid rgba(221, 223, 232, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.floating-doc {
  width: 230px;
  min-height: 260px;
  right: 70px;
  top: -18px;
  padding: 24px;
}

.floating-doc span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.floating-doc strong {
  display: block;
  margin-top: 36px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.floating-doc p {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 850;
}

.split-feature {
  max-width: 1080px;
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  align-items: center;
  gap: 70px;
  margin: 0 auto;
  padding: 18px 24px 86px;
}

.quality-visual {
  position: relative;
  min-height: 250px;
}

.source-stack {
  position: absolute;
  width: 170px;
  height: 155px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dbe7ff, #ffffff);
  box-shadow: var(--shadow);
}

.stack-left {
  left: 0;
  top: 54px;
}

.stack-mid {
  left: 105px;
  top: 24px;
  background: linear-gradient(135deg, #ffe0d8, #ffffff);
}

.stack-right {
  left: 230px;
  top: 70px;
  background: linear-gradient(135deg, #ddf5e0, #ffffff);
}

.selection-box {
  position: absolute;
  left: 78px;
  top: 16px;
  width: 220px;
  height: 204px;
  border: 3px solid #4d86f7;
}

.selection-box::before,
.selection-box::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #4d86f7;
}

.selection-box::before {
  left: -6px;
  top: -6px;
}

.selection-box::after {
  right: -6px;
  bottom: -6px;
}

.split-feature p {
  max-width: 560px;
  margin: 18px 0 20px;
}

.trust-section {
  text-align: center;
  padding-bottom: 84px;
}

.trust-section p {
  max-width: 760px;
  margin: 15px auto 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 42px;
  color: #5d6274;
  font-size: 13px;
  font-weight: 900;
}

.trust-row span {
  border-top: 2px solid #d9dce6;
  padding-top: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 30px;
  background: #272833;
  color: #ffffff;
  padding: 54px 80px;
}

.site-footer strong {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.site-footer p {
  color: #b9bcc9;
  margin-top: 10px;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px;
  color: #e4e6ee;
  font-size: 13px;
  font-weight: 800;
}

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

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-band,
  .split-feature {
    grid-template-columns: 1fr;
  }

  .premium-band {
    margin-inline: 24px;
    padding: 44px;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
  }

  .login-link,
  .app-grid {
    display: none;
  }

  .hero {
    min-height: 390px;
    padding-top: 58px;
  }

  .paper-card {
    opacity: 0.36;
  }

  .tool-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .tools-section,
  .work-section,
  .trust-section {
    padding-inline: 14px;
  }

  .premium-band {
    margin-inline: 14px;
    padding: 32px 22px;
  }

  .split-feature {
    gap: 26px;
    padding-inline: 14px;
  }

  .quality-visual {
    transform: scale(0.82);
    transform-origin: left center;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }

  .site-footer nav {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
  }
}
