/* aify landing (plan A14, 10.11.2026). Fonts are self-hosted (fonts.css). */
:root {
  --navy: #0d2240;
  --navy-deep: #08162b;
  --blue: #0a66ff;
  --blue-dark: #0052d6;
  --ink: #0d2240;
  --ink-soft: #3d4b63;
  --line: #dfe4ee;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --radius: 14px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Unbounded', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0 0 16px; line-height: 1.15; letter-spacing: -0.01em; overflow-wrap: break-word; }
/* Hyphenate only the main heading, where long Polish/Dutch words would not fit (320-400 px).
   Other headings wrap whole words; overflow-wrap still saves a word longer than the line. */
@media (max-width: 400px) { h1 { hyphens: auto; } }
h1, h2 { font-family: var(--font-display); font-weight: 700; }
h2 { font-size: clamp(26px, 3.6vw, 36px); }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow > * { max-width: 760px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { left: -9999px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--navy); font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #6ea8ff; outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 2px solid transparent;
  font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-small { min-height: 40px; padding: 8px 14px; font-size: 15px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: rgba(13, 34, 64, .06); }
.hero .btn-ghost, .section-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero .btn-ghost:hover, .section-dark .btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-deep); color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; }
.logo img { display: block; height: 30px; width: auto; }
.main-nav { display: flex; gap: 22px; }
.main-nav a { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; gap: 2px; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 36px; padding: 6px 8px; border-radius: 8px; color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 13px; font-weight: 600; }
.langs a[aria-current='page'] { background: rgba(255, 255, 255, .16); color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.menu-bar, .menu-bar::before, .menu-bar::after { display: block; width: 22px; height: 2px; margin: 0 auto; background: #fff; border-radius: 2px; position: relative; }
.menu-bar::before, .menu-bar::after { content: ''; position: absolute; left: 0; }
.menu-bar::before { top: -7px; }
.menu-bar::after { top: 7px; }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 80% -10%, #16346a 0%, transparent 60%), linear-gradient(180deg, var(--navy-deep), var(--navy)); color: #fff; padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(26px, 8vw, 56px); }
.hero-grid > *, .cards > *, .steps > *, .price-grid > * { min-width: 0; }
.hero-sub { font-size: clamp(18px, 2vw, 21px); color: rgba(255, 255, 255, .86); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-mock { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); overflow: hidden; max-width: 420px; justify-self: end; width: 100%; }
.mock-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--navy); color: #fff; }
.mock-avatar { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.mock-name { font-weight: 600; }
.mock-badge { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 8px; background: rgba(255, 255, 255, .18); }
.mock-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: #f5f5f7; }
.mock-msg { margin: 0; max-width: 85%; padding: 9px 13px; border-radius: 16px; font-size: 15px; line-height: 1.45; }
.mock-guest { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.mock-bot { align-self: flex-start; background: #e9ebf0; border-bottom-left-radius: 4px; }
.mock-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; background: #fff; }
.mock-caption { margin: 0; font-size: 13px; color: #5a6578; }
.mock-try {
  flex: none; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 10px; cursor: pointer;
  background: #e8f0ff; color: var(--blue-dark); font: 600 15px/1.2 var(--font);
}
.mock-try:hover { background: #d6e4ff; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
/* On the grey background the brand blue is 4.45:1; links there use a darker blue (#79e5, 12.11). */
.section-alt a:not(.btn) { color: #0058e6; }
.section-dark { background: var(--navy); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card p { color: var(--ink-soft); margin: 0; }
.card-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: #e8f0ff; color: var(--blue); margin-bottom: 14px; }
.checklist { list-style: none; margin: 16px 0 0; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin: 10px 0; }
.checklist li::before { content: ''; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.notlist li { padding-left: 34px; }
/* A drawn shield (CSS mask), so screen readers get no extra word and nothing shows if a font fails. */
.notlist li::before {
  content: ''; left: 0; top: .2em; width: 20px; height: 20px; border: 0; transform: none; background: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2 4 5v6c0 5.1 3.4 9.5 8 11 4.6-1.5 8-5.9 8-11V5l-8-3Zm0 2.14 6 2.25V11c0 4-2.5 7.6-6 8.9-3.5-1.3-6-4.9-6-8.9V6.39l6-2.25Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2 4 5v6c0 5.1 3.4 9.5 8 11 4.6-1.5 8-5.9 8-11V5l-8-3Zm0 2.14 6 2.25V11c0 4-2.5 7.6-6 8.9-3.5-1.3-6-4.9-6-8.9V6.39l6-2.25Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (forced-colors: active) { .notlist li::before { forced-color-adjust: none; background: CanvasText; } }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--bg-alt); }
.step p { margin: 0; font-size: 17px; }
.step-num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.price-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.price-label { margin: 0; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #5a6578; }
.price-value { margin: 6px 0 0; font-family: var(--font-display); font-size: clamp(24px, 3vw, 30px); font-weight: 700; }
.price-terms { margin-top: 20px; color: var(--ink-soft); }
.price-cta { margin-top: 8px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--blue); }
.faq[open] summary::after { content: '−'; }
.faq p { color: var(--ink-soft); padding-bottom: 14px; }

/* How we work + guest data (item 4) */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about-grid > * { min-width: 0; }
.about-grid h3 { font-size: 22px; margin-top: 6px; }
.about-grid p { color: var(--ink-soft); font-size: 18px; max-width: 30em; }

/* The guest's path: the chat on the property's website, then the e-mail to the reception
   (design by #a084, owner's choice 12.11). The chat picture is a real screenshot of the demo widget. */
.flow2-sub { color: var(--ink-soft); font-size: 18px; max-width: 40em; }
.flow2-grid { display: grid; grid-template-columns: 1fr 56px 1.15fr; gap: 20px; align-items: start; margin-top: 32px; }
.flow2-grid > * { min-width: 0; }
.flow2-col { margin: 0; }
.flow2-step { margin: 0 0 12px; font-weight: 700; font-size: 16px; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.flow2-step > span[aria-hidden] { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 15px; display: inline-grid; place-items: center; }
.flow2-chat { display: block; width: 100%; max-width: 400px; height: auto; border-radius: 18px; box-shadow: 0 20px 48px rgba(13, 34, 64, .16); }
.flow2-arrow { align-self: center; font-size: 44px; font-weight: 700; color: var(--blue); text-align: center; }
.flow2-note { margin: 18px 0 0; font-size: 14px; color: #5a6578; }

/* Example e-mail to the reception (item 2) */
.mail-mock { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(13, 34, 64, .08); overflow: hidden; font-size: 15px; }
.mail-label { position: absolute; top: 12px; right: 12px; padding: 2px 10px; border-radius: 8px; background: #e8f0ff; color: var(--blue-dark); font-size: 13px; font-weight: 600; }
.mail-head { padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fafbfd; }
.mail-head p { margin: 0; }
.mail-from { font-size: 13px; color: #5a6578; padding-right: 90px; }
.mail-subject { font-weight: 700; }
.mail-body { padding: 16px 18px 6px; }
.mail-body p { margin: 0 0 10px; line-height: 1.5; }
.mail-h { font-weight: 700; font-size: 16px; }
.mail-sub { margin-top: 14px !important; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #5a6578; }

/* Order form */
.order-form { margin-top: 24px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.req { color: #b42318; }
.field [aria-invalid='true'] { border-color: #b42318; }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #b9c2d3; border-radius: 10px;
  font: 16px/1.4 var(--font); color: var(--ink); background: #fff;
}
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(10, 102, 255, .2); outline-offset: 0; }
.form-note { margin: 0; font-size: 14px; color: #5a6578; }
.order-form .btn { justify-self: start; min-width: 160px; }
.form-status { margin: 0; font-weight: 600; min-height: 1.6em; }
.form-status.ok { color: #0f7a3d; }
.form-status.err { color: #b42318; }
.form-done { margin-top: 24px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.form-done h3 { font-family: var(--font-display); font-size: 24px; margin-bottom: 8px; }
.form-done p { margin: 0; color: var(--ink-soft); }
.form-done:focus { outline: 3px solid #6ea8ff; outline-offset: 2px; }

/* Windows high contrast: the white logo gets its own dark backing; the rest follows the system colours. */
@media (forced-colors: active) {
  .logo img, .footer-row img { forced-color-adjust: none; background: #08162b; padding: 4px 6px; border-radius: 6px; }
}

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .8); padding: 28px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-row img { height: 24px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255, 255, 255, .85); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* Phones and tablets: the floating chat button appears below the hero, so it never
   covers the chat picture there. It stays visible while the chat is open (it is the close button). */
@media (max-width: 980px) {
  body.landing:not(.past-hero) #aify-widget-root:not(:has(.aify-chat-window--visible)) .aify-fab { visibility: hidden; opacity: 0; }
  #aify-widget-root .aify-fab { transition: opacity .2s ease, visibility .2s; }
}
@media (max-width: 980px) and (prefers-reduced-motion: reduce) {
  #aify-widget-root .aify-fab { transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mock { justify-self: center; }
  .flow2-grid { grid-template-columns: 1fr; }
  .flow2-arrow { transform: rotate(90deg); }
  .flow2-chat { max-width: 420px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .header-cta { display: none; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0;
    background: var(--navy-deep); padding: 8px 20px 16px; border-top: 1px solid rgba(255, 255, 255, .1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; font-size: 17px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 40px 0 56px; }
  .cards, .steps, .price-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .order-form .btn, .price-cta { width: 100%; }
  .langs a { padding: 6px 4px; min-width: 32px; }
  .card { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 18px; }
  .card-icon { width: 40px; height: 40px; margin: 0; grid-row: span 2; }
  .card h3 { margin-bottom: 4px; font-size: 18px; }
  .cards { gap: 12px; }
  .flow2-sub, .about-grid p { font-size: 17px; }
  .mail-mock { font-size: 14px; }
}
