* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
}

body {
    margin: 0;
    background: #fff;
    color: #202421;
    font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

header,
main,
footer {
    width: min(1120px, calc(100% - 64px));
    margin: auto;
}

header {
    padding: 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ece8;
}

.wordmark {
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.brandmark {
    display: grid;
    grid-template-columns: repeat(2, 6px);
    gap: 3px;
}

.brandmark i {
    width: 6px;
    height: 6px;
    background: #26382b;
    border-radius: 2px;
}

.header-link {
    font-size: 13px;
    text-decoration: none;
    color: #687168;
}

.header-link:hover {
    color: #202421;
}

.intro {
    padding: 30px 0 50px;
    max-width: 710px;
}

.eyebrow {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #667465;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eyebrow:before {
    content: "";
    width: 24px;
    height: 1px;
    background: #667465;
}

h1 {
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -3px;
    margin: 23px 0 22px;
}

h1 span {
    color: #849080;
}

.intro p {
    font-size: 17px;
    line-height: 1.65;
    color: #758073;
    max-width: 480px;
    margin: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding-bottom: 64px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 290px;
    padding: 30px;
    border: 1px solid #e5e9e3;
    border-radius: 18px;
    text-decoration: none;
    background: #fff;
    transition:
        transform 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #bac5b6;
    box-shadow: 0 15px 38px #24332109;
}

.card:focus-visible,
.header-link:focus-visible {
    outline: 3px solid #617a60;
    outline-offset: 5px;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.logo {
    width: 256px;
    height: 256px;
    max-width: 100%;
    flex-shrink: 0;
    border-radius: 0;
    background: var(--tint);
    color: var(--ink);
    display: grid;
    place-items: center;
}

.logo svg {
    width: 99px;
    height: 99px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
}

.number {
    font-size: 11px;
    letter-spacing: 1px;
    color: #919b8d;
}

.card h2 {
    font-size: 23px;
    letter-spacing: -0.7px;
    font-weight: 600;
    margin: 0 0 9px;
}

.description {
    font-size: 14px;
    line-height: 1.65;
    color: #7b8577;
    margin: 0 0 24px;
    max-width: 340px;
}

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
}

.destination {
    min-width: 0;
}

.domain {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: #667465;
    overflow-wrap: anywhere;
}

.visit {
    font-size: 13px;
    font-weight: 600;
}

.arrow {
    flex-shrink: 0;
    border: 1px solid #e6eae3;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    font-size: 18px;
    transition: background 0.2s;
}

.card:hover .arrow {
    background: #f1f4ee;
}

/* Status */
.status {
    font-size: 13px;
    color: #667465;
    min-height: 20px;
    margin: 0 0 20px;
}

footer {
    border-top: 1px solid #e9ece8;
    padding: 24px 0 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #899084;
    font-size: 12px;
}

footer p {
    margin: 0;
}

@media (max-width: 640px) {
    header,
    main,
    footer {
        width: calc(100% - 40px);
    }

    header {
        padding: 24px 0;
    }

    .intro {
        padding: 52px 0 32px;
    }

    h1 {
        letter-spacing: -2px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-bottom: 35px;
    }

    .card {
        min-height: 265px;
        padding: 25px;
    }

    .card-top {
        margin-bottom: 25px;
        flex-wrap: wrap;
        gap: 12px;
    }

    footer {
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
.top-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px;
  background: #f5f6f3;
  border: 1px solid #e7eae3;
  border-radius: 999px;
}

.top-menu a {
  padding: 13px 24px;
  border-radius: 999px;
  color: #657064;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.top-menu a:hover {
  background: #e9ede5;
  color: #26382b;
}

.top-menu a.active {
  background: #fff;
  color: #26382b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.top-menu a:focus-visible {
  outline: 2px solid #617a60;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  header {
    flex-wrap: wrap;
    gap: 20px;
  }

 .top-menu {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: auto;
  }

 .top-menu a {
    padding: 11px 14px;
    font-size: 13px;
  }