:root {
  color-scheme: light dark;
  --background: #f6f3eb;
  --surface: #ece6d9;
  --white: #fffdfa;
  --ink: #24251f;
  --muted: #626457;
  --accent: #4f8191;
  --accent-deep: #305967;
  --button-bg: #305967;
  --button-hover: #234653;
  --help-button-hover: #e4e9e3;
  --mist: #79aba9;
  --line: rgba(46, 52, 64, .12);
  --shadow: 0 24px 60px rgba(36, 37, 31, .09);
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #2e3440;
    --surface: #3b4252;
    --white: #3b4252;
    --ink: #f5f3e8;
    --muted: #b8baaa;
    --accent: #9bc1c8;
    --accent-deep: #a9ced8;
    --line: rgba(245, 243, 232, .15);
    --shadow: 0 24px 60px rgba(0, 0, 0, .18);
    --help-button-hover: #495363;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 14px; background: var(--button-bg); color: white; }
.skip-link:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 740; letter-spacing: -.045em; text-decoration: none; }
.wordmark img { display: block; width: 38px; height: 38px; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px 29px; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 630; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent-deep); }
.eyebrow { margin: 0; color: var(--accent-deep); font-size: 12px; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: clamp(28px, 6vw, 88px); padding-block: clamp(72px, 9vw, 126px); }
.hero-copy h1, .page-intro h1 { margin: 21px 0 24px; font-size: clamp(46px, 6.5vw, 88px); font-weight: 760; line-height: 1.02; letter-spacing: -.055em; }
.hero-copy h1 span { color: var(--accent); }
.hero-copy .lead, .page-intro .lead { max-width: 610px; margin: 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 22px; border-radius: 14px; background: var(--button-bg); color: #fff; font-size: 14px; font-weight: 710; text-align: center; text-decoration: none; box-shadow: 0 8px 18px rgba(48, 89, 103, .18); }
.button:hover { background: var(--button-hover); }
.text-link { color: var(--accent-deep); font-size: 14px; font-weight: 700; text-decoration-color: currentColor; text-underline-offset: 5px; }
.hero-art { display: grid; place-items: center; min-height: 500px; }
.icon-stage { display: grid; place-items: center; width: min(100%, 500px); aspect-ratio: 1; }
.icon-stage img { display: block; width: 100%; height: 100%; }
.section { padding-block: 82px 96px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2 { max-width: 680px; margin: 14px 0 0; font-size: clamp(32px, 4vw, 52px); letter-spacing: -.055em; line-height: 1.08; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 260px; padding: 29px; border: 1px solid var(--line); border-radius: 28px; background: var(--white); }
.feature-number { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; border-radius: 13px; background: rgba(79, 129, 145, .12); color: var(--accent-deep); font-size: 13px; font-weight: 750; }
.feature-card h3 { margin: 35px 0 12px; font-size: 22px; letter-spacing: -.035em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.help-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-block: 0 94px; padding: clamp(30px, 5vw, 54px); border-radius: 32px; background: var(--button-bg); color: white; }
.help-band .eyebrow { color: #c4dddd; }
.help-band h2 { margin: 12px 0 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.055em; }
.help-band .button { flex: none; background: var(--background); color: var(--accent-deep); box-shadow: none; }
.help-band .button:hover { background: var(--help-button-hover); }
.page-intro { padding-block: 76px 42px; }
.page-intro h1 { max-width: 850px; font-size: clamp(44px, 6vw, 74px); }
.page-main { padding-bottom: 96px; }
.article { max-width: 920px; padding: clamp(26px, 5vw, 58px); border: 1px solid var(--line); border-radius: 30px; background: var(--white); box-shadow: var(--shadow); }
.article h2 { margin: 38px 0 13px; padding-top: 29px; border-top: 1px solid var(--line); font-size: 23px; line-height: 1.25; letter-spacing: -.03em; }
.article h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article p { max-width: 75ch; margin: 0 0 17px; color: var(--muted); font-size: 16px; line-height: 1.72; }
.article p:last-child { margin-bottom: 0; }
.article strong { color: var(--ink); }
.article a { color: var(--accent-deep); text-underline-offset: 4px; }
.article .effective { color: var(--accent-deep); font-size: 14px; font-weight: 720; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 920px; }
.contact-card { padding: clamp(27px, 4vw, 42px); border: 1px solid var(--line); border-radius: 28px; background: var(--white); }
.contact-card h2 { margin: 20px 0 10px; font-size: 25px; letter-spacing: -.04em; }
.contact-card p { margin: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.contact-card a { overflow-wrap: anywhere; color: var(--accent-deep); font-size: 16px; font-weight: 720; text-underline-offset: 4px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 26px; padding-block: 32px 42px; }
.footer-brand { font-size: 14px; font-weight: 740; }
.footer-slogan { max-width: 38ch; margin: 12px 0 0; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.6; }
.footer-brand small { display: block; margin-top: 9px; color: var(--muted); font-size: 12px; font-weight: 500; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; justify-content: flex-end; gap: 12px 23px; }
.footer-links a { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--accent-deep); }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-block: 64px 72px; }
  .hero-art { min-height: 430px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-card h3 { margin-top: 24px; }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 32px, 1160px); }
  .header-inner { min-height: 78px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 14px; padding-block: 16px; }
  .site-nav { justify-content: flex-start; gap: 10px 18px; }
  .site-nav a { font-size: 13px; }
  .hero-copy h1 { font-size: clamp(46px, 12vw, 68px); }
  .hero-art { min-height: 310px; }
  .icon-stage { width: min(78%, 360px); }
  .section { padding-block: 54px 70px; }
  .help-band { display: block; margin-bottom: 64px; }
  .help-band .button { margin-top: 26px; }
  .page-intro { padding-block: 52px 30px; }
  .page-main { padding-bottom: 66px; }
  .article { border-radius: 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Company copyright mark follows the current text color. */
.copyright, .footer-brand small.copyright {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.copyright-logo {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  background: currentColor;
  -webkit-mask: url("../assets/sailfishmachine-mark.png") center / contain no-repeat;
  mask: url("../assets/sailfishmachine-mark.png") center / contain no-repeat;
}

.site-nav a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.article a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .site-nav { gap: 0 18px; }
  .footer-links { gap: 0 23px; }
}

.language-switch { display: inline-flex; flex-wrap: wrap; gap: 12px; padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
