/* Wypadivo — foundations */
:root {
  --teal: #126A70;
  --teal-dark: #0C4D52;
  --teal-deep: #153840;
  --teal-soft: #E8F1EF;
  --teal-mist: #F0F6F4;
  --ink: #153840;
  --text: #34494D;
  --muted: #6B7F81;
  --bg: #F7F9F8;
  --white: #FFFFFF;
  --line: #E3EAE8;
  --line-strong: #CFDCD8;
  --accent: #F3A65A;
  --accent-soft: #FFF0DF;
  --accent-dark: #C77B31;
  --danger: #B94B42;
  --danger-soft: #FCEBE8;
  --success: #2D7A5F;
  --success-soft: #E8F5EF;
  --warning: #A66A1E;
  --warning-soft: #FFF5E6;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(21, 56, 64, .04);
  --shadow-md: 0 14px 38px rgba(21, 56, 64, .08);
  --shadow-lg: 0 28px 70px rgba(16, 47, 53, .14);
  --font: 'Manrope', 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --container: 1240px;
  --container-wide: 1400px;
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
::selection { color: var(--white); background: var(--teal); }
img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .68; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -.045em; line-height: 1.12; }
h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -.055em; }
h2 { font-size: clamp(28px, 3.1vw, 42px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
ul, ol { margin: 0; padding: 0; }
em { font-style: normal; }
fieldset { border: 0; margin: 0; padding: 0; }
[hidden] { display: none !important; }
.is-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;
}
.skip-link {
  position: fixed; top: -100px; left: 20px; z-index: 1000; padding: 12px 18px;
  border-radius: 0 0 12px 12px; background: var(--teal-deep); color: var(--white);
  font-weight: 700; transition: top .2s ease;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid rgba(18, 106, 112, .35); outline-offset: 3px; }
.site { overflow: clip; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.container-wide { width: min(var(--container-wide), calc(100% - 48px)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  color: var(--teal); font-size: 11px; font-weight: 800; line-height: 1.3;
  letter-spacing: .15em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
.eyebrow-light { color: rgba(255, 255, 255, .72); }
.eyebrow-light::before { background: var(--accent); }
.section { padding-block: clamp(64px, 7vw, 104px); }
.section-muted { background: var(--white); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-heading h2 { margin-bottom: 10px; }
.section-description { max-width: 620px; margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.section-heading-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
  margin-bottom: clamp(30px, 3.5vw, 44px);
}
.section-heading-row .section-heading { margin-bottom: 0; }
.section-heading-row > .text-link { margin-bottom: 7px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered .section-description { margin-inline: auto; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; padding-block: 4px;
  border: 0; background: transparent; color: var(--teal); font-size: 13.5px;
  font-weight: 800; white-space: nowrap;
}
.text-link .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link-light { color: #F8D7B4; }
.text-link-light:hover { color: var(--white); }
.text-button {
  display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0;
  background: none; color: inherit; font-size: 13px; font-weight: 700;
}
.text-button:hover { color: var(--teal); }
.text-muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 12px 21px; border: 1px solid transparent;
  border-radius: 999px; background: transparent; color: var(--ink);
  font-size: 13.5px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em;
  white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 17px; height: 17px; }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 6px 16px rgba(18, 106, 112, .18); }
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 10px 22px rgba(18, 106, 112, .24); }
.btn-secondary { border-color: var(--line-strong); background: var(--white); color: var(--ink); }
.btn-secondary:hover { border-color: #B8CBC6; background: #FBFDFC; }
.btn-accent { background: var(--accent); color: #3C260F; box-shadow: 0 8px 20px rgba(243, 166, 90, .24); }
.btn-accent:hover { background: #F7B46E; }
.btn-ghost { border-color: transparent; background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--teal-mist); color: var(--teal); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .22); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #9E3D35; }
.btn-sm { min-height: 38px; padding: 9px 15px; font-size: 12.5px; }
.btn-xs { min-height: 31px; padding: 6px 11px; font-size: 11.5px; }
.btn-lg { min-height: 54px; padding: 15px 25px; font-size: 14.5px; }
.btn-block { width: 100%; }
.is-loading::after {
  content: ''; width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.icon-button {
  width: 38px; height: 38px; display: inline-flex; align-items: center;
  justify-content: center; padding: 0; border: 1px solid var(--line);
  border-radius: 50%; background: var(--white); color: var(--muted); transition: .2s;
}
.icon-button .icon { width: 18px; height: 18px; }
.icon-button:hover { color: var(--teal); border-color: var(--line-strong); background: var(--teal-mist); }
.icon-button.danger:hover { color: var(--danger); background: var(--danger-soft); border-color: #F2C3BD; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; min-height: 25px;
  padding: 4px 9px; border: 1px solid transparent; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; line-height: 1.25; letter-spacing: .01em; white-space: nowrap;
}
.badge .icon { width: 12px; height: 12px; }
.badge-photo { color: var(--ink); background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: 0 2px 8px rgba(15, 40, 45, .12); }
.badge-featured { color: #5F3A12; background: #FCE4C5; }
.badge-verified { color: var(--success); background: var(--success-soft); }
.badge-neutral { color: var(--muted); background: #F2F5F4; }
.badge-demo { color: #5E4C35; background: #F6EFE3; }
.badge-soft { color: var(--teal); background: var(--teal-soft); }
.badge-danger { color: var(--danger); background: var(--danger-soft); }
.badge-warning { color: var(--warning); background: var(--warning-soft); }
.unverified-pill { color: #5E7173; font-size: 10px; font-weight: 600; white-space: nowrap; }
.verified-pill { display: inline-flex; align-items: center; gap: 4px; color: var(--success); font-size: 10px; font-weight: 700; white-space: nowrap; }
.verified-pill .icon { width: 13px; height: 13px; }

.avatar {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; border-radius: 50%; background: var(--teal-soft); color: var(--teal);
  font-size: 12px; font-weight: 800; letter-spacing: -.02em;
}
.avatar-sm { width: 34px; height: 34px; font-size: 10.5px; }
.avatar-xs { width: 25px; height: 25px; font-size: 8.5px; }
.avatar-xl { width: 70px; height: 70px; font-size: 20px; }
.avatar-xxl { width: 112px; height: 112px; font-size: 30px; border: 4px solid var(--white); box-shadow: var(--shadow-md); }

.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.status-published .status-dot, .status-dot.status-published { background: var(--success); }
.status-pending .status-dot, .status-dot.status-pending { background: var(--accent-dark); }
.status-draft .status-dot, .status-dot.status-draft { background: #849A9C; }
.status-paused .status-dot, .status-dot.status-paused { background: #A88B44; }
.status-archived .status-dot, .status-dot.status-archived { background: #7D8D8E; }
.status-new .status-dot, .status-dot.status-new { background: var(--teal); }
.status-read .status-dot, .status-dot.status-read { background: #6F8F90; }
.status-replied .status-dot, .status-dot.status-replied { background: var(--success); }
.status-badge {
  display: inline-flex; align-items: center; gap: 6px; min-height: 24px;
  padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; white-space: nowrap;
}
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.status-badge.status-published { color: var(--success); background: var(--success-soft); }
.status-badge.status-pending { color: var(--warning); background: var(--warning-soft); }
.status-badge.status-draft { color: #637779; background: #EFF3F2; }
.status-badge.status-paused { color: #8A6C2B; background: #F8F1E2; }
.status-badge.status-archived { color: #657678; background: #EEF2F1; }
.status-badge.status-rejected { color: var(--danger); background: var(--danger-soft); }
.status-badge.status-expired { color: #6B5A50; background: #F1EDEA; }
.status-badge.status-new { color: var(--teal); background: var(--teal-soft); }
.status-badge.status-read { color: #5F7779; background: #EFF3F2; }
.status-badge.status-replied { color: var(--success); background: var(--success-soft); }
.status-badge.status-blocked { color: var(--danger); background: var(--danger-soft); }

/* Demo bar */
.demo-bar { background: var(--teal-deep); color: rgba(255, 255, 255, .78); font-size: 11.5px; }
.demo-bar-inner { min-height: 33px; display: flex; align-items: center; gap: 10px; }
.demo-bar p { flex: 1; line-height: 1.35; }
.demo-bar a { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: var(--white); font-weight: 700; white-space: nowrap; }
.demo-bar a .icon { width: 12px; height: 12px; }
.demo-pill { padding: 2px 6px; border-radius: 5px; background: var(--accent); color: #42280E; font-size: 8.5px; font-weight: 800; letter-spacing: .1em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 70; background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid transparent; backdrop-filter: blur(16px);
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(20, 55, 62, .04); }
.header-inner { height: var(--header-height); display: flex; align-items: center; gap: 34px; }
.brand-link { display: inline-flex; flex-shrink: 0; color: var(--teal); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: auto; color: var(--teal); flex-shrink: 0; }
.brand-name { color: var(--ink); font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: -.02em; line-height: .85; padding-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 27px; margin-left: 12px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 27px 0; border: 0;
  background: none; color: #4C6165; font-size: 13.5px; font-weight: 700;
  list-style: none; cursor: pointer; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 18px; left: 0; right: 0; height: 2px;
  border-radius: 2px; background: var(--teal); transform: scaleX(0); transition: transform .2s;
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link .chevron { width: 13px; height: 13px; transition: transform .2s; }
.nav-dropdown[open] > summary .chevron { transform: rotate(180deg); }
summary::-webkit-details-marker { display: none; }
.nav-dropdown { position: relative; }
.nav-dropdown-panel {
  position: absolute; top: calc(100% - 8px); left: -190px; width: 620px; padding: 20px;
  border: 1px solid var(--line); border-radius: 23px; background: var(--white);
  box-shadow: var(--shadow-lg); animation: dropdownIn .18s ease both;
}
@keyframes dropdownIn { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }
.nav-dropdown-head {
  display: flex; align-items: center; justify-content: space-between; padding: 0 5px 13px;
  border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px;
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.nav-dropdown-head a { display: flex; align-items: center; gap: 5px; color: var(--teal); font-size: 11px; letter-spacing: 0; text-transform: none; }
.nav-dropdown-head .icon { width: 13px; height: 13px; }
.nav-category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 12px; padding: 12px 0; }
.nav-category-link { display: flex; align-items: center; gap: 11px; padding: 9px 7px; border-radius: 11px; transition: .18s; }
.nav-category-link:hover { background: var(--teal-mist); }
.nav-category-icon { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--bg); color: var(--teal); }
.nav-category-icon .icon { width: 17px; height: 17px; }
.nav-category-link strong { display: block; color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.35; }
.nav-category-link small { display: block; color: var(--muted); font-size: 10px; }
.nav-dropdown-map { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: 13px; background: var(--teal-mist); color: var(--ink); }
.nav-dropdown-map > span:first-child { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--teal); color: var(--white); }
.nav-dropdown-map > span:nth-child(2) { flex: 1; }
.nav-dropdown-map strong { display: block; font-size: 12px; }
.nav-dropdown-map small { display: block; color: var(--muted); font-size: 10px; }
.nav-dropdown-map > .icon { width: 15px; height: 15px; color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.header-icon-btn {
  position: relative; width: 39px; height: 39px; display: inline-flex; align-items: center;
  justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: .2s;
}
.header-icon-btn .icon { width: 18px; height: 18px; }
.header-icon-btn:hover { background: var(--teal-mist); border-color: var(--line-strong); color: var(--teal); }
.icon-badge {
  position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px;
  display: flex; align-items: center; justify-content: center; padding-inline: 4px;
  border: 2px solid var(--white); border-radius: 999px; background: var(--accent);
  color: #3B260E; font-size: 8.5px; font-weight: 800;
}
.header-login { padding: 9px 8px; color: var(--ink); font-size: 13px; font-weight: 700; }
.header-login:hover { color: var(--teal); }
.header-register {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.header-register:hover { border-color: #BFD5D0; background: var(--teal-mist); }
.header-cta { margin-left: 3px; }
.user-menu { position: relative; }
.user-menu-trigger { display: flex; align-items: center; gap: 7px; padding: 3px 6px 3px 3px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; list-style: none; }
.user-menu-trigger:hover { border-color: var(--line); background: #FBFDFC; }
.user-menu-trigger .chevron { width: 12px; height: 12px; color: var(--muted); }
.user-menu-name { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.user-menu-panel {
  position: absolute; top: calc(100% + 12px); right: 0; width: 270px; padding: 8px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--white);
  box-shadow: var(--shadow-lg); animation: dropdownIn .18s ease both;
}
.user-menu-head { display: flex; align-items: center; gap: 10px; padding: 9px 8px 13px; border-bottom: 1px solid var(--line); }
.user-menu-head div { min-width: 0; }
.user-menu-head strong { display: block; color: var(--ink); font-size: 12px; }
.user-menu-head small { display: block; color: var(--muted); font-size: 10px; overflow: hidden; text-overflow: ellipsis; }
.user-menu-links { padding: 7px 0; }
.user-menu-links a { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 9px; color: var(--text); font-size: 12px; font-weight: 600; }
.user-menu-links a:hover { background: var(--teal-mist); color: var(--teal); }
.user-menu-links .icon { width: 15px; height: 15px; }
.menu-count { min-width: 19px; height: 19px; display: inline-flex; align-items: center; justify-content: center; margin-left: auto; padding-inline: 5px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-size: 9px; font-weight: 800; }
.logout-form { padding: 4px 8px 6px; border-top: 1px solid var(--line); }
.logout-form .text-button { width: 100%; padding: 8px 0 3px; color: var(--muted); }
.mobile-menu-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.mobile-menu-toggle .icon { width: 20px; height: 20px; }
.mobile-menu-overlay, .mobile-menu { display: none; }

/* Flash and toast */
.flash-region { position: relative; z-index: 55; display: grid; gap: 8px; padding-top: 14px; }
.flash {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 13px; background: var(--white);
  box-shadow: var(--shadow-sm); animation: flashIn .25s ease both;
}
.flash p { flex: 1; font-size: 12.5px; font-weight: 600; }
.flash-icon { width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.flash-icon .icon { width: 15px; height: 15px; }
.flash-success { border-color: #CCE4D8; background: #F8FDFA; }
.flash-success .flash-icon { background: var(--success-soft); color: var(--success); }
.flash-error { border-color: #F2C9C3; background: #FFFBF9; }
.flash-error .flash-icon { background: var(--danger-soft); color: var(--danger); }
.flash-info { border-color: #CFE2DF; background: #F9FCFB; }
.flash-info .flash-icon { background: var(--teal-soft); color: var(--teal); }
.flash-close { border: 0; background: none; color: var(--muted); padding: 3px; }
.flash-close .icon { width: 14px; height: 14px; }
.flash.is-leaving { opacity: 0; transform: translateY(-4px); transition: .2s; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-5px); } }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: grid; gap: 8px; width: min(360px, calc(100vw - 32px)); }
.toast {
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 13px;
  background: var(--teal-deep); color: var(--white); box-shadow: var(--shadow-lg);
  font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: .25s;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast-error { background: #7A312B; }
.toast-success { background: #205E4A; }

/* Shared heading */
.page-heading { padding: clamp(34px, 5vw, 64px) 0 clamp(38px, 5vw, 60px); border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #F2F7F5, #FAFAF7); }
.page-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-top: 20px; }
.page-heading h1 { margin-bottom: 14px; max-width: 900px; }
.page-heading-row > div:first-child > p { max-width: 720px; color: var(--muted); font-size: 15px; }
.page-heading-note { max-width: 300px; flex-shrink: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .7); }
.page-heading-note-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--teal-soft); color: var(--teal); }
.page-heading-note-icon .icon { width: 16px; height: 16px; }
.page-heading-note p { margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #5E7173; font-size: 9.5px; font-weight: 600; }
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs-light { color: rgba(255, 255, 255, .55); }
.breadcrumbs-light a:hover { color: var(--white); }

/* Forms */
.form-grid { display: grid; gap: 13px; }
.form-grid-2 { grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field > span, .form-label { color: var(--ink); font-size: 11px; font-weight: 700; }
.form-field > span em, .consent-row em { color: var(--danger); font-style: normal; }
.form-field > span small { color: var(--muted); font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: #FCFDFC; color: var(--ink); font-size: 12px;
  line-height: 1.5; outline: 0; transition: .18s;
}
.form-field input, .form-field select { height: 42px; }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 3px rgba(18, 106, 112, .07); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #93A3A4; }
.form-field input:disabled { color: #829395; background: #F4F7F6; cursor: not-allowed; }
.form-field input.is-invalid, .form-field select.is-invalid, .form-field textarea.is-invalid { border-color: var(--danger); background: #FFFCFB; }
.form-field small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.form-field small.is-success { color: var(--success); }
.form-field-full { grid-column: 1 / -1; }
.field-error { display: block; margin-top: 2px; color: var(--danger); font-size: 9.5px; font-weight: 600; line-height: 1.45; }
.input-with-icon { position: relative; }
.input-with-icon > .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.input-with-icon > input { padding-left: 36px; }
.password-field { position: relative; }
.password-field input { padding-right: 42px; }
.password-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 31px; height: 31px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 7px; background: transparent; color: var(--muted); }
.password-toggle:hover, .password-toggle.is-visible { color: var(--teal); background: var(--teal-mist); }
.password-toggle .icon { width: 15px; height: 15px; }
.consent-row { display: flex; align-items: flex-start; gap: 9px; margin-top: 15px; color: var(--muted); font-size: 10px; line-height: 1.55; cursor: pointer; }
.consent-row input { width: 14px; height: 14px; margin: 2px 0 0; accent-color: var(--teal); flex-shrink: 0; }
.consent-row a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.consent-row-soft { color: #5E7173; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-errors {
  display: flex; align-items: flex-start; gap: 11px; padding: 14px;
  margin-bottom: 16px; border: 1px solid #F0C9C3; border-radius: 13px;
  background: #FFFBF9; color: #7C443D;
}
.form-errors > span { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--danger-soft); color: var(--danger); flex-shrink: 0; }
.form-errors .icon { width: 15px; height: 15px; }
.form-errors p { font-size: 11px; line-height: 1.55; }
.form-errors strong { display: block; margin-bottom: 3px; font-size: 11.5px; }
.form-tip { display: flex; gap: 8px; padding: 12px 13px; margin-top: 14px; border-radius: 10px; background: var(--teal-mist); color: var(--muted); font-size: 10px; line-height: 1.55; }
.form-tip .icon { width: 14px; height: 14px; flex-shrink: 0; color: var(--teal); }
.form-section { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.form-section-head { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 17px; }
.form-section-head > span { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-size: 9px; font-weight: 800; flex-shrink: 0; }
.form-section-head h2 { margin-bottom: 2px; font-size: 18px; }
.form-section-head p { color: var(--muted); font-size: 10.5px; }
.form-actions { display: flex; align-items: center; gap: 14px; padding-top: 6px; }
.form-actions-note { color: var(--muted); font-size: 9.5px; }
.info-box { display: flex; align-items: flex-start; gap: 9px; padding: 14px 15px; margin-top: 22px; border: 1px solid #D6E5E1; border-radius: 12px; background: var(--teal-mist); color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.info-box .icon { width: 15px; height: 15px; flex-shrink: 0; color: var(--teal); }
.info-box.compact { margin-top: 12px; padding: 12px; font-size: 9.5px; }
.info-box strong { color: var(--ink); }

/* Empty */
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(48px, 7vw, 80px) 25px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--white); }
.empty-state-icon { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 50%; background: var(--teal-mist); color: var(--teal); }
.empty-state-icon .icon { width: 25px; height: 25px; }
.empty-state h2, .empty-state h3 { margin-bottom: 7px; font-size: 24px; }
.empty-state p { max-width: 480px; color: var(--muted); font-size: 12px; }
.empty-state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 19px; }
.empty-state-page { min-height: 380px; justify-content: center; }
.empty-state-compact { flex-direction: row; text-align: left; align-items: center; gap: 16px; padding: 20px; border-style: solid; }
.empty-state-compact .empty-state-icon { width: 43px; height: 43px; margin: 0; flex-shrink: 0; }
.empty-state-compact h3 { margin-bottom: 2px; font-size: 15px; }
.empty-state-compact p { font-size: 11px; }
.empty-state-compact .btn { margin-left: auto; flex-shrink: 0; }
.empty-inline { display: flex; align-items: center; gap: 8px; padding: 24px 10px; color: var(--muted); font-size: 11px; }
.empty-inline .icon { width: 16px; height: 16px; }

/* Footer */
.site-footer { background: var(--teal-deep); color: rgba(255, 255, 255, .62); }
.footer-top { display: grid; grid-template-columns: 1.5fr .75fr .85fr .75fr; gap: 50px; padding-block: 64px 52px; }
.footer-logo { color: var(--teal); }
.footer-logo .brand-mark { color: var(--white); }
.footer-logo .brand-name { color: var(--white); font-size: 28px; }
.footer-brand > p { max-width: 340px; margin-top: 17px; color: rgba(255, 255, 255, .55); font-size: 12px; line-height: 1.7; }
.footer-mail { display: inline-flex; align-items: center; gap: 5px; margin-top: 18px; color: #EBC18D; font-size: 11px; font-weight: 700; }
.footer-mail .icon { width: 13px; height: 13px; }
.footer-column { display: flex; flex-direction: column; gap: 9px; }
.footer-column h2 { color: var(--white); margin-bottom: 6px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-column a { color: rgba(255, 255, 255, .58); font-size: 11.5px; font-weight: 500; }
.footer-column a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 18px 22px; border-top: 1px solid rgba(255, 255, 255, .1); color: #AFC0C1; font-size: 10.5px; }
.footer-bottom-left, .footer-bottom-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom-right a:hover { color: var(--white); }
.footer-demo-note { color: #F3C78C; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
