*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --snow-white: #f7fafc;
  --ink-blue: #14263d;
  --deep-ink: #0c1929;
  --sunrise-coral: #ff735e;
  --pine-green: #2e7258;
  --mist-blue: #dbe9f1;
  --ice-blue: #a8d8e8;
  --stone: #5a6978;
  --line: rgba(20, 38, 61, 0.14);
  --header-height: 76px;
  --shadow: 0 24px 70px rgba(12, 25, 41, 0.14);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink-blue);
  background:
    radial-gradient(circle at 12% 8%, rgba(168, 216, 232, 0.55), transparent 32rem),
    radial-gradient(circle at 88% 16%, rgba(255, 115, 94, 0.2), transparent 30rem),
    radial-gradient(circle at 72% 82%, rgba(46, 114, 88, 0.18), transparent 34rem),
    var(--snow-white);
  font-family: "Manrope", sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-family: "Sora", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.55rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1.25rem;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(247, 250, 252, 0.82);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(1180px, calc(100% - 2rem));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font: 700 0.78rem/1.05 "Sora", sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-header__brand img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(12, 25, 41, 0.18);
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.8rem);
}

.site-header__nav > a:not(.button) {
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.site-header__nav > a:not(.button):hover {
  color: var(--pine-green);
}

.site-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.site-header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink-blue);
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0.8rem 1.45rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--sunrise-coral);
  box-shadow: 0 10px 30px rgba(255, 115, 94, 0.3);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button::after {
  position: absolute;
  z-index: -1;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  content: "";
  opacity: 0;
  transform: scale(0);
  transition: transform 550ms ease, opacity 700ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 115, 94, 0.42);
}

.button:active::after,
.button.is-rippling::after {
  opacity: 1;
  transform: scale(260);
  transition: transform 450ms ease, opacity 80ms ease;
}

.button--small {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

.hero {
  min-height: 100vh;
  padding: calc(var(--header-height) + 5rem) max(1rem, calc((100vw - 1180px) / 2)) 6rem;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.hero__content {
  max-width: 610px;
}

.hero h1 em {
  color: var(--pine-green);
  font-style: normal;
}

.hero__lead {
  max-width: 600px;
  margin: 1.5rem 0 2rem;
  color: var(--stone);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.eyebrow {
  color: var(--sunrise-coral);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preview {
  position: relative;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.75);
  border-radius: 42px 42px 42px 8px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  transition: transform 220ms ease;
}

.preview:hover {
  transform: rotate(0) scale(1.015);
}

.preview img {
  width: 100%;
  aspect-ratio: 1052 / 592;
  object-fit: cover;
}

.preview__badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 25, 41, 0.86);
  font-weight: 800;
  font-size: 0.85rem;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0;
}

.section--tint {
  width: 100%;
  padding-inline: max(1rem, calc((100vw - 1180px) / 2));
  background: rgba(219, 233, 241, 0.48);
}

.section__heading {
  max-width: 700px;
  margin-bottom: 4rem;
}

.feature-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card,
.steps article {
  min-width: 0;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px 26px 26px 7px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 50px rgba(20, 38, 61, 0.08);
}

.feature-card > span,
.steps span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 1.5rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--pine-green);
  font-weight: 800;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1rem;
}

.gallery a {
  min-width: 0;
  overflow: hidden;
  border-radius: 24px 24px 24px 6px;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 280ms ease;
}

.gallery a:hover img {
  transform: scale(1.04);
}

.faq {
  max-width: 860px;
}

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

.faq__question {
  width: 100%;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  color: var(--ink-blue);
  background: transparent;
  cursor: pointer;
  font: 700 1.05rem "Sora", sans-serif;
  text-align: left;
}

.faq__question span {
  color: var(--sunrise-coral);
  font-size: 1.5rem;
  transition: transform 180ms ease;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  color: var(--stone);
  transition: max-height 240ms ease;
}

.faq__item--open .faq__answer {
  max-height: 180px;
}

.faq__item--open .faq__question span {
  transform: rotate(45deg);
}

.cta {
  width: min(1180px, calc(100% - 2rem));
  margin: 2rem auto 7rem;
  padding: clamp(2.25rem, 6vw, 5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border-radius: 38px 38px 38px 8px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 115, 94, 0.55), transparent 18rem),
    radial-gradient(circle at 15% 90%, rgba(168, 216, 232, 0.2), transparent 22rem),
    var(--ink-blue);
}

.cta .eyebrow {
  color: var(--ice-blue);
}

.cta p:last-child {
  margin-bottom: 0;
}

.page-hero {
  padding: calc(var(--header-height) + 6rem) max(1rem, calc((100vw - 900px) / 2)) 5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.page-hero > p:last-child {
  max-width: 720px;
  margin: 1.25rem auto 0;
  color: var(--stone);
  font-size: 1.15rem;
}

.prose {
  width: min(820px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 7rem;
}

.prose h2 {
  margin-top: 3.2rem;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.prose h3 {
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: #415363;
}

.prose li {
  margin-bottom: 0.65rem;
}

.inline-actions {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.text-link {
  color: var(--pine-green);
  font-weight: 800;
}

.steps {
  margin: 2rem 0 4rem;
}

.steps article {
  padding: 1.4rem;
}

.legal h2 {
  font-size: 1.55rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 28px 28px 28px 7px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.blog-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card__body {
  padding: 1.5rem;
}

.blog-card__body h2 {
  margin-top: 0.75rem;
  font-size: 1.45rem;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--pine-green);
  background: rgba(46, 114, 88, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-card__meta,
.article__meta {
  margin: 1rem 0 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--stone);
  font-size: 0.82rem;
}

.contact {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 7rem;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 7vw, 6rem);
}

.contact__details a {
  color: var(--pine-green);
  overflow-wrap: anywhere;
}

.form {
  padding: 2rem;
  display: grid;
  border-radius: 28px 28px 28px 7px;
  background: #fff;
  box-shadow: var(--shadow);
}

.form label {
  margin: 0.8rem 0 0.35rem;
  font-weight: 800;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-blue);
  background: var(--snow-white);
}

.form input:focus,
.form textarea:focus {
  outline: 3px solid rgba(168, 216, 232, 0.6);
  border-color: var(--pine-green);
}

.form .button {
  margin-top: 1.4rem;
}

.form__status {
  min-height: 1.7em;
  margin: 1rem 0 0;
  color: var(--pine-green);
  font-weight: 700;
}

.form__status--error {
  color: #a53131;
}

.article {
  width: min(940px, calc(100% - 2rem));
  margin: 0 auto;
  padding: calc(var(--header-height) + 5rem) 0 7rem;
}

.article__header {
  text-align: center;
}

.article__header h1 {
  max-width: 850px;
  margin: 1rem auto;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.article__meta {
  justify-content: center;
}

.article__header > img {
  width: 100%;
  margin-top: 2.5rem;
  border-radius: 36px 36px 36px 8px;
  box-shadow: var(--shadow);
}

.article__content {
  width: min(720px, 100%);
  margin: 4rem auto 0;
}

.article__intro {
  color: var(--ink-blue);
  font-size: 1.25rem;
  font-weight: 600;
}

.article__content section {
  margin-top: 3rem;
}

.article__content h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.article__content section p {
  color: #415363;
}

.article__cta {
  margin-top: 4rem;
  padding: 2.5rem;
  border-radius: 26px 26px 26px 7px;
  background: var(--mist-blue);
}

.article__cta h2 {
  font-size: 1.7rem;
}

.article__nav {
  margin-top: 4rem;
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.article__nav a {
  color: var(--pine-green);
  font-weight: 800;
}

.article__nav a:last-child {
  text-align: right;
}

.site-footer {
  padding: 5rem max(1rem, calc((100vw - 1180px) / 2)) 2rem;
  color: rgba(255, 255, 255, 0.72);
  background: var(--deep-ink);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.site-footer__grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer__brand,
.site-footer h2 {
  margin-bottom: 1rem;
  color: #fff;
  font: 700 1rem "Sora", sans-serif;
  text-decoration: none;
}

.site-footer__grid a:not(.site-footer__brand) {
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.site-footer__grid a:hover {
  color: var(--ice-blue);
}

.site-footer__bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.site-footer__bottom p {
  margin: 0;
}

.cookie {
  position: fixed;
  z-index: 120;
  right: 1rem;
  bottom: 1rem;
  width: min(390px, calc(100% - 2rem));
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px 20px 20px 5px;
  color: #fff;
  background: rgba(12, 25, 41, 0.96);
  box-shadow: var(--shadow);
}

.cookie p {
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
}

.cookie a {
  color: var(--ice-blue);
}

@media (max-width: 900px) {
  .site-header__toggle {
    display: block;
  }

  .site-header__nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 250, 252, 0.98);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .site-header__nav--open {
    transform: translateY(0);
  }

  .site-header__nav a {
    padding: 0.65rem;
    text-align: center;
  }

  .site-header__toggle--open span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header__toggle--open span:nth-child(2) {
    opacity: 0;
  }

  .site-header__toggle--open span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 5rem);
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    margin: auto;
  }

  .feature-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery a:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .section {
    padding-block: 5rem;
  }

  .section__heading {
    margin-bottom: 3rem;
  }

  .steps,
  .contact,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery a:first-child {
    grid-column: auto;
  }

  .gallery img {
    min-height: 0;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .article__nav {
    grid-template-columns: 1fr;
  }

  .article__nav a,
  .article__nav a:last-child {
    text-align: center;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .site-header__inner {
    width: calc(100% - 1rem);
  }

  .site-header__brand img {
    width: 40px;
    height: 40px;
  }

  .hero,
  .page-hero {
    padding-inline: 1rem;
  }

  .feature-card,
  .form,
  .article__cta {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
