:root {
  --background: #fff7f7;
  --surface: #ffffff;

  --navy: #0e1b2b;
  --red: #ef2028;
  --muted: #6f7782;

  --soft-red: #fff1f1;
  --border: #eceff2;

  --shadow:
          0 10px 30px rgba(14, 27, 43, 0.08);

  --shadow-soft:
          0 4px 18px rgba(14, 27, 43, 0.06);

  --max: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
          Inter,
          ui-sans-serif,
          system-ui,
          -apple-system,
          BlinkMacSystemFont,
          "Segoe UI",
          sans-serif;

  background: var(--background);
  color: var(--navy);

  line-height: 1.7;
}

/* ------------------------------
   General
------------------------------ */

a {
  color: var(--red);
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

/* ------------------------------
   Header
------------------------------ */

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

  background: rgba(255, 247, 247, 0.88);

  border-bottom: 1px solid rgba(14, 27, 43, 0.06);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 86px;

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

  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;

  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;

  object-fit: contain;

  border-radius: 14px;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;

  letter-spacing: -0.03em;

  color: var(--navy);
}

.brand-name .accent {
  color: var(--red);
}

/* ------------------------------
   Navigation
------------------------------ */

nav {
  display: flex;
  align-items: center;
  gap: 6px;

  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  padding: 10px 14px;

  border-radius: 14px;

  text-decoration: none;

  color: var(--muted);

  font-size: 0.93rem;
  font-weight: 700;

  transition:
          background 0.15s ease,
          color 0.15s ease,
          transform 0.15s ease;
}

nav a:hover {
  color: var(--navy);
  background: #ffffff;

  transform: translateY(-1px);
}

nav a[aria-current="page"] {
  color: var(--red);

  background: var(--soft-red);
}

/* ------------------------------
   Main
------------------------------ */

main {
  padding: 56px 0 90px;
}

/* ------------------------------
   Hero / page heading
------------------------------ */

.page-intro {
  text-align: center;

  max-width: 760px;

  margin: 0 auto 34px;
}

.page-logo {
  width: 92px;
  height: 92px;

  object-fit: contain;

  margin-bottom: 12px;
}

.eyebrow {
  display: inline-block;

  margin-bottom: 8px;

  color: var(--red);

  font-size: 0.78rem;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 0.13em;
}

h1 {
  margin: 0;

  color: var(--navy);

  font-size: clamp(2.25rem, 6vw, 4.3rem);
  line-height: 1.08;

  letter-spacing: -0.045em;

  font-weight: 800;
}

.page-intro p {
  max-width: 650px;

  margin: 16px auto 0;

  color: var(--muted);

  font-size: 1rem;
}

/* ------------------------------
   Legal content
------------------------------ */

.content {
  background: var(--surface);

  border: 1px solid var(--border);

  border-radius: 28px;

  padding: clamp(26px, 5vw, 52px);

  box-shadow: var(--shadow);
}

.content h2 {
  margin-top: 2.6rem;
  margin-bottom: 0.9rem;

  color: var(--navy);

  font-size: clamp(1.3rem, 3vw, 1.65rem);
  line-height: 1.3;

  font-weight: 800;

  letter-spacing: -0.02em;
}

.content h2:first-of-type {
  margin-top: 0;
}

.content h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;

  color: var(--navy);

  font-size: 1.05rem;

  font-weight: 800;
}

.content p,
.content li {
  color: #384454;

  font-size: 1rem;
}

.content p {
  margin-top: 0.7rem;
  margin-bottom: 1rem;
}

.content ul,
.content ol {
  padding-left: 1.35rem;
}

.content li {
  padding-left: 0.25rem;
  margin-bottom: 0.5rem;
}

.content a {
  color: var(--red);

  font-weight: 700;

  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

/* ------------------------------
   Notice
------------------------------ */

.notice {
  position: relative;

  margin: 22px 0 28px;

  padding: 17px 18px 17px 52px;

  background: var(--soft-red);

  border-radius: 18px;

  color: var(--navy);

  border: 1px solid rgba(239, 32, 40, 0.08);
}

.notice::before {
  content: "!";

  position: absolute;

  left: 16px;
  top: 16px;

  width: 25px;
  height: 25px;

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

  border-radius: 50%;

  background: #ffffff;

  color: var(--red);

  font-size: 0.8rem;
  font-weight: 800;
}

/* ------------------------------
   Cards / homepage
------------------------------ */

/* --------------------------------
   Homepage hero
-------------------------------- */

.hero {
  max-width: 900px;
  margin: 0 auto;

  text-align: center;

  padding: 44px 0 70px;
}

.hero-logo {
  width: 150px;
  height: 150px;

  object-fit: contain;

  display: block;

  margin: 0 auto 18px;
}

.home-title {
  margin: 0;

  color: var(--navy);

  font-size: clamp(3rem, 8vw, 5.2rem);

  line-height: 1;

  font-weight: 800;

  letter-spacing: -0.05em;
}

.home-title span {
  color: var(--red);
}

.home-motto {
  margin: 22px 0 0;

  color: var(--navy);

  font-size: clamp(1.2rem, 3vw, 1.55rem);

  font-weight: 600;

  letter-spacing: 0.02em;
}

.lead {
  max-width: 670px;

  margin: 20px auto 0;

  color: var(--muted);

  font-size: 1.05rem;

  line-height: 1.75;
}



/* --------------------------------
   Homepage cards
-------------------------------- */

.grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;

  margin-top: 52px;

  text-align: left;
}

.card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 235px;

  padding: 26px;

  background: #ffffff;

  border: 1px solid var(--border);

  border-radius: 26px;

  box-shadow:
          0 5px 18px rgba(14, 27, 43, 0.05);

  color: var(--navy);

  text-decoration: none;

  transition:
          transform 0.18s ease,
          box-shadow 0.18s ease,
          border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);

  border-color:
          rgba(239, 32, 40, 0.15);

  box-shadow:
          0 14px 32px rgba(14, 27, 43, 0.09);
}

.card-icon {
  width: 48px;
  height: 48px;

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

  margin-bottom: 20px;

  border-radius: 15px;

  background: var(--soft-red);

  font-size: 1.3rem;
}

.card h2 {
  margin: 0;

  color: var(--navy);

  font-size: 1.3rem;

  line-height: 1.25;

  font-weight: 800;

  letter-spacing: -0.02em;
}

.card p {
  margin: 12px 0 20px;

  color: var(--muted);

  line-height: 1.65;

  font-size: 0.96rem;
}

.card-link {
  margin-top: auto;

  color: var(--red);

  font-size: 0.92rem;

  font-weight: 800;
}



/* ------------------------------
   Buttons
------------------------------ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 54px;
  padding: 0 24px;

  margin-top: 14px;

  background: #ffffff;
  color: var(--red);

  border: 1px solid rgba(239, 32, 40, 0.18);

  border-radius: 16px;

  text-decoration: none;
  font-weight: 800;

  box-shadow:
          0 4px 14px rgba(14, 27, 43, 0.08);

  transition:
          transform 0.15s ease,
          box-shadow 0.15s ease,
          background 0.15s ease,
          color 0.15s ease,
          border-color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);

  background: var(--soft-red);

  border-color: rgba(239, 32, 40, 0.28);

  box-shadow:
          0 8px 20px rgba(14, 27, 43, 0.11);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 3px solid rgba(239, 32, 40, 0.22);
  outline-offset: 3px;
}
/* --------------------------------
   Footer
-------------------------------- */

.footer-inner {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  flex-wrap: wrap;
}

.footer-separator {
  color: #b7bcc4;
}


/* --------------------------------
   Mobile
-------------------------------- */

@media (max-width: 760px) {

  .hero {
    padding-top: 28px;
  }

  .hero-logo {
    width: 125px;
    height: 125px;
  }

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

    margin-top: 40px;
  }

  .card {
    min-height: auto;
  }
}
/* ------------------------------
   Mobile
------------------------------ */

@media (max-width: 760px) {

  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  header {
    position: relative;
  }

  .header-inner {
    min-height: auto;

    padding: 16px 0;

    flex-direction: column;
    align-items: center;

    gap: 14px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  nav {
    width: 100%;

    justify-content: center;

    gap: 4px;
  }

  nav a {
    padding: 8px 10px;

    font-size: 0.84rem;
  }

  main {
    padding: 34px 0 62px;
  }

  .page-logo {
    width: 82px;
    height: 82px;
  }

  .page-intro {
    margin-bottom: 24px;
  }

  .content {
    border-radius: 22px;

    padding: 24px 20px;
  }

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

@media (max-width: 480px) {

  nav {
    display: grid;

    grid-template-columns: repeat(2, 1fr);
  }

  nav a {
    text-align: center;

    background: rgba(255, 255, 255, 0.5);
  }

  nav a[aria-current="page"] {
    background: var(--soft-red);
  }

  h1 {
    font-size: 2.25rem;
  }

  .content {
    padding: 22px 18px;
  }
}