/* SPDX-License-Identifier: LicenseRef-Proprietary */
/* Copyright (C) 2024-2026 Tonic */

/* Frappe's own navbar and footer stay hidden: the pages bring their own */
body > .navbar, nav.navbar, .web-footer, footer.web-footer, .page-breadcrumbs, .page-header-wrapper { display: none !important; }
.page-content-wrapper, .page_content, .webpage-content, .web-page-content, main { padding: 0 !important; margin: 0 !important; max-width: none !important; }
html { scroll-behavior: smooth; }
body { background: #F6F3EE; }

/* Fonts ship with the app; no visitor address reaches a font service */
@font-face { font-family: "Newsreader"; src: url("/assets/ocul/fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/ocul/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

.oc {
  --sand: #F6F3EE; --paper: #FFFFFF; --shade: #EDE7DD; --line: #E4DED4;
  --ink: #23211F; --body: #4A443D; --muted: #6B645C;
  /* The orange of the 2015 design: too bright for white type, so the type on it is ink (5.8:1);
     as type on a light ground it darkens to --accent-text (4.8:1 even on --shade) */
  --accent: #FF7101; --accent-light: #FF8A33; --accent-text: #A84600; --hold: #0F766E;
  --alert: #B42318; /* errors at a field: 5.9:1 on --sand */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.oc * { box-sizing: border-box; }
.oc h1, .oc h2, .oc h3 { font-family: var(--serif); font-weight: 400; color: inherit; margin: 0; letter-spacing: -0.015em; }
.oc p { margin: 0; }
.oc a { text-decoration: none; }
.oc-wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.oc-eyebrow { font-family: var(--serif); font-style: italic; font-size: 17px !important; color: var(--muted); margin-bottom: 16px !important; }

/* Header */
.oc-top { position: sticky; top: 0; z-index: 20; background: rgba(246, 243, 238, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.oc-top-in { display: flex; align-items: center; gap: 36px; height: 76px; }
/* The mark keeps the proportions of the logo file: the capitals stand one third as tall as the
   disc (cap height of Instrument Sans: .73 em), so every size follows the font size */
.oc-logo { display: inline-flex; align-items: center; gap: .42em; color: var(--ink) !important; font-weight: 600; font-size: 16.5px; line-height: 1; }
.oc-logo svg { width: 2.2em; height: 2.2em; flex-shrink: 0; }
.oc-logo-name { text-transform: uppercase; letter-spacing: .14em; }
.oc-beta { margin-left: 2px; padding: 3px 7px; background: var(--shade); color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-radius: 3px; }
.oc-nav { display: flex; gap: 28px; margin-right: auto; }
.oc-nav a, .oc-link { color: var(--body) !important; font-size: 15px; }
.oc-nav a:hover, .oc-link:hover { color: var(--ink) !important; }
.oc-top-cta { display: flex; align-items: center; gap: 20px; }

/* Buttons */
.oc-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--ink) !important; font-weight: 600; padding: 16px 28px; border-radius: 6px; font-size: 17px; transition: background .15s; }
.oc-btn:hover { background: var(--accent-light); }
.oc-btn-sm { padding: 10px 18px; font-size: 15px; }
.oc-btn-plain { color: var(--ink) !important; font-size: 17px; border-bottom: 1px solid #C9C0B3; padding-bottom: 3px; }

/* Hero */
.oc-hero { padding-block: 84px 76px; }
/* Text and card end on one line at the bottom (the owner, 13.11.2026); the card is the taller */
.oc-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.oc h1 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.04; }
.oc-lead { font-size: 19px; color: var(--body); margin-top: 26px !important; max-width: 32em; }
.oc-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; }
.oc-ticks { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; color: var(--body); }
.oc-ticks li { display: flex; align-items: center; gap: 11px; }
.oc-ticks svg { flex: none; }

.oc-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.oc-shot { position: relative; background: var(--shade); }
.oc-shot img { display: block; width: 100%; height: auto; }
.oc-corner { position: absolute; z-index: 1; width: 26px; height: 26px; border: 0 solid var(--ink); }
.oc-corner-tl { top: 18px; left: 18px; border-top-width: 2px; border-left-width: 2px; }
.oc-corner-tr { top: 18px; right: 18px; border-top-width: 2px; border-right-width: 2px; }
.oc-corner-bl { bottom: 18px; left: 18px; border-bottom-width: 2px; border-left-width: 2px; }
.oc-corner-br { bottom: 18px; right: 18px; border-bottom-width: 2px; border-right-width: 2px; }
.oc-card-body { padding: 24px 26px 26px; }
/* The model in the hero: four numbers in the picture, the key under it in words (DESIGN.md §3a) */
.oc-mark { position: absolute; z-index: 1; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(35, 33, 31, .35); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; line-height: 1; }
.oc .oc-card-title { display: block; font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.3; }
.oc-card-lead { margin-top: 4px !important; font-size: 15px; color: var(--body); }
.oc-card-hint { margin-top: 10px !important; font-size: 14px; color: var(--muted); }
.oc-key { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; font-size: 15px; }
.oc-key li { display: grid; grid-template-columns: 26px 18px 1fr; align-items: center; gap: 10px; }
.oc-key strong { font-weight: 600; }
.oc-key-no { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; line-height: 1; }
.oc-key-swatch { display: flex; width: 16px; height: 16px; border-radius: 3px; overflow: hidden; }
.oc-key-swatch b { flex: 1; }
.oc-rule { margin-top: 18px !important; padding-top: 14px; border-top: 1px solid var(--shade); }
.oc-note { font-size: 14px !important; color: var(--muted); margin-top: 12px !important; }

/* Sections */
.oc-sec { padding-block: 92px; }
.oc-soft { background: var(--shade); }
.oc-ink { background: var(--ink); color: var(--sand); }
.oc-ink h2, .oc-ink h3 { color: #fff; }
.oc h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; max-width: 20em; }
.oc h3 { font-size: 21px; font-weight: 500; line-height: 1.3; }
.oc-muted { color: var(--muted); margin-top: 14px !important; }

/* One house, four questions (DESIGN.md §3b) */
.oc-paper { background: var(--paper); border-top: 1px solid var(--line); }
.oc-lead-sm { font-size: 19px; max-width: 40em; }
.oc-views { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 44px 0 28px; }
.oc-view { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.oc-view-pic { aspect-ratio: 4 / 3; background: var(--shade); border-radius: 8px; overflow: hidden; }
.oc-view-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oc-view figcaption { display: flex; flex-direction: column; gap: 6px; }
.oc .oc-view figcaption h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; }
.oc-view figcaption > span { font-size: 15px; color: var(--body); }
.oc-view figcaption > .oc-view-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; color: var(--muted); }
.oc-scale { display: flex; width: 56px; height: 8px; border-radius: 2px; overflow: hidden; }
.oc-scale b { flex: 1; }
.oc-level { display: inline-flex; align-items: center; gap: 5px; }
.oc-level b { width: 12px; height: 12px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(35, 33, 31, .15); }
/* The range is the picture of this card: nothing in it may shrink, and the box grows past 4:3 rather than cut it */
.oc-view-pic.oc-payback { overflow: visible; box-sizing: border-box; padding: 22px 20px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.oc-payback > * { flex-shrink: 0; }
.oc-payback-name { font-size: 14px; color: var(--body); }
.oc-payback-years { font-family: var(--serif); font-size: 34px; line-height: 1; }
.oc-payback-track { position: relative; display: block; height: 12px; border-radius: 2px; background: var(--paper); }
.oc-payback-track b { position: absolute; top: 0; bottom: 0; background: var(--ink); border-radius: 2px; }
/* Each label stands at its own year on the twenty-year scale, not where the space between puts it */
.oc-payback-axis { position: relative; display: block; height: 1.6em; font-size: 14px; color: var(--muted); }
.oc-payback-axis span { position: absolute; top: 0; white-space: nowrap; }
.oc-payback-axis span:nth-child(1) { left: 0; }
.oc-payback-axis span:nth-child(2) { left: 50%; transform: translateX(-50%); }
.oc-payback-axis span:nth-child(3) { right: 0; }

/* Balance */
/* The ring stands under the text, at most 880 px wide: beside it, it shrank to 82 % and its labels to 11 px
   (page concept, "Schrift und Maß": nothing under 14 px, in a picture neither) */
.oc-balance { display: grid; grid-template-columns: 1fr; gap: 40px; }
.oc-balance > div:first-child { max-width: 44em; }
.oc-balance > div:last-child { width: 100%; max-width: 880px; }
.oc-quoteline { margin-top: 24px !important; padding-left: 16px; border-left: 3px solid var(--accent); font-size: 16px; color: var(--ink); }
.oc-ring { width: 100%; height: auto; display: block; }
.oc-ring-head { font-size: 14px; font-weight: 600; letter-spacing: 1.6px; fill: #6B645C; }
.oc-ring-label { font-size: 14px; font-weight: 500; fill: #23211F; }
.oc-ring-val { font-size: 14px; fill: #6B645C; }
.oc-ring-lead { stroke: #C7BFB2; stroke-width: 1; }
.oc-ring-centre { font-family: "Newsreader", serif; font-size: 17px; fill: #23211F; }
.oc-ring-sub { font-size: 14px; fill: #6B645C; }
.oc-ring-total { font-size: 14px; font-weight: 600; fill: #4A443D; }

/* Beside the ring the list stays for screen readers, out of sight; the ring itself is hidden from them */
.oc-ring-table { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.oc-ring-table h3 { font-family: "Instrument Sans", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.oc-ring-table ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 9px; font-size: 15px; }
.oc-ring-table li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; }
.oc-ring-table i { width: 14px; height: 14px; border-radius: 4px; display: block; }
.oc-ring-table em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Steps */
.oc-steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.oc-steps li { position: relative; padding: 32px 26px 0 0; border-top: 2px solid var(--ink); counter-increment: s; }
.oc-steps li::before { content: counter(s); position: absolute; top: -16px; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.oc-steps li:last-child { border-top-color: var(--accent); }
.oc-steps li:last-child::before { background: var(--accent); color: var(--ink); }
.oc-step-tag { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.oc-steps p { color: var(--body); margin-top: 10px !important; }

/* Quote */
.oc-quote { max-width: 900px; }
.oc-quote blockquote { margin: 0; padding: 0; border: 0; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 42px); line-height: 1.22; font-weight: 400; color: #fff; }
.oc-quote blockquote strong { font-weight: 500; color: var(--accent); }
.oc-quote > p:last-child { color: rgba(246, 243, 238, .75); margin-top: 24px !important; font-size: 18px; max-width: 40em; }

/* Pillars and groups */
.oc-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 46px; }
.oc-pillars article { border-top: 1px solid var(--line); padding-top: 20px; }
.oc-pillars p { color: var(--body); margin-top: 10px !important; }

/* What Zero can do: one question a card, line icons like the steps; the rule darker than --line,
   which disappears on --shade */
.oc-abilities-lead { color: var(--body); font-size: 18px; margin-top: 16px !important; max-width: 40em; }
.oc-abilities { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 32px; row-gap: 44px; margin-top: 46px; }
.oc-abilities article { border-top: 1px solid #D6CEC2; padding-top: 20px; }
.oc-abilities svg { display: block; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.oc-abilities h3 { margin-top: 12px; }
.oc-abilities p { color: var(--body); margin-top: 10px !important; }

/* Questions */
.oc-faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.oc-faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.oc-faq details:first-child { border-top: 1px solid var(--line); }
.oc-faq summary { cursor: pointer; font-family: var(--serif); font-weight: 500; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.oc-faq summary::-webkit-details-marker { display: none; }
.oc-faq summary::after { content: "+"; font-family: "Instrument Sans", sans-serif; font-size: 24px; line-height: 1; color: var(--accent-text); transition: transform .2s; }
.oc-faq details[open] summary::after { transform: rotate(45deg); }
.oc-faq details p { color: var(--body); margin-top: 12px !important; max-width: 42em; }

/* Closing call to action */
.oc-start { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 56px; align-items: center; }
.oc-start > div { min-width: 0; }
.oc-start p { color: #D5CEC3; margin-top: 14px !important; }
/* The tiles count their columns by the room they have, not by the window: four in a row need
   about 680px for the longest house type, so below that they stand two by two */
.oc-start > div:last-child { container-type: inline-size; }
.oc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.oc-tile { min-width: 0; border: 1.5px solid #4A443D; background: #2C2926; border-radius: 12px; padding: 22px 12px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--sand) !important; font-size: 15px; text-align: center; overflow-wrap: break-word; hyphens: auto; transition: border-color .15s, background .15s; }
.oc-tile:hover { border-color: var(--accent); background: #332F2B; }
@container (max-width: 679.98px) { .oc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 359.98px) { .oc-tile { padding-inline: 8px; } }
.oc-start-note { font-size: 14px; color: #C4BBAE; margin-top: 18px !important; }

/* Footer */
.oc-foot { background: #1A1917; color: rgba(246, 243, 238, .6); font-size: 14px; }
.oc-foot-in { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; padding-block: 32px; }
.oc-foot .oc-logo { color: rgba(246, 243, 238, .9) !important; font-size: 14px; }
.oc-foot nav { display: flex; gap: 22px; flex-wrap: wrap; margin-right: auto; }
.oc-foot a { color: rgba(246, 243, 238, .7) !important; }
.oc-foot a:hover { color: #fff !important; }

/* Between the wide and the narrow screen the top bar keeps one line: closer gaps, no word broken
   in two. Below 1080 px the links of the menu move to the footer. */
@media (max-width: 1180px) {
  .oc-top-in { gap: 20px; }
  .oc-nav { gap: 14px; }
  .oc-nav a, .oc-top-cta a { white-space: nowrap; }
}
@media (max-width: 1080px) { .oc-nav { display: none; } }

/* Narrow screens */
@media (max-width: 1040px) {
  .oc-hero-in, .oc-faq-wrap, .oc-start { grid-template-columns: 1fr; gap: 40px; }
  .oc-steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .oc-pillars, .oc-abilities, .oc-views { grid-template-columns: 1fr 1fr; }
  .oc-sec, .oc-hero { padding-block: 64px; }
}
/* Under 880 px (scrollbar and padding counted) the ring would draw its labels under 14 px: the list instead */
@media (max-width: 880px) {
  .oc-ring { display: none; }
  .oc-ring-table { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal; display: grid; gap: 26px; }
}
@media (max-width: 620px) {
  .oc-wrap { padding-inline: 18px; }
  .oc-top-in { gap: 12px; }
  .oc-link { display: none; }
  .oc-steps, .oc-pillars, .oc-abilities, .oc-views { grid-template-columns: 1fr; }
  .oc-card-body { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .oc * { transition: none !important; } }

/* Footer note and legal pages */
.oc-foot-note { font-size: 14px; color: rgba(246, 243, 238, .55); }
.oc-legal { padding-block: 72px 96px; }
.oc-legal h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; margin-bottom: 24px; }
.oc-legal p { color: var(--body); max-width: 40em; }
.oc-legal-note { font-size: 15px; font-weight: 600; }
.oc-legal-text { margin-block: 32px; }
.oc-legal-text h2 { font-size: 22px; line-height: 1.25; margin-block: 36px 12px; }
.oc-legal-text p { margin-bottom: 12px; }
.oc-legal-text ol, .oc-legal-text ul { color: var(--body); max-width: 40em; padding-left: 1.4em; }
.oc-legal-text li { margin-bottom: 8px; }
.oc-legal-text hr { margin-block: 36px; border: 0; border-top: 1px solid var(--line); }
.oc-legal-text a { color: var(--accent-text); text-decoration: underline; }

/* Sign-up form */
.oc-form { display: grid; gap: 10px; max-width: 30em; margin-top: 28px; }
.oc-form label { font-size: 15px; color: var(--body); }
.oc-form input[type="text"], .oc-form input[type="email"], .oc-form input[type="password"], .oc-form textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.oc-form textarea { width: 100%; resize: vertical; }
.oc-form .oc-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; }
.oc-form .oc-check input { margin-top: 5px; }
.oc-form .oc-check a { color: var(--accent-text) !important; text-decoration: underline; }
.oc-form .oc-btn { justify-self: start; margin-top: 12px; border: 0; cursor: pointer; }
.oc-form-message { min-height: 1.6em; color: var(--body); }
/* What a field is for, under it: read before typing, so at the size of the labels */
.oc-form .oc-field-hint { margin: -4px 0 6px !important; font-size: 15px; color: var(--body); }
.oc-form .oc-field-hint + .oc-field-hint { margin-top: -10px !important; }

/* Sign-in page. Frappe's login script shows one section at a time and the error or the
   confirmation in it; it writes its status into the button marked btn-primary, which therefore
   keeps the look of .oc-btn against the website bundle's Bootstrap. */
.oc-login .for-forgot, .oc-login .for-login-with-email-link, .oc-login .for-signup,
.oc-login .login-error-banner, .oc-login .login-success-banner, .oc-login .resend-link { display: none; }
.oc-login .page-card-body, .oc-login .form-group { display: grid; gap: 10px; margin: 0; }
.oc-login .login-error-banner, .oc-login .login-success-banner { margin: 0; padding: 12px 16px; background: var(--paper); color: var(--ink); border-left: 3px solid var(--alert); }
.oc-login .login-success-banner { border-left-color: var(--hold); }
.oc-login .field-error { margin: 0; color: var(--alert); font-size: 15px; }
.oc-login .field-error:empty { display: none; }
.oc-login .oc-btn.btn-primary, .oc-login .oc-btn.btn-primary:focus,
.oc-login .oc-btn.btn-primary:not(:disabled):not(.disabled):active { background: var(--accent); border: 0; box-shadow: none; color: var(--ink) !important; }
.oc-login .oc-btn.btn-primary:not(:disabled):hover { background: var(--accent-light); }
.oc-login .oc-btn:disabled { opacity: .5; cursor: default; }
.oc-login .resend-link { gap: .4em; margin: 0; }
.oc-login-ways { display: flex; flex-wrap: wrap; gap: 0 32px; margin-top: 20px; }
.oc-login-ways a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink) !important; text-decoration: underline; text-underline-offset: 3px; }
.oc-login-new { max-width: 30em; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.oc-login-new p { margin: 0 !important; }

/* The footer repeats a link of the top bar only at the width where the top bar drops it */
.oc-foot .oc-foot-narrow, .oc-foot nav .oc-foot-phone { display: none; }
@media (max-width: 1080px) { .oc-foot .oc-foot-narrow { display: flex; } }
@media (max-width: 620px) { .oc-foot nav .oc-foot-phone { display: inline-flex; } }

/* Target size (B12 rule 3): every control that stands on its own is at least 44 x 44 px -- the
   links in the top and bottom bars, the questions of the FAQ, and the consent box together with
   its sentence. Links inside running text keep their size. */
.oc-nav a, .oc-foot nav a, .oc-top-in > a { display: inline-flex; align-items: center; min-height: 44px; }
.oc-faq summary { min-height: 44px; align-items: center; }
.oc-form .oc-check { min-height: 44px; align-items: center; cursor: pointer; }
.oc-form .oc-check input { margin-top: 0; width: 24px; height: 24px; flex-shrink: 0; cursor: pointer; }
/* A checkbox is a square with rounded corners. Frappe's website bundle sizes every checkbox by
   --checkbox-size (14 px, the width with !important), so the size is set through that variable. */
.oc { --checkbox-size: 24px; --checkbox-right-margin: 0px; }
.oc .oc-check input[type="checkbox"] { border: 2px solid var(--muted); border-radius: 6px; background-color: var(--paper); background-size: 16px 14px; }
.oc .oc-check input[type="checkbox"]:checked { background-color: var(--ink); border-color: var(--ink); }
.oc .oc-check input[type="checkbox"]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.oc-btn-plain, .oc-top-cta .oc-link { display: inline-flex; align-items: center; min-height: 44px; }

/* Phone width: the top bar keeps the mark and the one button. Stated after the target-size rules,
   which would otherwise show the sign-in link again. */
@media (max-width: 620px) {
  .oc-top-cta .oc-link, .oc-beta { display: none; }
}

/* A page with one task (the sign-up): the top bar keeps the mark and the way back */
.oc-top-focus { margin-left: auto; }
.oc-top-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--body) !important; font-size: 15px; }
.oc-top-back:hover { color: var(--ink) !important; }

/* The eye in a password field (owner, 13.11.2026): inside the field, at its right end */
.oc-pw { position: relative; display: grid; }
.oc-pw input { width: 100%; padding-right: 52px !important; }
/* Edge draws its own reveal button inside a password field; the eye is the one */
.oc-pw input::-ms-reveal, .oc-pw input::-ms-clear { display: none; }
.oc .oc-eye { position: absolute; top: 0; right: 0; bottom: 0; width: 48px; min-height: 44px; display: grid; place-items: center; margin: 0; padding: 0; border: 0; border-radius: 0 6px 6px 0; background: transparent; color: var(--ink); cursor: pointer; }
.oc .oc-eye:hover { background: var(--shade); }
.oc .oc-eye:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.oc-eye svg { width: 22px; height: 22px; }
.oc-eye .oc-eye-off, .oc-eye[data-visible] .oc-eye-on { display: none; }
.oc-eye[data-visible] .oc-eye-off { display: block; }

/* The sign-up (variant B, owner 13.11.2026): the way in three steps, the form, beside it what is
   kept and what Ocul promises. On a phone: heading, the box, the form, the promises. */
.oc-register .oc-journey { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin: 0 0 36px; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.oc-journey li { display: inline-flex; align-items: center; gap: 8px; }
.oc-journey li + li::before { content: ""; width: 36px; height: 2px; margin-inline: 12px; background: var(--line); }
.oc-journey-dot { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--muted); font-size: 14px; font-weight: 700; color: var(--muted); }
.oc-journey-done { color: var(--body); }
.oc-journey-done .oc-journey-dot { background: var(--hold); border-color: var(--hold); color: #fff; }
.oc-journey-now { color: var(--ink); font-weight: 600; }
.oc-journey-now .oc-journey-dot { background: var(--ink); border-color: var(--ink); color: #fff; }

/* The box spans the heading and the top of the form, so the form follows the heading at once */
.oc-reg { display: grid; grid-template-columns: minmax(0, 30em) minmax(0, 23em); grid-template-rows: auto auto 1fr; grid-template-areas: "head box" "form box" "form promises"; gap: 24px clamp(40px, 6vw, 96px); align-items: start; }
.oc-reg-head { grid-area: head; min-width: 0; }
.oc-reg-box { grid-area: box; }
.oc-reg-form { grid-area: form; min-width: 0; }
.oc-reg-promises { grid-area: promises; }
.oc-reg-head h1 { margin-bottom: 16px; }
.oc-reg-head p + p { margin-top: 8px; }
.oc-register .oc-form { gap: 20px; }
.oc-field { display: grid; gap: 6px; }
.oc-register .oc-form .oc-field-hint { margin: 0 !important; }
/* Stated through .oc-legal, whose paragraphs otherwise take the colour of running text */
.oc-legal .oc-field-error { margin: 0 !important; color: var(--alert); font-size: 15px; }
.oc-field-error:empty { display: none; }
.oc-field-error a { color: var(--alert) !important; font-weight: 600; text-decoration: underline; }
.oc-field-note { color: var(--body); }
.oc-form input[aria-invalid="true"] { border-color: var(--alert); box-shadow: 0 0 0 1px var(--alert); }
.oc .oc-suggest { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; padding: 0; border: 0; background: none; color: var(--accent-text); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.oc-pw-rule.oc-ok { color: var(--hold); }
.oc-pw-rule.oc-ok::before { content: "✓ "; font-weight: 700; }
.oc-info { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; margin: -12px -8px; color: var(--accent-text) !important; font-size: 18px; text-decoration: none; }
.oc-register .oc-field .oc-check { margin-top: 0; }
.oc-optional { margin: 0; padding: 4px 16px 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.oc-optional legend { width: auto; margin: 0; padding: 0 6px; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.oc-optional .oc-check { margin-top: 0; }
.oc-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.oc-reg-box { display: grid; gap: 6px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.oc-register .oc-reg-box p { margin: 0; }
.oc-reg-box-label { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) !important; }
.oc-reg-box-title { font-family: var(--serif); font-size: 22px; line-height: 1.25; color: var(--ink) !important; }
.oc-reg-box-text { font-size: 15px; }
.oc-reg-box-try { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent-text) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.oc-reg-promises h2 { font-size: 21px; margin-bottom: 12px; }
.oc-reg-promises ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--body); }
.oc-reg-promises li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; }
.oc-reg-promises li::before { content: "✓"; color: var(--hold); font-weight: 700; }

@media (max-width: 900px) {
  /* One column in the order of the page: heading, box, form, promises */
  .oc-reg { grid-template-columns: minmax(0, 30em); grid-template-rows: none; grid-template-areas: "head" "box" "form" "promises"; }
  .oc-register .oc-journey { margin-bottom: 24px; font-size: 14px; }
  .oc-register .oc-journey { gap: 8px 18px; }
  .oc-journey li + li::before { display: none; }
}
