/* Tmreen — early owner registration (/owners/).
   Sits on top of landing.css, which provides the ground, tokens, nav, buttons
   and type. Everything here is prefixed ow- so nothing collides with the
   landing's own classes. Light ground only: this page is a form, and a form
   on the dark ground reads as a modal, not a page. */

.ow-body { color: var(--ink); }

/* The bar. On the landing it is transparent until you leave the hero, so the
   court reads as one image. This page has no hero — the bar sat as loose
   controls floating over the copy — so it is glass from the first pixel, and
   it gets out of the way on the way down: a long form wants the whole screen,
   and the bar is back the moment you scroll up. */
.ow-body .nav {
  padding-block: 8px;
  background: rgba(255, 255, 255, .78);
  background: var(--nav-glass);
  -webkit-backdrop-filter: saturate(175%) blur(18px);
  backdrop-filter: saturate(175%) blur(18px);
  border-block-end-color: var(--nav-edge);
  box-shadow: var(--nav-shadow);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1), box-shadow .28s ease;
  will-change: transform;
}
.ow-body .nav.is-hidden { transform: translateY(calc(-100% - 2px)); box-shadow: none; }
.ow-body .nav.is-hidden:focus-within { transform: none; } /* tabbing into it brings it back */
@media (prefers-reduced-motion: reduce) { .ow-body .nav { transition: none; } }

/* The nav is fixed; the page starts below it. */
.ow {
  padding: calc(var(--nav-clear) + clamp(12px, 3vh, 36px)) clamp(18px, 5vw, 64px) clamp(56px, 8vh, 96px);
  min-height: 100svh;
}
.ow-grid {
  max-width: var(--col); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px); align-items: start;
}

/* ── the pitch column ─────────────────────────────── */
.ow-copy { position: sticky; top: calc(var(--nav-clear) + 12px); }
.ow-eyebrow { text-align: start; }
.ow-title {
  margin-top: 12px; font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); line-height: 1.12; color: var(--navy);
}
.ow-sub { margin-top: 16px; font-size: 1.05rem; line-height: 1.7; color: rgba(var(--on), .74); max-width: 34em; }

.ow-benefits { list-style: none; margin-top: 30px; display: grid; gap: 18px; }
.ow-benefits li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.ow-benefits strong { display: block; font-weight: 700; color: var(--navy); }
.ow-benefits span:not(.ow-bico) { display: block; margin-top: 3px; font-size: .93rem; line-height: 1.6; color: rgba(var(--on), .66); }
.ow-bico {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: var(--white); border: 1px solid rgba(31, 64, 110, .1);
  box-shadow: 0 1px 2px rgba(20, 40, 80, .06), 0 8px 22px -10px rgba(20, 40, 80, .2);
}
.ow-bico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ow-bico-green { color: var(--green); }
.ow-bico-blue  { color: var(--blue); }
.ow-bico-sky   { color: var(--sky); }
.ow-bico-navy  { color: var(--navy); }

.ow-stats {
  margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.ow-stats div {
  padding: 14px 12px; border-radius: 14px; text-align: center;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(31, 64, 110, .1);
}
.ow-stats dt { font-weight: 800; font-size: 1.25rem; color: var(--blue); }
.ow-stats dd { margin-top: 2px; font-size: .8rem; color: rgba(var(--on), .62); line-height: 1.4; }

/* ── the form card ────────────────────────────────── */
.ow-card {
  background: var(--white); color: var(--ink);
  border: 1px solid #e3e9f2; border-radius: 24px;
  box-shadow: 0 1px 2px rgba(20, 40, 80, .06), 0 24px 60px -18px rgba(20, 40, 80, .22);
  padding: clamp(22px, 3vw, 40px);
}
.ow-form-title { font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.ow-form-sub { margin-top: 6px; font-size: .92rem; color: var(--ink-2); }
.ow-form-sub b, .ow-label b { color: #d64545; font-weight: 700; }
.ow-label i { font-style: normal; font-weight: 400; color: var(--ink-2); font-size: .85em; }

.ow-fs { border: 0; margin-top: 30px; padding: 0; min-width: 0; }
.ow-legend {
  display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 6px;
  font-weight: 800; font-size: 1.05rem; color: var(--navy);
}
.ow-num {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-size: .8rem; font-weight: 700;
  font-family: var(--font-en);
}

.ow-field { display: block; margin-top: 18px; min-width: 0; }
.ow-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ow-row2 .ow-field { margin-top: 18px; }
.ow-label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 9px; color: var(--ink); }

.ow-input {
  width: 100%; font: inherit; color: var(--ink);
  background: #f6f9fc; border: 1.5px solid #dfe6ef; border-radius: 12px;
  padding: 12px 14px; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.ow-input::placeholder { color: #9aa8ba; }
.ow-input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(34, 100, 162, .12); }
.ow-ltr { direction: ltr; text-align: start; font-family: var(--font-en); }
html[dir="rtl"] .ow-ltr { text-align: right; }
.ow-textarea { resize: vertical; min-height: 84px; line-height: 1.6; }
.ow-follow { margin-top: 10px; }

/* chips: native radios/checkboxes, styled by :checked. Keyboard and screen
   readers get the real control; the eye gets a pill. */
.ow-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ow-chip { position: relative; display: inline-flex; min-width: 0; }
.ow-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ow-chip > span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500;
  background: #f3f6fa; color: var(--navy); border: 1.5px solid #e1e8f1;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  user-select: none; -webkit-user-select: none;
}
.ow-chip > span em { font-style: normal; font-size: .8em; color: var(--ink-2); }
.ow-chip:hover > span { border-color: #c5d3e3; }
.ow-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(34, 100, 162, .18); }
.ow-chip input:checked + span {
  background: var(--blue); color: #fff; border-color: var(--blue);
  box-shadow: 0 6px 16px -8px rgba(34, 100, 162, .6);
}
.ow-chip input:checked + span em { color: rgba(255, 255, 255, .8); }
.ow-chip input[type="checkbox"]:checked + span { background: var(--green); border-color: var(--green); color: #06301a; box-shadow: 0 6px 16px -8px rgba(58, 189, 81, .6); }

/* the three pricing options are cards, not pills */
.ow-chips-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ow-chip-big { display: flex; }
.ow-chip-big > span {
  flex: 1; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 14px 16px; border-radius: 16px; text-align: start; white-space: normal;
}
.ow-chip-big strong { font-weight: 700; font-size: .98rem; }
.ow-chip-big small { font-size: .8rem; font-weight: 400; color: var(--ink-2); line-height: 1.45; }
.ow-chip-big input:checked + span small { color: rgba(255, 255, 255, .82); }

/* a conditional block */
.ow-branch {
  margin-top: 16px; padding: 16px; border-radius: 16px;
  background: #f6f9fc; border: 1px dashed #d5dfeb;
}
.ow-branch[hidden] { display: none; }
.ow-branch-2 .ow-field { margin-top: 14px; }
.ow-branch-2 .ow-field:first-of-type { margin-top: 0; }
.ow-note { margin-bottom: 14px; }
.ow-note-inline { margin: -2px 0 12px; padding: 12px 14px; border-radius: 12px; background: #f6f9fc; border: 1px dashed #d5dfeb; }
.ow-note-inline p { margin: 0; }
.ow-note-inline strong { color: var(--navy); }
.ow-note strong { display: block; font-weight: 700; color: var(--navy); }
.ow-note p { margin-top: 6px; font-size: .9rem; line-height: 1.7; color: rgba(var(--on), .72); }

/* validation */
.ow-err { display: none; margin-top: 7px; font-size: .82rem; color: #d64545; font-weight: 500; }
.ow-field.is-invalid .ow-err { display: block; }
.ow-field.is-invalid .ow-input { border-color: #d64545; background: #fff6f6; }
.ow-field.is-invalid .ow-chips { outline: 2px solid rgba(214, 69, 69, .25); outline-offset: 6px; border-radius: 12px; }

/* Visually hidden with a clip, not an offset. left:-10000px is the classic
   recipe, and in an RTL document it is scrollable overflow — the page grew
   ten thousand pixels wide and opened scrolled to its far edge. */
.ow-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

.ow-consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .92rem; line-height: 1.55; color: var(--ink); }
.ow-consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }

.ow-actions { margin-top: 26px; }
.ow-submit { width: 100%; font-size: 1.05rem; padding-block: 15px; }
.ow-submit[disabled] { opacity: .65; cursor: progress; }
.ow-status { margin-top: 12px; min-height: 1.4em; font-size: .9rem; text-align: center; color: var(--ink-2); }
.ow-status.is-error { color: #d64545; }

/* success */
.ow-done { text-align: center; padding: clamp(16px, 3vw, 32px) 0; }
.ow-done-ico {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  background: rgba(58, 189, 81, .12); color: var(--green); border: 2px solid var(--green);
}
.ow-done-ico svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ow-done h2 { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.ow-done p { margin: 12px auto 0; max-width: 32em; line-height: 1.7; color: rgba(var(--on), .72); }
.ow-done-actions { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ow-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.ow-link:hover { text-decoration: underline; }

.ow-foot {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 0 20px calc(28px + var(--safe-b)); font-size: .88rem; color: rgba(var(--on), .55);
}
.ow-foot a { color: inherit; text-decoration: none; }
.ow-foot a:hover { color: var(--blue); }

/* ── tablet ── */
@media (max-width: 1023px) {
  .ow-grid { grid-template-columns: 1fr; gap: 28px; }
  .ow-copy { position: static; }
  .ow-benefits { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
}

/* ── phone ── */
@media (max-width: 599px) {
  .ow { padding-inline: 14px; }
  .ow-card { border-radius: 20px; padding: 20px 16px 22px; }
  .ow-row2 { grid-template-columns: 1fr; gap: 0; }
  .ow-benefits { grid-template-columns: 1fr; }
  .ow-benefits li { grid-template-columns: 38px 1fr; gap: 12px; }
  .ow-bico { width: 38px; height: 38px; border-radius: 12px; }
  .ow-stats { gap: 8px; }
  .ow-stats div { padding: 12px 6px; }
  .ow-stats dt { font-size: 1.1rem; }
  .ow-stats dd { font-size: .74rem; }
  .ow-chips-big { grid-template-columns: 1fr; }
  .ow-chip > span { padding: 9px 13px; font-size: .9rem; }
  /* 16px stops iOS Safari zooming the page into every focused field */
  .ow-input { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ow-input, .ow-chip > span { transition: none; }
}
