/* OWN — site v2 · base layer
   Layout, motion and glass system modelled on tonebird.ai; colour, type and
   voice are OWN's (tokens carried over from the original marketing site). */

:root {
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* OWN palette */
  --paper: #fbfbf9;
  --ivory: #f4f4f1;
  --bone: #eeeeeb;
  --ink: #0e1413;
  --ink-2: #1d2423;
  --muted: #5d6764;
  --muted-2: #7a8380;
  --line: #e2e5e1;
  --line-strong: #d3d8d4;
  --ocean: #0e3a3e;
  --ocean-deep: #0a2a2d;
  --teal: #3e7c76;
  --sea: #86c7c0;
  --forest: #1c3a2a;
  --forest-mid: #2f6b54;
  --brass: #a48758;
  --clay: #b96f4c;
  --gain-soft: #e7f3ed;
  --gain-ink: #245b4b;
  --warn-soft: #f4e9d2;
  --warn-ink: #87621e;
  --focus: #2f6b6a;

  /* glass */
  --glass-fill: linear-gradient(145deg, #ffffffd9, #f7f9f6c2 58%, #eef5f2ba);
  --glass-edge: #ffffffeb;
  --glass-shadow: 0 12px 36px -22px #1d3a3655, inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff80;
  --glass-ease: cubic-bezier(.2, 1.35, .35, 1);
  --expo: cubic-bezier(.22, 1, .36, 1);
  --soft: cubic-bezier(.2, .65, .25, 1);

  /* scene gradients, re-cut in OWN hues */
  --gradient-light:
    radial-gradient(ellipse at 72% 16%, #f5f2e4 0%, transparent 60%),
    radial-gradient(ellipse at 14% 91%, #9ecbc3 0%, transparent 58%),
    linear-gradient(130deg, #cadcd8, #e3e9e5 50%, #d7dfdb);
  --gradient-cool:
    radial-gradient(ellipse at 53% 32%, #f6f5ec 0%, #eef1e6 12%, transparent 55%),
    radial-gradient(ellipse at 6% 100%, #6fa8a0 0%, transparent 57%),
    radial-gradient(ellipse at 95% 72%, #c9dcc4 0%, transparent 55%),
    linear-gradient(130deg, #d3e0dc, #c6dbd7 52%, #e3e3cc);

  /* the Atlas orb — OWN's entry point, in ocean and sea */
  --orb:
    radial-gradient(ellipse at 36% 22%, #effffb 0%, #effffb00 54%),
    radial-gradient(ellipse at 16% 78%, #b6efe5 0%, #78d0c3 25%, #78d0c300 57%),
    radial-gradient(circle at 42% 38%, #8ad6cc 0%, #3f9890 45%, #155d59 82%, #0e3a3e 100%);

  --content: 1280px;
  --gutter: 96px;
  --button-radius: 12px;
  --heading-size: 60px;
  --section-padding: clamp(104px, 15svh, 152px);
  --section-break: 48px;
  --section-space: 100px;
  color-scheme: light only;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}
img:not(.plat *), svg:not(.plat *) { display: block; max-width: 100%; }
a:not(.plat *) { color: inherit; text-decoration: none; }
button:not(.plat *) { font: inherit; color: inherit; cursor: pointer; }
p:not(.plat *) { margin: 0; color: var(--muted); }
ul:not(.plat *), ol:not(.plat *) { margin: 0; padding: 0; list-style: none; }
main { overflow: clip; }

:is(h1, h2, h3, h4):not(.plat *) {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.03em;
  text-wrap: balance;
  color: var(--ink);
}
:is(h1, h2, h3) em:not(.plat *) { font-style: italic; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible:not(.plat *) { outline: 2px solid var(--focus); outline-offset: 3px; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- layout ---------- */
main > section {
  width: min(var(--content), calc(100% - var(--gutter)));
  margin-inline: auto;
}
main > .site-section { padding-block: var(--section-padding); scroll-margin-top: 104px; }
main > section + section { margin-block-start: var(--section-break); }

.section-heading { max-width: 900px; margin: 0 auto 80px; text-align: center; }
.section-heading h2 { font-size: var(--heading-size); line-height: 1.04; letter-spacing: -.035em; }
.section-heading p {
  max-width: 580px; margin: 24px auto 0;
  font-size: 18px; line-height: 1.6; text-wrap: balance;
}

/* ---------- film grain on gradient panels ---------- */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: url('../assets/grain.svg');
  opacity: .16;
  pointer-events: none;
}

/* ---------- header / glass nav ---------- */
/* The nav runs wider than the content: up to 1560px, at least 24px from each
   edge, never narrower than the content on a small screen. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: 88px; padding-top: 14px;
  pointer-events: none;
}
.nav-wrap {
  width: min(1560px, calc(100% - min(var(--gutter), 48px)));
  margin-inline: auto;
  position: relative; isolation: isolate;
  display: flex; align-items: center; gap: 24px;
  height: 60px;
  padding: 7px 8px 7px 22px;
  border: 1px solid var(--glass-edge);
  border-radius: 36px;
  box-shadow: var(--glass-shadow), 0 0 0 1px #7a8a861a;
  pointer-events: auto;
}
.nav-wrap::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: var(--glass-fill);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  pointer-events: none;
}
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; border-radius: 50%; }
.brand-word { width: 134px; height: auto; }

.primary-nav { position: relative; isolation: isolate; display: flex; align-items: center; gap: 3px; margin-left: auto; }
.primary-nav > a {
  position: relative;
  padding: 12px 17px;
  border-radius: var(--button-radius);
  color: #46504d;
  font-size: 13.5px;
  transition: color .2s;
}
.primary-nav > a:hover, .primary-nav > a[aria-current] { color: var(--ink); }
.nav-lens {
  position: absolute; z-index: -1; top: 3px; bottom: 3px;
  left: var(--lens-x, 0px); width: var(--lens-width, 0px);
  border-radius: var(--button-radius);
  background: #ffffffbf;
  box-shadow: 0 1px 2px #00000005, 0 6px 16px -4px #00000024;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: left .5s var(--glass-ease), width .5s var(--glass-ease), opacity .18s;
}
.primary-nav.has-lens .nav-lens { opacity: 1; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.start-menu { position: relative; }
.start-menu > summary { gap: 7px; list-style: none; cursor: pointer; }
.start-menu > summary::-webkit-details-marker { display: none; }
.start-menu > summary .icon { font-size: 13px; transition: transform .24s var(--glass-ease); }
.start-menu[open] > summary .icon { transform: rotate(180deg); }
.start-options {
  position: absolute; z-index: 3; top: calc(100% + 10px); right: 0;
  width: 236px; max-width: calc(100vw - 24px);
  padding: 6px;
  border: 1px solid var(--glass-edge);
  border-radius: 16px;
  background: var(--glass-fill);
  box-shadow: var(--glass-shadow), 0 0 0 1px #7a8a861a;
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  transform-origin: top right;
}
.start-menu[open] .start-options { animation: menu-in .24s var(--glass-ease); }
.start-options a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 12px 14px;
  border-radius: 10px;
  color: #46504d; font-size: 13.5px; font-weight: 500;
  transition: background-color .18s, color .18s;
}
.start-options a small { color: var(--muted-2); font-weight: 400; font-size: 12px; }
.start-options a:is(:hover, :focus-visible) { background: #ffffffbf; color: var(--ink); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- login panel ----------
   The markup is filled and driven by js/auth.js, the
   one product login; these rules only dress it in this site's glass. Class
   names are that file's. */
.nav-actions { position: relative; }
.nav-login-pop {
  position: absolute; z-index: 4; top: calc(100% + 14px); right: 0;
  width: 360px; max-width: calc(100vw - 24px);
  padding: 26px 24px 22px;
  border: 1px solid var(--glass-edge);
  border-radius: 22px;
  background: linear-gradient(145deg, #fffffff7, #f7f9f6f2 58%, #eef5f2f0);
  box-shadow: var(--glass-shadow), 0 0 0 1px #7a8a861a, 0 30px 60px -30px #1d3a3666;
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  text-align: left;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition: opacity .2s var(--soft), transform .24s var(--glass-ease), visibility .2s;
}
.nav-login.open .nav-login-pop { opacity: 1; visibility: visible; transform: none; }
.nav-login .nlp-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: grid; place-items: center; width: 30px; height: 30px; padding: 0;
  border: 0; border-radius: 50%; background: transparent;
  color: var(--muted-2); font-size: 20px; line-height: 1; cursor: pointer;
  transition: background-color .16s, color .16s;
}
.nav-login .nlp-close:hover { background: #0e14130f; color: var(--ink); }
.nav-login .nlp-head { margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -.02em; color: var(--ink); }
.nav-login .nlp-sub { margin: 0 0 18px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.nav-login .nlp-field { position: relative; }
.nav-login .nlp-field + .nlp-field { margin-top: 12px; }
.nav-login .nlp-field label { display: block; margin-bottom: 7px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.nav-login .nlp-input {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line-strong); border-radius: var(--button-radius);
  background: #fff; color: var(--ink);
  font: inherit; font-size: 14.5px;
  transition: border-color .16s, box-shadow .16s;
}
.nav-login .nlp-input::placeholder { color: var(--muted-2); }
.nav-login .nlp-input:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px #0e3a3e1f; }
.nav-login .nlp-pw-toggle {
  position: absolute; right: 10px; bottom: 9px;
  display: grid; place-items: center; width: 30px; height: 30px; padding: 0;
  border: 0; border-radius: 8px; background: transparent; color: var(--muted-2); cursor: pointer;
}
.nav-login .nlp-pw-toggle:hover { background: #0e14130a; color: var(--ink); }
.nav-login .nlp-row { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 16px; font-size: 12.5px; color: var(--muted); }
.nav-login .nlp-check { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.nav-login .nlp-row input[type=checkbox] { width: 14px; height: 14px; accent-color: var(--ocean); }
.nav-login .nlp-link { padding: 0; border: 0; background: none; color: var(--ocean); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.nav-login .nlp-link:hover { text-decoration: underline; }
.nav-login .nlp-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 46px; padding: 12px 19px;
  border: 0; border-radius: var(--button-radius);
  background: var(--ocean); color: #f4f4f1;
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  box-shadow: 0 1px 2px #0e3a3e30, 0 6px 14px -8px #0e3a3e99, inset 0 1px 0 #ffffff26;
  transition: background-color .2s;
}
.nav-login .nlp-submit:hover { background: var(--ocean-deep); }
.nav-login .nlp-submit:disabled { opacity: .6; cursor: default; }
.nav-login .nlp-div { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--muted-2); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.nav-login .nlp-div::before, .nav-login .nlp-div::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.nav-login .nlp-oauth {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 11px;
  border: 1px solid var(--line-strong); border-radius: var(--button-radius);
  background: #fff; color: var(--ink);
  font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer;
  transition: background-color .16s, border-color .16s;
}
.nav-login .nlp-oauth:hover { background: #fbfbf9; border-color: var(--ink); }
.nav-login .nlp-foot { margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.nav-login .nlp-foot a { color: var(--ocean); font-weight: 500; }
.nav-login .nlp-foot a:hover { text-decoration: underline; }
.nav-login .nlp-foot a.nlp-beta { color: var(--muted-2); font-weight: 400; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.nav-login .nlp-done { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.nav-login .nlp-mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #0e3a3e1a; color: var(--ocean); }
.nav-login .nlp-mark svg { width: 22px; height: 22px; }
.nav-login .nlp-done b { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; letter-spacing: -.01em; color: var(--ink); }
.nav-login .nlp-done span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.nav-login .nlp-mark.nlp-atlas { overflow: hidden; border: 1px solid #86c7c038; background: radial-gradient(125% 125% at 30% 24%, #14302d 0%, #0b0b0c 70%); color: var(--ivory); }
.nav-login .nlp-mark.nlp-atlas svg { width: 100%; height: 100%; }
.nav-login .nlp-atlas-wedge { transform-origin: 256px 256px; transform-box: view-box; animation: nlp-atlas-wedge 3.6s linear infinite; }
@keyframes nlp-atlas-wedge { to { transform: rotate(360deg); } }

.menu-toggle {
  display: none;
  width: 42px; height: 42px; flex: none;
  padding: 0; border-radius: 50%;
  border: 1px solid #fff;
  background: linear-gradient(145deg, #fff, #e8eeeb);
  box-shadow: inset 0 -1px 3px #7a8a8626;
}
.menu-lines { display: block; width: 18px; height: 9px; margin: auto; border-block: 1.5px solid var(--ink); }

/* ---------- buttons: one glass family + an ocean variant ---------- */
.button {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  background: #ffffffbf;
  color: #2f3634;
  font-size: 13px; font-weight: 500; line-height: 1.25; white-space: nowrap;
  box-shadow: 0 1px 2px #20242b12, 0 4px 8px -6px #20242b33;
  backdrop-filter: blur(2px) saturate(1.08);
  -webkit-backdrop-filter: blur(2px) saturate(1.08);
  transition: transform .2s cubic-bezier(.2, .7, .2, 1), background-color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.button::before {
  content: '';
  position: absolute; inset: -1px;
  padding: 1.25px;
  border-radius: inherit;
  background: linear-gradient(145deg, #fff 8%, #7a8b8740 35%, #ffffffeb 54%, #ffffff66 72%, #66787347 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.button.is-ocean {
  background: var(--ocean);
  color: #f4f4f1;
  box-shadow: 0 1px 2px #0e3a3e30, 0 6px 14px -8px #0e3a3e99, inset 0 1px 0 #ffffff26;
}
.button.is-ocean::before { background: linear-gradient(145deg, #ffffff55 8%, #ffffff10 40%, #ffffff30 60%, #00000030 92%); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { box-shadow: 0 1px 2px #20242b12, 0 6px 12px -6px #20242b40; transform: translateY(-2px); }
  .button.is-ocean:hover { background: var(--ocean-deep); box-shadow: 0 1px 2px #0e3a3e30, 0 10px 18px -8px #0e3a3eaa, inset 0 1px 0 #ffffff26; }
}
.button:is(:active, .is-pressed) { box-shadow: 0 1px 2px #20242b0d; transform: translateY(1px) scale(.97); transition-duration: .09s; }
.button.is-large { min-height: 52px; padding: 15px 26px; font-size: 14.5px; }
.button.is-xl { min-height: 56px; padding: 16px 28px; font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer: one slim bar across the page ---------- */
body > footer {
  border-top: 1px solid var(--line);
  background: #f6f7f4;
}
/* Uncapped: runs to the window edge on every width, unlike the content and the nav. */
.footer-bar, .footer-fine { width: calc(100% - min(var(--gutter), 48px)); margin-inline: auto; }
/* Logo left, links centred on the page, company right. */
.footer-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; min-height: 68px; }
.footer-brand { gap: 8px; justify-self: start; }
.footer-brand .brand-mark { width: 22px; height: 22px; }
.footer-brand .brand-word { width: 104px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 32px; }
.footer-links a { color: var(--muted); font-size: 13px; line-height: 1.4; transition: color .18s; }
.footer-links a:hover { color: var(--ocean); }
.footer-copy { justify-self: end; color: var(--muted-2); font-size: 12.5px; white-space: nowrap; }
.site-footer .footer-fine { margin: 0 auto; padding: 14px 0 22px; border-top: 1px solid #0e14130d; font-size: 11.5px; line-height: 1.55; color: var(--muted-2); }

/* ---------- scroll reveal (JS adds is-scroll-pending) ---------- */
.is-scroll-pending { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  :root { --gutter: 64px; --heading-size: 50px; --section-padding: 100px; --section-break: 40px; --section-space: 82px; }
  .nav-wrap { gap: 16px; padding-left: 20px; }
  .primary-nav > a { padding-inline: 11px; }
}
/* Too narrow to centre the links: one row, links and company on the right. */
@media (max-width: 999px) {
  .footer-bar { display: flex; gap: 28px; }
  .footer-links { margin-left: auto; gap: 4px 22px; }
}
@media (max-width: 800px) {
  .footer-bar { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 14px 0; }
  .footer-links { order: 3; width: 100%; margin-left: 0; justify-content: flex-start; }
  .footer-copy { margin-left: auto; }
  :root { --heading-size: 44px; --section-padding: 88px; --section-space: 72px; }
  .site-header { height: 80px; padding-top: 10px; }
  .nav-wrap { height: 58px; padding: 6px 7px 6px 18px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-actions { margin-left: auto; }
  .primary-nav {
    display: none;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    margin: 0; padding: 12px;
    border: 1px solid #fff; border-radius: 28px;
    background: linear-gradient(145deg, #fffffff2, #ecf1eeeb);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    box-shadow: var(--glass-shadow), 0 0 0 1px #dfe5e2;
  }
  .primary-nav.is-open { display: grid; }
  .primary-nav > a { padding: 14px 18px; font-size: 15px; }
  .primary-nav > a:hover { background: #ffffffb3; }
  .nav-lens { display: none; }
}
@media (max-width: 600px) {
  :root { --gutter: 40px; --heading-size: 34px; --section-padding: 56px; --section-break: 24px; --section-space: 48px; }
  .site-header { height: 76px; padding-top: 8px; }
  .nav-wrap { width: calc(100% - 24px); gap: 10px; padding-left: 14px; }
  .nav-actions .start-menu > summary { padding-inline: 12px; }
  /* the wordmark gives way before it can run under Get started */
  .site-header .brand { flex: 0 1 auto; min-width: 0; gap: 8px; }
  .site-header .brand-mark { flex: none; width: 28px; height: 28px; }
  .site-header .brand-word { flex: 0 1 auto; width: 112px; min-width: 0; }
  .section-heading { margin-bottom: 36px; }
  .section-heading p { font-size: 16px; }
  .button { min-height: 42px; padding: 12px 14px; }
  /* phones zoom the page into any field set below 16px */
  .nav-login .nlp-input { font-size: 16px; }
  .nav-login .nlp-close { top: 6px; right: 6px; width: 44px; height: 44px; }
  /* footer: one centred column, links in a single wrapped row; each link
     keeps a 44px tap height without looking like a list */
  .footer-bar { flex-direction: column; align-items: center; gap: 6px; padding: 32px 0 10px; }
  .footer-brand { justify-self: auto; }
  .footer-links { order: 0; width: auto; justify-content: center; gap: 0 18px; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13.5px; }
  .footer-copy { margin: 0; font-size: 12px; }
  .site-footer .footer-fine { max-width: 340px; padding: 16px 0 28px; text-align: center; font-size: 11px; }
}
@media (max-width: 359px) {
  :root { --gutter: 32px; --heading-size: 29px; }
  .site-header .brand-word { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .is-scroll-pending { opacity: 1; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-wrap::before, .primary-nav, .start-options, .nav-login-pop { background: #f2f4f2; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
