/* Obritia · obritiaes.app
   VOICE   everyday, plain and confident; a sign at a building-supply counter
   IDEA    a site hoarding: one petrol board, the name, one line, one way to call
   PICTURE the wordmark itself, large, with terracotta square i-dots like set-out marks
   COLOUR  flat petrol ground, off-white ink, terracotta only in the dots and the button
   TYPE    Manrope 700 headings + buttons, Inter body (self-hosted, no third-party requests)
   LAYOUT  one screen, content low-centre on phone with buttons in thumb reach; same column on laptop
   Tokens follow the Obritia brand kit (Design_Assets/Obritia/tokens.css). */

@font-face{font-family:Manrope;src:url("/fonts/Manrope-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url("/fonts/Inter-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url("/fonts/Inter-SemiBold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}

:root{
  --petrol:#0F3D3E;
  --offwhite:#F6F3EE;          /* ink on petrol, 10.8:1 */
  --muted:#C9D6D3;             /* secondary text on petrol, 8:1 */
  --terra-strong:#B65021;      /* button fill under white text, 5.0:1 */
  --terra-hover:#9C441C;
  --line:rgba(246,243,238,.14);
  --radius:8px;
  --display:Manrope,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --sans:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color-scheme:dark;
}

*{box-sizing:border-box;min-width:0}
html,body{height:100%}
body{margin:0;background:var(--petrol);color:var(--offwhite);font:16px/1.55 var(--sans);-webkit-font-smoothing:antialiased;overflow-x:clip}

/* Faint set-out grid behind the top of the board */
.grid{position:fixed;inset:0;pointer-events:none;opacity:.07;
  background-image:linear-gradient(var(--offwhite) 1px,transparent 1px),linear-gradient(90deg,var(--offwhite) 1px,transparent 1px);
  background-size:32px 32px;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,transparent 70%);mask-image:linear-gradient(180deg,#000 0%,transparent 70%)}

.page{min-height:100%;min-height:100svh;display:flex;flex-direction:column;
  padding-top:max(24px,env(safe-area-inset-top,0px));
  padding-bottom:max(20px,env(safe-area-inset-bottom,0px));
  padding-left:max(6vw,20px,env(safe-area-inset-left,0px));
  padding-right:max(6vw,20px,env(safe-area-inset-right,0px))}

main{position:relative;flex:1;display:flex;flex-direction:column;justify-content:center;width:100%;max-width:720px;margin:0 auto;padding-block:8vh 4vh}

/* Wordmark: outlined SVG so it never falls back to another font */
.mark{margin:0;line-height:0}
.mark img{display:block;width:clamp(200px,64vw,440px);height:auto}

.tag{font:700 clamp(24px,6.4vw,36px)/1.15 var(--display);letter-spacing:-.02em;margin:clamp(20px,4vw,32px) 0 0;max-width:16em}
.tag span{display:block;color:var(--muted)}
.lede{margin:20px 0 0;max-width:34em;color:var(--muted);font-size:17px}

/* Buttons */
.cta{margin-top:clamp(32px,6vh,48px);display:flex;flex-direction:column;gap:12px}
.btns{display:flex;flex-direction:column;gap:12px}
.btn{display:flex;align-items:center;justify-content:center;gap:12px;min-height:60px;padding:14px 28px;border-radius:var(--radius);
  text-decoration:none;font:700 19px/1.2 var(--display);letter-spacing:-.01em;transition:background-color .15s,border-color .15s,transform .15s}
.btn svg{width:26px;height:26px;flex:none}
.btn:focus-visible{outline:3px solid var(--offwhite);outline-offset:3px}
.btn:active{transform:translateY(1px)}

.wa{background:var(--terra-strong);color:#fff}
.wa:hover{background:var(--terra-hover)}

.mail{border:2px solid rgba(246,243,238,.4);color:var(--offwhite)}
.mail:hover{border-color:var(--offwhite);background:rgba(246,243,238,.06)}
.mail small{display:block;font:400 14px/1.3 var(--sans);color:var(--muted)}

.note{margin:0;font-size:14px;color:var(--muted);text-align:center}
.note b{color:var(--offwhite);font-weight:600;white-space:nowrap}

footer{position:relative;width:100%;max-width:720px;margin:0 auto;padding-top:24px;border-top:1px solid var(--line);
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;font-size:14px;color:var(--muted)}
footer a{color:inherit;text-decoration:none}
footer a:hover{color:var(--offwhite);text-decoration:underline}
footer .links{display:flex;flex-wrap:wrap;gap:8px 20px}

/* Text pages (aviso legal) */
main.doc{justify-content:flex-start;padding-block:6vh 8vh}
.mark-sm img{width:clamp(140px,36vw,180px)}
.doc .tag{margin-top:clamp(32px,6vh,56px)}
.doc h2{font:700 20px/1.3 var(--display);letter-spacing:-.01em;margin:44px 0 12px}
.doc p,.doc li{color:var(--muted);max-width:38em}
.doc p{margin:0 0 12px}
.doc .lede{margin-top:16px}
.doc ul{margin:0;padding-left:1.1em}
.doc li{margin:0 0 10px}
.doc li::marker{color:var(--muted)}
.doc strong{color:var(--offwhite);font-weight:600}
.doc a{color:var(--offwhite);text-decoration:underline;text-underline-offset:2px}
.doc a:focus-visible,.mark a:focus-visible,footer a:focus-visible{outline:3px solid var(--offwhite);outline-offset:3px;border-radius:2px}
.doc dl{margin:16px 0 0;display:grid;gap:2px 24px}
.doc dt{font-size:14px;color:var(--muted)}
.doc dd{margin:0 0 12px;color:var(--offwhite)}
.doc .updated{margin-top:44px;font-size:14px}
@media(min-width:560px){
  .doc dl{grid-template-columns:max-content 1fr}
  .doc dd{margin:0 0 8px}
}

/* Side by side only when each button fits its label on one line */
@media(min-width:800px){
  .btns{flex-direction:row}
  .btn{flex:1}
  .note{text-align:left}
}
@media(prefers-reduced-motion:reduce){.btn{transition:none}}
