@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/assets/barlow-semi-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #102637;
  --blue: #174967;
  --paper: #f3f6f6;
  --ink: #142a39;
  --muted: #4a5c66;
  --line: #ccd2cf;
  --accent: #ecc077;
  --display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
::selection { color: var(--navy); background: var(--accent); }
:focus-visible { outline: 3px solid #176c9c; outline-offset: 4px; }
.masthead :focus-visible { outline-color: var(--accent); }

.wrap {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}

.masthead {
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid #304757;
}

.masthead-inner {
  display: flex;
  min-height: 88px;
  justify-content: space-between;
  align-items: center;
}

.brand { display: inline-block; }
.brand img { display: block; width: 124px; height: auto; }

.language {
  display: flex;
  padding: 3px;
  gap: 2px;
  border: 1px solid #678093;
  border-radius: 6px;
}

.language button {
  min-width: 39px;
  min-height: 37px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #e0e9ec;
  font: 650 .8125rem system-ui, sans-serif;
  cursor: pointer;
}

.language button:hover { background: #274459; }
.language button[aria-pressed="true"] { background: #e8eef0; color: var(--navy); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: 322px;
  margin-block: 34px 26px;
  background: var(--blue);
  color: white;
}

.hero-copy {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 70px);
}

.hero-copy::before {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--accent);
}

h1 {
  max-width: 9ch;
  margin: 0;
  font: 700 clamp(2.8rem, 6.2vw, 5.6rem)/.92 var(--display);
  letter-spacing: -.025em;
  text-wrap: balance;
}

.hero p {
  margin: 23px 0 0;
  color: #e1edf3;
  font-size: clamp(.9375rem, 1.55vw, 1.0625rem);
  line-height: 1.5;
}

.field-photo {
  position: relative;
  overflow: hidden;
}

.field-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}

.tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
}

.tool {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 35px;
  align-items: center;
  gap: 16px;
  padding: 18px 12px;
  min-height: 100px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 160ms ease-out;
}

.tool:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.tool:hover, .tool:focus-visible { background: #e6ecec; }
.tool:active { background: #dbe6e8; }
.icon, .arrow { display: grid; place-items: center; }
.icon { width: 42px; height: 42px; color: #1a506f; background: #e6ecec; border-radius: 5px; }
.arrow { width: 35px; height: 35px; color: var(--blue); transition: transform 160ms ease-out; }
.tool:hover .arrow, .tool:focus-visible .arrow { transform: translateX(4px); }
.icon svg, .arrow svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.arrow svg { width: 19px; height: 19px; }
.tool-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.tool h2 { margin: 0; font: 700 1.75rem/1 var(--display); letter-spacing: -.01em; }
.tool p { margin: 7px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.tag { padding: 3px 6px; border-radius: 3px; color: #41545f; background: #e6e9e5; font-size: .6875rem; font-weight: 650; }
.tag.trial { color: #624416; background: #f4e4cb; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 23px 28px;
  color: var(--muted);
  font-size: .8125rem;
}

.footer a { text-underline-offset: 3px; }
.footer a:hover { color: var(--blue); }
.skip { position: fixed; z-index: 2; top: 12px; left: 12px; padding: 12px 16px; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }

@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero { min-height: 270px; }
  .hero-copy { padding-inline: 28px; }
  .tools { column-gap: 18px; }
  .tool { gap: 12px; padding-inline: 8px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .masthead-inner { min-height: 70px; }
  .brand img { width: 103px; }
  .hero { grid-template-columns: 1fr; margin-block: 16px 17px; min-height: 0; }
  .hero-copy { padding: 21px 20px 20px; }
  .hero-copy::before { width: 28px; margin-bottom: 12px; }
  h1 { max-width: none; font-size: clamp(2rem, 9vw, 3.25rem); text-wrap: initial; }
  .hero p { margin-top: 10px; }
  .field-photo { height: 132px; }
  .field-photo img { object-position: center 42%; }
  .tools { grid-template-columns: 1fr; }
  .tool { min-height: 77px; grid-template-columns: 37px minmax(0, 1fr) 25px; padding: 12px 6px; }
  .tool:nth-last-child(2) { border-bottom: 0; }
  .icon { width: 37px; height: 37px; }
  .arrow { width: 25px; }
  .tool h2 { font-size: 1.5rem; }
  .tool p { margin-top: 4px; }
  .footer { padding-block: 17px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .tool, .arrow { transition: none; }
}
