/* avenTellix */

:root {
  --ink: #0A2430;
  --body: #3A5560;
  --muted: #5E7A84;
  --accent: #12A594;
  --accent-text: #0B6F63;
  --surface: #F4FAF9;
  --line: #DCEDE9;
  --field-border: #C6E0DA;
  --bg: #ffffff;
  --panel: #F4FAF9;
  --wrap: 1100px;
  --font: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { max-width: 100%; }
a { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 40px; padding-right: 40px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--bg); color: var(--ink);
  padding: 12px 18px; font-weight: 600; border: 1px solid var(--line);
}
.skip:focus { left: 0; }

/* Wordmark */
.mark {
  display: inline-flex; align-items: baseline; gap: 1px; font-weight: 400; letter-spacing: .1em;
  color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 27px;
}
.mark i { position: relative; display: inline-block; font-style: normal; }
.mark i::after {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(calc(-50% - .06em));
  width: .22em; height: .22em; border-radius: 50%; background: var(--accent);
}

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-head .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 20px; padding-bottom: 20px;
}
.head-right { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px; background: #E2F4F1;
  color: #0B6F63; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

/* Buttons */
.btn, .btn-sm {
  display: inline-flex; align-items: center; justify-content: center; gap: .36em;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-family: inherit;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn { min-height: 52px; padding: 0 28px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn-primary, .btn-sm { background: #0B6F63; color: #ffffff; font-weight: 600; }
.btn-primary:hover, .btn-sm:hover { opacity: .9; color: #ffffff; }
.btn-ghost { background: transparent; border-color: var(--field-border); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--ink); }

/* Sections */
.hero { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, var(--surface) 100%); }
.hero .wrap { padding-top: 86px; padding-bottom: 76px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero .copy { flex: 999 1 420px; min-width: 0; }
.hero .art { flex: 1 1 300px; min-width: 0; }

.section { padding: 84px 0; }
.section--surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  font-size: 13px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent-text); font-weight: 600; margin-bottom: 22px;
}
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; font-weight: 500; letter-spacing: -.02em; max-width: 12em; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; font-weight: 500; letter-spacing: -.015em; }
.lede { margin-top: 24px; font-size: 20px; line-height: 1.6; color: var(--body); max-width: 30em; }
.small { font-size: 15px; line-height: 1.7; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.split > .col-side { flex: 1 1 280px; min-width: 0; }
.split > .col-main { flex: 999 1 460px; min-width: 0; }

.ticks { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.ticks li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.65; color: var(--body); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px;
  border-radius: 50%; background: #12A594;
}

.band .wrap {
  padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 32px;
  align-items: center; justify-content: space-between;
}
.band p { font-size: 20px; line-height: 1.6; color: var(--ink); max-width: 34em; }

.statement { text-align: center; }
.statement .eq { font-size: clamp(17px, 2.2vw, 23px); line-height: 1.7; font-weight: 600; color: var(--ink); }
.statement .eq .h { color: #12A594; }
.statement .eq .m { color: var(--accent); }
.statement .quote { margin-top: 30px; font-size: clamp(21px, 3vw, 30px); line-height: 1.4; font-style: italic; color: #E6EEF8; }
.statement .closing { margin-top: 28px; font-size: 18px; line-height: 1.75; color: var(--body); max-width: 42em; margin-left: auto; margin-right: auto; }

/* Forms */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 36px; }
form { display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row > * { flex: 1 1 200px; min-width: 0; }
label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
input, select, textarea {
  font: 16px var(--font); color: var(--ink); background: #ffffff;
  border: 1.5px solid var(--field-border); border-radius: 10px; padding: 0 14px; height: 50px; width: 100%;
}
textarea { height: auto; padding: 14px; line-height: 1.55; resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18,165,148,.22);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; line-height: 1.6; color: var(--muted); }
.form-msg { display: none; border-radius: 14px; padding: 16px 18px; font-size: 16px; line-height: 1.6; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(31,160,110,.14); border: 1px solid rgba(31,160,110,.45); color: #10543C; }
.form-msg.bad { background: rgba(200,60,60,.12); border: 1px solid rgba(200,60,60,.45); color: #8A2525; }

/* Analytics opt-out */
.ga-box { margin-top: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.ga-switch { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.ga-switch input { width: 20px; height: 20px; flex: none; accent-color: var(--accent); cursor: pointer; margin: 0; }
.ga-box .small { margin-top: 8px; }

/* Legal pages */
.doc h2 { margin-top: 44px; font-size: 25px; }
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { font-size: 17px; line-height: 1.75; color: var(--body); }
.doc p { margin-top: 14px; }
.doc ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.doc ul li { position: relative; padding-left: 22px; }
.doc ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* Footer */
.site-foot { background: #0A2430; color: #C3D8DE; border-top: 1px solid var(--line); }
.site-foot .wrap {
  padding-top: 26px; padding-bottom: 26px; display: flex; flex-wrap: wrap; gap: 18px;
  justify-content: space-between; align-items: center;
}
.site-foot .mark { font-size: 21px; color: #fff; }
.site-foot .legal { font-size: 12.5px; color: #8FAAB3; }
.site-foot .legal a { color: var(--accent); text-decoration: none; }
.site-foot .legal a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 48px; gap: 36px; }
  .section { padding: 56px 0; }
  .split { gap: 36px; }
  .panel { padding: 24px; }
  .hero .art { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
