/* Portrait of Home: shared look for the website, the agency portal and the back office. Fonts are hosted here. */
@font-face { font-family: Archivo; font-weight: 700; font-display: swap; src: url(../fonts/archivo-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Archivo; font-weight: 800; font-display: swap; src: url(../fonts/archivo-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'); }

:root {
  --ink: #1C2426; --muted: #4A5558; --paper: #F5F4F0; --paper-2: #ECEAE3; --line: #D8D5CC; --field: #7E8486;
  --slate: #1E2A2C; --slate-line: #3A4A4C; --on-slate: #F5F4F0; --on-slate-muted: #B9C2C0;
  --brass: #D9A441; --brass-hover: #C99335; --brass-text: #7A4F0E; --oak: #C99A63;
  --ok: #2F6B3F; --warn: #8A5A00; --bad: #A13A2A;
  --head: Archivo, 'Helvetica Neue', Arial, sans-serif; --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--brass-text); }
a:hover { color: #5C3A08; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.kick { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-text); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.small { font-size: 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 36em; text-wrap: pretty; }
.t-xl { font-weight: 800; font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; }
.t-l { font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; text-wrap: balance; }
.t-m { font-weight: 700; font-size: 21px; line-height: 1.2; }
.section { padding: 88px 0; }
.band { background: var(--paper-2); }
.dark { background: var(--slate); color: var(--on-slate); }
.dark .muted, .dark .lead { color: var(--on-slate-muted); }
.dark .kick { color: var(--brass); }
.dark a { color: var(--brass); }
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 250px), 100%), 1fr)); }
.split { display: grid; gap: 56px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 4px; border: 1px solid transparent;
  font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer; background: var(--brass); color: var(--ink); }
.btn:hover { background: var(--brass-hover); color: var(--ink); }
.btn.ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--paper-2); }
.btn.dark-btn { background: var(--ink); color: var(--paper); }
.btn.dark-btn:hover { background: #2E3B3E; color: var(--paper); }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn.danger { background: transparent; border-color: var(--bad); color: var(--bad); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

header.site { border-bottom: 1px solid var(--line); background: var(--paper); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 800; font-size: 21px; }
.brand:hover { color: var(--ink); }
nav.main { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; font-size: 15px; font-weight: 500; }
nav.main a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
nav.main a:hover { color: var(--brass-text); }
nav.main a.btn { padding: 10px 16px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.rule-top { border-top: 2px solid var(--ink); padding-top: 18px; }
.tile { background: var(--slate); padding: 26px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 0 0 1px var(--slate-line); }
.tiles { display: grid; gap: 1px; padding: 1px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.price { font-family: var(--mono); font-size: 14px; }
.ph { background: repeating-linear-gradient(135deg, #ECEAE3 0 10px, #E4E1D8 10px 20px); border: 1px solid var(--line); border-radius: 4px; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; }
.ph span { background: var(--paper); padding: 4px 8px; font-family: var(--mono); font-size: 12px; color: #5E6668; }

label { font-weight: 600; font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field .hint { font-size: 14px; color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=date], input[type=number], input[type=password], input[type=month], select, textarea {
  font: 400 16px/1.4 var(--body); color: var(--ink); background: #fff; border: 1px solid var(--field); border-radius: 4px; padding: 11px 13px; width: 100%; min-height: 46px; }
textarea { min-height: 96px; resize: vertical; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; font-weight: 400; cursor: pointer; padding-top: 10px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.msg { padding: 14px 16px; border-radius: 4px; border: 1px solid var(--line); background: #fff; }
.msg.ok { border-color: var(--ok); color: var(--ok); }
.msg.err { border-color: var(--bad); color: var(--bad); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

table.plain { width: 100%; border-collapse: collapse; }
table.plain th, table.plain td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plain th { font-weight: 600; border-bottom: 2px solid var(--ink); }
.num { text-align: right !important; font-family: var(--mono); white-space: nowrap; }

footer.site { background: var(--slate); color: var(--on-slate-muted); font-size: 14px; }
footer.site .wrap { padding-top: 48px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
footer.site a { color: var(--on-slate); }
