@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --bg: #f6f9fc;
  --bg-soft: #eef4fb;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --line: rgba(26, 62, 106, 0.12);
  --line-strong: rgba(44, 107, 182, 0.22);
  --text: #18314f;
  --text-soft: #617897;
  --title: #10243b;
  --blue: #2d6dc0;
  --blue-strong: #1f5aaa;
  --blue-soft: #e8f1fc;
  --accent: #c98a44;
  --shadow: 0 28px 70px rgba(24, 49, 79, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(54, 124, 214, 0.12), transparent 26%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
}

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

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(246, 249, 252, 0.9);
  border-bottom: 1px solid rgba(26, 62, 106, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

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

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(24, 49, 79, 0.1);
}

.brand-name {
  display: block;
  margin: 0;
  color: var(--title);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-slogan {
  display: block;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  color: var(--title);
  background: rgba(45, 109, 192, 0.08);
  outline: none;
}

.hero {
  position: relative;
  overflow: clip;
  min-height: 0;
  padding: 26px 0 18px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 253, 255, 0.98) 0%, rgba(251, 253, 255, 0.94) 42%, rgba(251, 253, 255, 0.5) 60%, rgba(251, 253, 255, 0.16) 100%),
    radial-gradient(circle at 78% 24%, rgba(64, 139, 228, 0.12), transparent 22%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
  align-items: center;
  gap: 52px;
}

.hero-copy {
  max-width: 500px;
  padding: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #dbe7fb;
  color: var(--blue-strong);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title {
  display: grid;
  gap: 2px;
  margin-top: 28px;
  color: var(--title);
  font-size: clamp(2.45rem, 5.3vw, 4.7rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.08em;
  max-width: 11.5ch;
}

.hero-title span {
  display: block;
}

.hero-emphasis {
  color: #1d57dd;
}

.hero-copy p,
.section-intro p,
.plan-copy p,
.faq-copy p,
.support-cta p,
.footer-note,
.legal-grid p,
.legal-grid li {
  color: var(--text-soft);
  line-height: 1.72;
}

.hero-copy p {
  margin: 22px 0 0;
  font-size: 1rem;
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.download-button {
  gap: 10px;
}

.download-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.download-button-icon svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #3f82d7 0%, #2d6dc0 100%);
  box-shadow: 0 14px 30px rgba(45, 109, 192, 0.2);
}

.button-secondary {
  color: var(--title);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(26, 62, 106, 0.12);
}

.button-primary:hover,
.button-secondary:hover,
.button-link:hover,
.button-primary:focus-visible,
.button-secondary:focus-visible,
.button-link:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.is-disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: 0.78;
  transform: none;
  box-shadow: none;
}

.button-link.is-disabled,
.button-link[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.78;
  transform: none;
  box-shadow: none;
}

.support-cta p a,
.legal-grid a,
.footer-note a,
.faq-list a {
  color: var(--blue-strong);
}

.support-cta p a:hover,
.legal-grid a:hover,
.footer-note a:hover,
.faq-list a:hover {
  text-decoration: underline;
}

.hero-media {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  right: 0;
  top: 7%;
  width: min(690px, 88%);
  height: 68%;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(232, 241, 252, 0.8), rgba(255, 255, 255, 0.42));
  border: 1px solid rgba(45, 109, 192, 0.12);
  filter: blur(0.4px);
}

.shot-wrap {
  position: relative;
  right: auto;
  top: auto;
  width: min(660px, 100%);
  padding: 12px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
  transform: translateY(0);
  animation: hero-float 7.5s ease-in-out infinite;
}

.shot-frame {
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(26, 62, 106, 0.08);
  background: var(--surface-strong);
}

.shot-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.section {
  padding: 92px 0 0;
}

.section-first {
  padding-top: 28px;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-intro h2,
.plan-copy h2,
.faq-copy h2,
.support-cta h2,
.page-hero h1 {
  color: var(--title);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-intro h2,
.plan-copy h2,
.faq-copy h2,
.support-cta h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
}

.section-intro p,
.plan-copy p,
.faq-copy p,
.support-cta p {
  margin: 14px 0 0;
}

.kicker {
  margin: 0 0 12px;
  color: var(--blue-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 280px repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72));
}

.plan-copy {
  padding: 26px 20px 26px 28px;
}

.plan {
  display: flex;
  flex-direction: column;
  min-height: 480px;
  padding: 26px 22px 24px;
  border-left: 1px solid var(--line);
}

.plan.recommended {
  background: linear-gradient(180deg, rgba(232, 241, 252, 0.82), rgba(248, 251, 255, 0.78));
}

.plan-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan h3 {
  margin-top: 18px;
  color: var(--title);
  font-size: 1.46rem;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.plan h3 span {
  display: block;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  color: var(--title);
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.price span {
  color: var(--text-soft);
  font-size: 1rem;
  letter-spacing: 0;
}

.plan ul,
.faq-list,
.legal-grid ul,
.footer-links ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.plan li,
.legal-grid li {
  position: relative;
  padding-left: 18px;
}

.plan li+li,
.legal-grid li+li {
  margin-top: 12px;
}

.plan li::before,
.legal-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(45, 109, 192, 0.46);
}

.plan p,
.plan li {
  color: var(--text-soft);
  line-height: 1.68;
}

.plan-action {
  margin-top: auto;
  padding-top: 26px;
  display: grid;
  grid-template-rows: auto 32px;
  align-content: end;
}

.plan-action .button {
  width: 100%;
}

.plan-action .button-link {
  width: 100%;
}

.faq-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  list-style: none;
  color: var(--title);
  font-size: 1.04rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--blue-strong);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 0 22px;
  color: var(--text-soft);
  line-height: 1.72;
}

.support-cta {
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.price-meta {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.5;
}

.plan-subnote {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.5;
  min-height: 22px;
}

.page-main {
  padding: 42px 0 72px;
}

.page-hero {
  padding: 26px 0 34px;
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 28px;
  padding-top: 28px;
}

.legal-grid.legal-grid-single {
  grid-template-columns: 1fr;
  max-width: 860px;
}

.legal-grid article {
  padding-right: 12px;
}

.legal-grid h2,
.legal-grid h3 {
  color: var(--title);
  font-size: 1.28rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.legal-grid p,
.legal-grid ul {
  margin-top: 14px;
}

.policy-prose h2 {
  margin-top: 30px;
}

.policy-prose p {
  margin-top: 14px;
}

.footer {
  margin-top: 88px;
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: start;
}

.footer-left {
  max-width: 520px;
}

.version {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.footer-note {
  margin-top: 10px;
  font-size: 0.94rem;
}

.footer-meta {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.92rem;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--title);
  background: rgba(45, 109, 192, 0.06);
  border-color: var(--line-strong);
  outline: none;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 20px 36px;
}

.footer-links h3 {
  color: var(--title);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links li+li {
  margin-top: 10px;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--title);
  outline: none;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1180px) {
  .pricing-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-copy {
    grid-column: 1 / -1;
    padding-right: 28px;
    border-bottom: 1px solid var(--line);
  }

  .plan:nth-child(2) {
    border-left: 0;
  }
}

@media (max-width: 980px) {
  .hero {
    padding-bottom: 24px;
  }

  .hero-grid,
  .section-header,
  .faq-layout,
  .footer-inner,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 0;
    margin-top: 10px;
  }

  .shot-wrap {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    animation: none;
  }

  .hero-media::before {
    display: none;
  }

  .footer-links {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

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

  .hero-title {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    max-width: 12ch;
  }

  .hero-actions .button,
  .hero-actions .button-link,
  .support-actions .button-link {
    width: 100%;
  }

  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .plan {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .plan-copy {
    border-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
