/* =========================================================
   Tessivar — shared site styles
   ---------------------------------------------------------
   1. Tokens & base
   2. Header & navigation
   3. Buttons
   4. Home hero (digital ocean)
   5. Inner-page header band
   6. Sections & shared components
   7. Footer
   8. Legal pages
   9. Responsive & motion
   ========================================================= */


/* ---------- 1. Tokens & base ---------- */

:root {
  --navy: #071426;
  --navy-2: #0b1e36;
  --blue: #2563eb;
  --blue-bright: #3b82f6;
  --blue-mid: #5f93df;
  --blue-soft: #dbeafe;
  --ice: #f4f8fc;
  --white: #ffffff;
  --ink: #0c1728;
  --body: #516075;
  --muted: #64748b;
  --line: #dbe3ec;

  --wrap: 1180px;
  --gutter: 48px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(var(--wrap), calc(100% - var(--gutter)));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  font-size: 0.9rem;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}


/* ---------- 2. Header & navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(219, 227, 236, 0.82);
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 720;
  letter-spacing: -0.03em;
  font-size: 1.18rem;
}

.mark {
  width: 32px;
  height: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
}

.mark span {
  background: var(--blue);
  border-radius: 2px;
}

.mark span:nth-child(1),
.mark span:nth-child(5),
.mark span:nth-child(9) {
  background: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.93rem;
  color: #344155;
}

.nav-links a {
  position: relative;
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--blue);
}

.nav-links .button {
  margin-left: 6px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.nav-links .button[aria-current="page"]::after {
  display: none;
}

.nav-links .button[aria-current="page"],
.nav-links .button:hover {
  color: white;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}


/* ---------- 3. Buttons ---------- */

.button {
  display: inline-block;
  padding: 13px 19px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.3;
  border: 1px solid var(--navy);
  transition: 160ms ease;
}

.button.primary {
  background: var(--navy);
  color: white;
}

.button.primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.button.secondary:hover {
  background: var(--ice);
}

.button.light {
  background: white;
  color: var(--navy);
  border-color: white;
}

.button.light:hover {
  background: var(--blue-soft);
  border-color: var(--blue-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  color: var(--blue);
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}


/* ---------- 4. Home hero (digital ocean) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 660px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  background:
    radial-gradient(circle at 80% 18%, rgba(59, 130, 246, 0.20), transparent 30%),
    radial-gradient(circle at 54% 52%, rgba(37, 99, 235, 0.12), transparent 40%),
    linear-gradient(180deg, #f5f9ff 0%, #f3f8ff 24%, #edf5ff 58%, #e8f1fc 100%);
}

/* Atmospheric volume behind the grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 72% 46%, rgba(59, 130, 246, 0.15), transparent 36%),
    radial-gradient(ellipse at 90% 76%, rgba(37, 99, 235, 0.10), transparent 34%);
  filter: blur(5px);
  animation: atmosphereDrift 17s ease-in-out infinite alternate;
}

/* Gentle depth fade toward the bottom */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 39%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(240, 246, 254, 0.08) 30%,
    rgba(234, 242, 252, 0.34) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 7;
  width: min(var(--wrap), calc(100% - var(--gutter)));
  margin: 0 auto;
  padding: 64px 0 120px;
  display: flex;
  align-items: flex-start;
}

.hero-copy {
  max-width: 760px;
  position: relative;
  z-index: 8;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--blue);
}

.headline-stage {
  position: relative;
  width: min(760px, 100%);
  min-height: 210px;
  display: grid;
  align-items: start;
}

.headline-stage::after {
  content: "";
  position: absolute;
  left: -50px;
  bottom: 22px;
  width: 560px;
  height: 120px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 42% 58%,
    rgba(59, 130, 246, 0.13) 0%,
    rgba(59, 130, 246, 0.05) 42%,
    transparent 72%
  );
  filter: blur(22px);
  opacity: 0.72;
}

.hero-headline {
  grid-area: 1 / 1;
  max-width: 760px;
  font-size: clamp(3.35rem, 6.45vw, 6.05rem);
  line-height: 0.98;
  letter-spacing: -0.064em;
  font-weight: 690;

  opacity: 0;
  transform: translate3d(0, 46px, 0) scale(0.985);
  filter: blur(12px);
  clip-path: inset(100% 0 0 0);

  transition:
    opacity 900ms ease,
    transform 1150ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1050ms ease,
    clip-path 1150ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-headline.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  clip-path: inset(0 0 0 0);
}

.hero-headline.is-leaving {
  opacity: 0;
  transform: translate3d(0, -24px, 0) scale(0.995);
  filter: blur(8px);
  clip-path: inset(0 0 58% 0);
}

.hero-lede {
  max-width: 650px;
  margin-top: 24px;
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--body);
  text-wrap: balance;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* The canvas and its soft light layers */
.ocean-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.ocean-layer canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.horizon-haze {
  position: absolute;
  left: 0;
  right: 0;
  top: 17%;
  height: 250px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(182, 211, 248, 0.10) 34%,
    rgba(177, 207, 247, 0.16) 53%,
    rgba(228, 238, 251, 0.08) 74%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(15px);
  opacity: 0.92;
}

.focus-glow {
  position: absolute;
  z-index: 3;
  width: 700px;
  height: 350px;
  right: 5%;
  top: 26%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(59, 130, 246, 0.17) 0%,
    rgba(59, 130, 246, 0.065) 40%,
    transparent 72%
  );
  filter: blur(28px);
  animation: focusBreathe 11s ease-in-out infinite alternate;
}

.emergence-glow {
  position: absolute;
  z-index: 4;
  left: max(0px, calc((100vw - var(--wrap)) / 2 - 80px));
  top: 19%;
  width: 720px;
  height: 390px;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 38% 52%,
    rgba(66, 127, 216, 0.13) 0%,
    rgba(66, 127, 216, 0.05) 36%,
    transparent 70%
  );
  filter: blur(24px);
  opacity: 0.74;
  animation: emergenceBreathe 9.5s ease-in-out infinite alternate;
}

@keyframes atmosphereDrift {
  from { transform: translate3d(-8px, 0, 0) scale(0.99); opacity: 0.82; }
  to   { transform: translate3d(18px, 10px, 0) scale(1.04); opacity: 1; }
}

@keyframes focusBreathe {
  from { transform: translate3d(-10px, 4px, 0) scale(0.96); opacity: 0.58; }
  to   { transform: translate3d(12px, -6px, 0) scale(1.05); opacity: 0.92; }
}

@keyframes emergenceBreathe {
  from { transform: translate3d(-9px, 8px, 0) scale(0.96); opacity: 0.58; }
  to   { transform: translate3d(10px, -9px, 0) scale(1.045); opacity: 0.82; }
}


/* ---------- 5. Inner-page header band ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(59, 130, 246, 0.14), transparent 34%),
    linear-gradient(180deg, #f5f9ff 0%, #eef5fe 100%);
  border-bottom: 1px solid var(--line);
}

/* The still grid sits quietly on the right, fading out toward the text. */
.page-hero .ocean-layer {
  opacity: 0.62;
  -webkit-mask-image: linear-gradient(90deg, transparent 18%, black 62%);
  mask-image: linear-gradient(90deg, transparent 18%, black 62%);
}

.page-hero-inner {
  position: relative;
  z-index: 5;
  padding: 76px 0 72px;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 680;
}

.page-hero .lede {
  max-width: 660px;
  margin-top: 22px;
  font-size: 1.14rem;
  line-height: 1.7;
  color: var(--body);
}

.page-hero .hero-actions {
  margin-top: 30px;
}


/* ---------- 6. Sections & shared components ---------- */

.section {
  padding: 104px 0;
}

.section.tight {
  padding: 80px 0;
}

.section.ice {
  background: var(--ice);
}

.section.dark {
  background: linear-gradient(180deg, #071426 0%, #08172a 100%);
  color: white;
}

.section-label {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.dark .section-label {
  color: #78aefb;
}

.section-title {
  max-width: 780px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 650;
}

.section-title.small {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.section-intro {
  max-width: 710px;
  margin-top: 22px;
  font-size: 1.08rem;
  color: var(--muted);
}

.dark .section-intro {
  color: #aebed1;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.prose {
  max-width: 720px;
  font-size: 1.1rem;
  color: #4d5c70;
}

.prose p + p {
  margin-top: 20px;
}

/* Dark numbered panels (research areas) */
.panel-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #29405d;
  border: 1px solid #29405d;
}

.panel {
  min-height: 290px;
  padding: 38px;
  background: var(--navy);
  transition: 200ms ease;
}

.panel:hover {
  background: var(--navy-2);
}

.panel-number {
  color: #78aefb;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.panel h3 {
  margin-top: 56px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  font-weight: 620;
}

.panel p {
  margin-top: 14px;
  color: #9fb0c4;
  max-width: 480px;
}

/* Light offer cards (Evaluation / Systems / Research) */
.card-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a.card:hover {
  border-color: #b9cdea;
  box-shadow: 0 18px 40px -24px rgba(12, 23, 40, 0.28);
  transform: translateY(-2px);
}

.card-kicker {
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.card h3 {
  margin-top: 18px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  font-weight: 640;
}

.card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.98rem;
}

.card ul {
  margin-top: 18px;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  color: #344155;
}

.card li {
  padding-left: 18px;
  position: relative;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 1px;
  background: var(--blue);
}

.card .text-link {
  margin-top: auto;
  padding-top: 26px;
}

/* Rule-topped columns */
.rule-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rule-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.rule-item {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.rule-item h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.rule-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Numbered process steps */
.steps {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  list-style: none;
}

.steps li {
  counter-increment: step;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 18px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.steps h3 {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.steps p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Two-column definition list (deliverables, company details) */
.details {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  border-top: 1px solid var(--line);
}

.details dt,
.details dd {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.details dt {
  font-weight: 650;
  font-size: 0.95rem;
}

.details dd {
  color: var(--body);
}

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

/* Closing call-to-action band */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.28), transparent 40%),
    linear-gradient(135deg, #071426 0%, #0b2140 100%);
  color: white;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band h2 {
  max-width: 640px;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 650;
}

.cta-band p {
  margin-top: 14px;
  max-width: 560px;
  color: #aebed1;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-band .button.secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-band .button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Highlighted contact box */
.contact-box {
  margin-top: 48px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-box .email {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  font-weight: 650;
  color: var(--ink);
}

.contact-box .email:hover {
  color: var(--blue);
}

.contact-box small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}


/* ---------- 7. Footer ---------- */

.site-footer {
  padding: 72px 0 40px;
  background: #030b16;
  color: #9cacbe;
  font-size: 0.93rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.footer-brand .mark span:nth-child(1),
.footer-brand .mark span:nth-child(5),
.footer-brand .mark span:nth-child(9) {
  background: #3a5374;
}

.footer-about {
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.65;
}

.footer-col h4 {
  margin-bottom: 14px;
  color: white;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-col a:hover,
.footer-bottom a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #16243a;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}


/* ---------- 8. Legal pages ---------- */

.legal {
  max-width: 760px;
  color: #3c4a5d;
}

.legal .updated {
  margin-bottom: 36px;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal h2 {
  margin-top: 44px;
  margin-bottom: 12px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal p,
.legal li {
  font-size: 1rem;
  line-height: 1.75;
}

.legal p + p {
  margin-top: 14px;
}

.legal ul {
  margin: 12px 0 0 20px;
  display: grid;
  gap: 6px;
}

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


/* ---------- 9. Responsive & motion ---------- */

@media (max-width: 1000px) {
  .rule-grid.four,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 850px) {
  :root {
    --gutter: 32px;
    --header-h: 68px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    padding: 12px 16px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(12, 23, 40, 0.25);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 14px 4px;
    border-bottom: 1px solid #eef2f6;
    font-size: 1rem;
  }

  .nav-links a[aria-current="page"]::after {
    display: none;
  }

  .nav-links .button {
    margin: 16px 0 0;
    text-align: center;
    border-bottom: 1px solid var(--navy);
  }

  .hero {
    min-height: 670px;
  }

  .hero-inner {
    padding: 44px 0 140px;
  }

  .headline-stage {
    min-height: 190px;
  }

  .hero-headline {
    font-size: clamp(3rem, 13vw, 4.7rem);
  }

  .horizon-haze {
    top: 23%;
  }

  .focus-glow {
    width: 430px;
    height: 230px;
    right: -120px;
    top: 40%;
  }

  .emergence-glow {
    left: -110px;
    top: 28%;
    width: 560px;
    height: 340px;
  }

  .page-hero-inner {
    padding: 56px 0 52px;
  }

  .page-hero .ocean-layer {
    opacity: 0.42;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .section {
    padding: 80px 0;
  }

  .split,
  .panel-grid,
  .card-grid,
  .card-grid.two,
  .rule-grid {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 28px;
  }

  .panel {
    min-height: 235px;
  }

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

  .details dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .details dd {
    padding-top: 4px;
  }

  .contact-box {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .rule-grid.four,
  .steps,
  .footer-top {
    grid-template-columns: 1fr;
  }
}

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

  .hero-headline {
    display: none;
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
  }

  .hero-headline:first-child {
    display: block;
  }
}
