@import url('https://fonts.googleapis.com/css2?family=Gugi&display=swap');

@font-face {
  font-family: 'CampusFriends Sans';
  src: url('/assets/fonts/CampusFriendsSans-Thin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: 'CampusFriends Sans';
  src: url('/assets/fonts/CampusFriendsSans-ExtraLight.woff2') format('woff2');
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: 'CampusFriends Sans';
  src: url('/assets/fonts/CampusFriendsSans-Light.woff2') format('woff2');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'CampusFriends Sans';
  src: url('/assets/fonts/CampusFriendsSans-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'CampusFriends Sans';
  src: url('/assets/fonts/CampusFriendsSans-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'CampusFriends Sans';
  src: url('/assets/fonts/CampusFriendsSans-SemiBold.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'CampusFriends Sans';
  src: url('/assets/fonts/CampusFriendsSans-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'CampusFriends Sans';
  src: url('/assets/fonts/CampusFriendsSans-ExtraBold.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'CampusFriends Sans';
  src: url('/assets/fonts/CampusFriendsSans-Black.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --ink: #101728;
  --ink-soft: #424b60;
  --paper: #f8fafc;
  --white: #ffffff;
  --mint: #00b894;
  --mint-light: #dcfff5;
  --coral: #ff6b61;
  --lavender: #edf0ff;
  --line: #dfe5ec;
  --nav-height: 70px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'CampusFriends Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  word-break: keep-all;
}

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

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

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid rgba(16, 23, 40, 0.08);
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  flex: 0 0 auto;
  color: var(--ink);
  font-family: 'Gugi', sans-serif;
  font-size: 21px;
  line-height: 1;
}

.brand-logo em {
  color: var(--mint);
  font-style: normal;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--mint);
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--mint);
  border-color: var(--mint);
}

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

.button-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.hero {
  overflow: hidden;
  background: var(--mint-light);
  padding: 86px 0 70px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: 92px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--mint);
}

.hero-copy {
  max-width: 650px;
  margin: 26px auto 0;
  color: var(--ink-soft);
  font-size: 21px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.product-strip {
  display: flex;
  max-width: 900px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 60px auto 0;
}

.product-mark {
  display: flex;
  width: 126px;
  height: 78px;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border: 1px solid rgba(16, 23, 40, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.product-mark img {
  max-height: 45px;
  width: auto;
}

.product-mark.square img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.product-mark.dark-mark {
  background: var(--ink);
}

.section {
  padding: 100px 0;
}

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

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

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin: 0;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--mint);
  box-shadow: 0 18px 40px rgba(16, 23, 40, 0.09);
}

.service-logo {
  display: flex;
  height: 66px;
  align-items: center;
  margin-bottom: 28px;
}

.service-logo img {
  max-width: 160px;
  max-height: 58px;
  width: auto;
}

.service-logo.square img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
}

.service-logo.dark-logo {
  width: 190px;
  padding: 11px 14px;
  border-radius: 8px;
  background: var(--ink);
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 750;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.service-link {
  margin-top: auto;
  padding-top: 22px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 700;
}

.font-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 70px;
}

.font-display {
  margin: 0;
  color: var(--white);
  font-size: 104px;
  font-weight: 800;
  line-height: 0.98;
}

.font-display span {
  color: var(--mint);
}

.font-copy h2 {
  margin: 0 0 18px;
  font-size: 37px;
  line-height: 1.15;
}

.font-copy p {
  margin: 0 0 28px;
  color: #b8c0d2;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 62px;
  background: rgba(255, 255, 255, 0.14);
}

.stat {
  padding: 30px;
  background: var(--ink);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--mint);
  font-size: 33px;
  font-weight: 800;
}

.stat span {
  color: #b8c0d2;
  font-size: 14px;
}

.press-list {
  border-top: 1px solid var(--line);
}

.press-item {
  display: grid;
  grid-template-columns: 170px 1fr 24px;
  align-items: center;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}

.press-item:hover .press-title {
  color: var(--mint);
}

.press-item.is-extra {
  display: none;
}

.press-list.is-expanded .press-item.is-extra {
  display: grid;
}

.press-meta {
  color: var(--ink-soft);
  font-size: 13px;
}

.press-title {
  font-size: 17px;
  font-weight: 600;
  transition: color 160ms ease;
}

.press-arrow {
  color: var(--mint);
  font-weight: 800;
}

.press-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.press-more[aria-expanded='true'] .more-label,
.press-more[aria-expanded='false'] .less-label {
  display: none;
}

.site-footer {
  padding: 58px 0 34px;
  background: #0a0f1c;
  color: #aeb7c9;
}

.site-footer .brand-logo {
  color: var(--white);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-info {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.8;
}

.footer-info a {
  color: var(--mint);
}

.award-logo {
  width: 156px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

/* Font specimen */
.font-hero {
  padding: 92px 0 76px;
  background: var(--ink);
  color: var(--white);
}

.font-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: 110px;
  font-weight: 800;
  line-height: 0.94;
}

.font-hero h1 span {
  color: var(--mint);
}

.font-hero p {
  max-width: 620px;
  margin: 30px 0 0;
  color: #c1c9d8;
  font-size: 19px;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}

.story-grid h2 {
  margin: 0;
  font-size: 43px;
  line-height: 1.08;
}

.story-copy p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 18px;
}

.design-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 68px;
}

.design-note {
  padding-top: 20px;
  border-top: 3px solid var(--mint);
}

.design-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 26px;
}

.design-note p {
  margin: 0;
  color: var(--ink-soft);
}

.specimen-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.specimen-input {
  min-width: 0;
  flex: 1;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: 500 16px 'CampusFriends Sans', sans-serif;
}

.size-control {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 13px;
}

.weight-list {
  border-top: 1px solid var(--line);
}

.weight-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: baseline;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.weight-label {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.weight-sample {
  overflow: hidden;
  font-size: 34px;
  line-height: 1.25;
  white-space: nowrap;
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.download-band h2 {
  margin: 0 0 10px;
  font-size: 41px;
  line-height: 1.1;
}

.download-band p {
  margin: 0;
  color: #c1c9d8;
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 68px;
  }

  .section-head h2 {
    font-size: 45px;
  }

  .font-display {
    font-size: 76px;
  }

  .font-hero h1 {
    font-size: 72px;
  }

  .font-feature,
  .story-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 18px;
  }

  .product-strip {
    flex-wrap: wrap;
  }

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

@media (max-width: 600px) {
  :root {
    --nav-height: 62px;
  }

  .shell {
    width: min(100% - 28px, 1120px);
  }

  .brand-logo {
    font-size: 18px;
  }

  .header-inner > .button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    padding: 62px 0 54px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .section-head h2 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 16px;
  }

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

  .product-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 42px;
  }

  .product-mark {
    width: 100%;
    height: 64px;
    padding: 10px;
  }

  .product-mark img {
    max-height: 36px;
  }

  .service-logo.dark-logo {
    width: 174px;
  }

  .section {
    padding: 74px 0;
  }

  .services-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 238px;
  }

  .font-display {
    font-size: 59px;
  }

  .press-item {
    grid-template-columns: 1fr 18px;
    gap: 8px;
  }

  .press-meta {
    grid-column: 1;
  }

  .press-title {
    grid-column: 1;
  }

  .press-arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .footer-top,
  .download-band {
    flex-direction: column;
  }

  .font-hero {
    padding: 66px 0 56px;
  }

  .font-hero h1 {
    font-size: 46px;
  }

  .story-grid h2 {
    font-size: 36px;
  }

  .specimen-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .weight-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .weight-sample {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
