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

:root {
  --navy: #0b1d35;
  --navy-light: #17304f;
  --orange: #f26522;
  --orange-dark: #d85217;
  --ink: #18293a;
  --body: #53677b;
  --muted: #7d90a4;
  --line: #dce3e9;
  --paper: #f7f5f0;
  --white: #ffffff;
  --green: #167c4a;

  --shadow:
    0 24px 65px rgba(11, 29, 53, 0.14);

  --max-width: 1160px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: "Sora", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

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

.container {
  width: min(
    var(--max-width),
    calc(100% - 40px)
  );

  margin-inline: auto;
}

/* Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;

  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.navigation {
  min-height: 74px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: auto;
  height: 45px;
  max-width: 240px;
}

.navigation-links {
  display: flex;
  align-items: center;
  gap: 25px;

  color: var(--body);
  font-size: 0.88rem;
  font-weight: 600;
}

.navigation-links a:not(.button):hover {
  color: var(--navy);
}

/* Buttons */

.button {
  min-height: 50px;
  padding: 0 23px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 8px;

  box-shadow:
    0 10px 25px rgba(242, 101, 34, 0.22);

  color: var(--white);
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;

  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
}

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 0.78rem;
}

.button-secondary {
  background: var(--white);
  border-color: var(--line);
  box-shadow: none;
  color: var(--navy);
}

.button-secondary:hover {
  background: var(--paper);
  border-color: var(--navy);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;

  padding: 100px 0 94px;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfaf7 100%
    );

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

.hero::after {
  content: "";

  position: absolute;
  width: 520px;
  height: 520px;

  top: -245px;
  right: -180px;

  border: 85px solid rgba(242, 101, 34, 0.045);
  transform: rotate(18deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns:
    minmax(0, 1.02fr)
    minmax(420px, 0.98fr);

  align-items: center;
  gap: 72px;
}

.eyebrow {
  color: var(--orange);
  font-family: "Sora", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 18px 0 24px;

  font-size: clamp(
    2.55rem,
    5vw,
    4.65rem
  );
}

.hero h1 span {
  display: block;
  color: var(--orange);
}

.hero-description {
  max-width: 650px;

  color: var(--body);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin: 31px 0 20px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 20px;

  color: var(--muted);
  font-size: 0.81rem;
}

.hero-points span::before {
  content: "✓";

  margin-right: 7px;

  color: var(--green);
  font-weight: 800;
}

/* Enquiry journey card */

.journey-card {
  overflow: hidden;

  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.journey-header {
  padding: 22px 23px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;

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

.journey-label {
  margin-bottom: 5px;

  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-header h2 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.journey-status {
  flex-shrink: 0;

  padding: 6px 9px;

  background: #eaf6ef;
  border-radius: 999px;

  color: var(--green);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.journey-steps {
  list-style: none;
}

.journey-steps li {
  padding: 18px 22px;

  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  gap: 13px;

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

.step-number {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  background: var(--paper);
  border-radius: 8px;

  color: var(--orange);
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.journey-steps strong {
  display: block;
  margin-bottom: 3px;

  color: var(--navy);
  font-size: 0.86rem;
}

.journey-steps p {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.journey-footer {
  padding: 15px 22px;

  background: var(--navy);

  color: rgba(255, 255, 255, 0.7);
  font-size: 0.73rem;
}

/* Beginning of the PAS section */

.problem-introduction {
  padding: 92px 0;
  background: var(--white);
}

.problem-introduction-inner {
  max-width: 780px;
}

.problem-introduction h2 {
  margin: 13px 0 17px;

  font-size: clamp(
    2rem,
    3.5vw,
    3.1rem
  );
}

.problem-introduction p:last-child {
  max-width: 700px;

  color: var(--body);
  font-size: 1.05rem;
}

/* Tablet */

@media (max-width: 960px) {
  .hero {
    padding-top: 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .journey-card {
    max-width: 650px;
  }

  .desktop-link {
    display: none;
  }
}

/* Mobile */

@media (max-width: 650px) {
  .container {
    width: min(
      calc(100% - 28px),
      var(--max-width)
    );
  }

  .navigation {
    min-height: 64px;
    gap: 9px;
  }

  .brand img {
    height: 34px;
    max-width: 165px;
  }

  .navigation-links {
    gap: 7px;
  }

  .login-link {
    display: none;
  }

  .button-small {
    min-height: 38px;
    padding-inline: 11px;
    font-size: 0.69rem;
  }

  .hero {
    padding: 61px 0 66px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .hero-points {
    display: grid;
    gap: 7px;
  }

  .journey-header {
    display: block;
  }

  .journey-status {
    display: inline-flex;
    margin-top: 12px;
  }

  .journey-steps li {
    padding-inline: 17px;
  }

  .problem-introduction {
    padding: 70px 0;
  }
}