
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

:root {
  --surface-base: #FEFEFE;
  --surface-raised: #EEEBE4;
  --surface-soft: #F8F6F1;
  --surface-pink: #FBEAF0;
  --surface-overlay: #D5D3D1;
  --text-heading: #4A4A4A;
  --text-2: #5C5955;
  --text-secondary: #686868;
  --text-muted: #77736E;
  --border-default: #E6DECC;
  --accent: #E25275;
  --accent-hover: #E86B89;
  --focus: #5E6AD2;
  --success: #397A5A;
  --radius-sm: 11px;
  --radius-md: 14px;
  --radius-pill: 28px;
  --shadow-soft: 0 14px 36px rgba(75, 68, 58, 0.08);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--surface-base);
  color: var(--text-2);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { border: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
::selection { background: #F5DCE3; color: var(--text-heading); }

.skip-link {
  position: fixed; left: 12px; top: 12px; transform: translateY(-160%);
  background: var(--text-heading); color: white; padding: 10px 14px;
  border-radius: var(--radius-sm); z-index: 1000; transition: transform 160ms ease-out;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 13px; font-weight: 500; margin: 0 0 12px; }
.section-title, h1, h2, h3 { color: var(--text-heading); font-weight: 500; line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(32px, 5vw, 64px); margin: 0; }
h2 { font-size: clamp(25px, 3.2vw, 40px); margin: 0; }
h3 { font-size: 19px; margin: 0; }
p { text-wrap: pretty; }
.muted { color: var(--text-secondary); }
.small { font-size: 13px; }
.icon { flex: 0 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(254,254,254,.94);
  border-bottom: 1px solid var(--border-default); padding-top: env(safe-area-inset-top);
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-heading); font-size: 19px; font-weight: 500; }
.brand img { width: 40px; height: 40px; }
.brand-mark { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 9px 12px; border-radius: var(--radius-pill); color: var(--text-secondary); }
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--surface-raised); color: var(--text-heading); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-button { display: none; background: transparent; color: var(--text-2); padding: 9px; border-radius: var(--radius-sm); cursor: pointer; }
.mobile-panel { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 9px 16px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; font-weight: 500; transition: transform 160ms ease-out, opacity 160ms ease-out, background 160ms ease-out;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface-base); color: var(--text-heading); border-color: var(--border-default); }
.btn-secondary:hover { background: var(--surface-raised); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-raised); }

.hero { padding: 84px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.07fr .93fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 690px; }
.hero-copy .lead { font-size: 18px; line-height: 1.7; color: var(--text-secondary); max-width: 660px; margin: 20px 0 28px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; color: var(--text-muted); font-size: 13px; }
.trust-item { display: inline-flex; align-items: center; gap: 6px; }

.hero-visual { position: relative; min-height: 520px; }
.city-card {
  position: absolute; inset: 20px 0 auto 28px; background: var(--surface-raised);
  border: 1px solid var(--border-default); border-radius: 28px; padding: 24px; min-height: 454px;
}
.city-card::before { content:""; position:absolute; width:160px; height:160px; border-radius:50%; background:#F5DCE3; right:34px; top:34px; }
.monument { position: absolute; right: 42px; top: 58px; width: 210px; height: 220px; color: var(--text-2); }
.chat-float { position: absolute; background: var(--surface-base); border: 1px solid var(--border-default); box-shadow: var(--shadow-soft); border-radius: 14px; padding: 14px; max-width: 260px; }
.chat-one { left: 0; top: 70px; }
.chat-two { right: 0; bottom: 30px; }
.chat-label { display: flex; align-items: center; gap: 8px; color: var(--text-heading); font-weight: 500; margin-bottom: 5px; }
.city-pills { position: absolute; left: 52px; bottom: 50px; display: flex; gap: 8px; flex-wrap: wrap; max-width: 340px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-base); border: 1px solid var(--border-default); border-radius: 28px; padding: 8px 10px; color: var(--text-secondary); font-size: 13px; }

.search-box { display: flex; align-items: center; gap: 8px; background: var(--surface-base); border: 1px solid var(--border-default); border-radius: 28px; padding: 7px; box-shadow: var(--shadow-soft); max-width: 650px; }
.search-box:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.search-box .search-icon { margin-left: 9px; color: var(--text-muted); }
.search-box input { height: 0; min-width: 0; flex: 1; padding: 21px 5px; border: 0; outline: 0; background: transparent; color: var(--text-heading); }
.search-box input::placeholder { color: #8A8580; }
.search-box .btn { min-height: 42px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--text-heading); font-weight: 500; }
.input, .textarea { width: 100%; border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--surface-base); color: var(--text-heading); outline: 0; }
.input { height: 0; padding: 22px 14px; }
.textarea { min-height: 150px; resize: vertical; padding: 12px 14px; }
.input:focus, .textarea:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
.form-note { min-height: 24px; margin: 4px 0 0; font-size: 13px; }
.form-note.success { color: var(--success); }
.form-note.error { color: #A73754; }

.section { padding: 72px 0; }
.section-soft { background: var(--surface-soft); border-block: 1px solid var(--border-default); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 28px; }
.section-head p { max-width: 620px; color: var(--text-secondary); margin: 8px 0 0; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.card { background: var(--surface-base); border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 20px; }
.card:hover { background: var(--surface-soft); }
.icon-box { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-raised); color: var(--text-2); margin-bottom: 16px; }
.card p { color: var(--text-secondary); margin: 8px 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; color: var(--accent); font-weight: 500; }

.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.area-card { position: relative; overflow: hidden; min-height: 220px; padding: 20px; border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-raised); }
.area-card:nth-child(2n) { background: var(--surface-pink); }
.area-card::after { content:""; position:absolute; width:120px; height:120px; border:1px solid var(--border-default); border-radius:50%; right:-30px; bottom:-35px; }
.area-card p { color: var(--text-secondary); max-width: 85%; }
.area-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.tag { background: rgba(254,254,254,.8); border:1px solid var(--border-default); border-radius:28px; padding:5px 9px; font-size:12px; color:var(--text-secondary); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: step; }
.step { counter-increment: step; position: relative; padding: 24px; border: 1px solid var(--border-default); border-radius: var(--radius-md); }
.step::before { content: "0" counter(step); display: inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; background:var(--surface-raised); color:var(--accent); font-weight:500; margin-bottom:18px; font-variant-numeric: tabular-nums; }
.step p { color: var(--text-secondary); margin-bottom: 0; }

.faq-list { display: grid; gap: 8px; }
details { border: 1px solid var(--border-default); border-radius: var(--radius-md); background: var(--surface-base); padding: 0 18px; }
summary { list-style: none; cursor: pointer; padding: 18px 34px 18px 0; color: var(--text-heading); font-weight: 500; position: relative; }
summary::-webkit-details-marker { display:none; }
summary::after { content:"+"; position:absolute; right:0; top:16px; width:24px; height:24px; border-radius:50%; background:var(--surface-raised); display:grid; place-items:center; color:var(--text-secondary); }
details[open] summary::after { content:"−"; }
details p { margin: 0 0 18px; color:var(--text-secondary); max-width:900px; }

.cta-card { display:grid; grid-template-columns:1.25fr .75fr; align-items:center; gap:28px; background:var(--surface-raised); border:1px solid var(--border-default); border-radius:28px; padding:36px; }
.cta-card p { color: var(--text-secondary); }
.waitlist-form { display:flex; align-items:center; gap:8px; background:var(--surface-base); border:1px solid var(--border-default); border-radius:28px; padding:7px; }
.waitlist-form:focus-within { outline:2px solid var(--focus); outline-offset:2px; }
.waitlist-form input { height:0; min-width:0; flex:1; border:0; outline:0; padding:21px 8px; background:transparent; color:var(--text-heading); }

.page-hero { padding: 72px 0 42px; }
.page-hero p { font-size: 17px; color:var(--text-secondary); max-width:720px; margin:18px 0 0; }
.content-layout { display:grid; grid-template-columns: 240px 1fr; gap:40px; align-items:start; }
.side-nav { position:sticky; top:100px; display:grid; gap:4px; }
.side-nav a { padding:9px 12px; border-radius:var(--radius-sm); color:var(--text-secondary); }
.side-nav a:hover { background:var(--surface-raised); color:var(--text-heading); }
.prose { max-width:820px; }
.prose h2 { font-size:25px; margin:40px 0 12px; }
.prose h3 { margin:26px 0 8px; }
.prose p, .prose li { color:var(--text-secondary); }
.prose ul { padding-left:20px; }
.prose a { color:var(--accent); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.callout { border-left:3px solid var(--accent); background:var(--surface-soft); padding:14px 16px; border-radius:0 var(--radius-sm) var(--radius-sm) 0; }

.contact-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:24px; align-items:start; }
.contact-cards { display:grid; gap:10px; }
.contact-card { display:flex; gap:12px; padding:16px; border:1px solid var(--border-default); border-radius:var(--radius-md); background:var(--surface-base); }
.contact-card strong { display:block; color:var(--text-heading); font-weight:500; }
.form-card { border:1px solid var(--border-default); border-radius:var(--radius-md); background:var(--surface-soft); padding:24px; }
.form-grid { display:grid; gap:14px; }

.ask-shell { min-height:calc(100dvh - 73px); display:grid; grid-template-columns:280px 1fr; }
.ask-sidebar { border-right:1px solid var(--border-default); background:var(--surface-soft); padding:24px; }
.ask-sidebar h2 { font-size:19px; }
.suggestion-list { display:grid; gap:6px; margin-top:18px; }
.suggestion { width:100%; text-align:left; background:transparent; color:var(--text-secondary); border-radius:var(--radius-sm); padding:10px; cursor:pointer; }
.suggestion:hover { background:var(--surface-raised); color:var(--text-heading); }
.ask-main { display:flex; flex-direction:column; min-width:0; }
.chat-stream { flex:1; width:min(100% - 40px, 820px); margin:0 auto; padding:48px 0 140px; }
.chat-welcome { text-align:center; padding:30px 0; }
.chat-welcome .assistant-logo { width:54px; height:54px; margin:0 auto 16px; }
.chat-welcome h1 { font-size:32px; }
.chat-welcome p { color:var(--text-secondary); }
.prompt-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:24px; }
.prompt-card { text-align:left; padding:14px; border:1px solid var(--border-default); border-radius:var(--radius-md); background:var(--surface-base); color:var(--text-secondary); cursor:pointer; }
.prompt-card:hover { background:var(--surface-raised); color:var(--text-heading); }
.message-row { display:flex; gap:10px; margin:18px 0; align-items:flex-start; }
.message-avatar { width:34px; height:34px; border-radius:11px; display:grid; place-items:center; flex:0 0 auto; background:var(--surface-raised); color:var(--text-heading); }
.message-content { border:1px solid var(--border-default); border-radius:14px; padding:14px 16px; max-width:760px; background:var(--surface-base); }
.message-row.user { justify-content:flex-end; }
.message-row.user .message-content { background:var(--surface-raised); }
.message-row.user .message-avatar { order:2; background:var(--surface-pink); color:var(--accent); }
.message-content p { margin:0; }
.message-content p + p { margin-top:8px; }
.message-content ul { margin:8px 0 0; padding-left:18px; }
.ask-composer-wrap { position:fixed; left:280px; right:0; bottom:0; padding:16px 20px calc(16px + env(safe-area-inset-bottom)); background:linear-gradient(to top, var(--surface-base) 75%, transparent); }
.ask-composer { max-width:820px; margin:0 auto; display:flex; gap:8px; align-items:center; border:1px solid var(--border-default); border-radius:28px; background:var(--surface-base); box-shadow:var(--shadow-soft); padding:7px; }
.ask-composer textarea { flex:1; min-height:0; max-height:120px; resize:none; border:0; outline:0; padding:12px 8px; background:transparent; color:var(--text-heading); }
.icon-button { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:var(--accent); color:white; cursor:pointer; }
.icon-button:hover { background:var(--accent-hover); }
.icon-button:disabled { opacity:.5; cursor:not-allowed; }

.site-footer { border-top:1px solid var(--border-default); padding:44px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display:grid; grid-template-columns:1.5fr repeat(3,1fr); gap:28px; }
.footer-brand p { color:var(--text-secondary); max-width:330px; }
.footer-col h3 { font-size:15px; margin-bottom:10px; }
.footer-col a { display:block; color:var(--text-secondary); padding:4px 0; }
.footer-col a:hover { color:var(--text-heading); }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; border-top:1px solid var(--border-default); margin-top:32px; padding-top:20px; color:var(--text-muted); font-size:13px; }
.footer-social { display:flex; gap:8px; }
.footer-social a { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; border:1px solid var(--border-default); }
.footer-social a:hover { background:var(--surface-raised); }

.toast { position:fixed; right:20px; bottom:20px; max-width:360px; background:var(--text-heading); color:white; padding:12px 14px; border-radius:var(--radius-sm); box-shadow:var(--shadow-soft); transform:translateY(18px); opacity:0; pointer-events:none; transition:transform 180ms ease-out, opacity 180ms ease-out; z-index:100; }
.toast.show { transform:translateY(0); opacity:1; }

@media (max-width: 980px) {
  .hero-grid, .cta-card, .contact-grid { grid-template-columns:1fr; }
  .hero-visual { min-height:460px; }
  .card-grid { grid-template-columns:repeat(2,1fr); }
  .area-grid { grid-template-columns:1fr 1fr; }
  .content-layout { grid-template-columns:1fr; }
  .side-nav { display:none; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 760px) {
  .container, .narrow { width:min(calc(100% - 28px), var(--max)); }
  .nav-links, .nav-actions .btn-secondary { display:none; }
  .menu-button { display:grid; }
  .mobile-panel { position:fixed; inset:73px 0 0; z-index:49; background:var(--surface-base); padding:20px; }
  .mobile-panel.open { display:block; }
  .mobile-panel a { display:flex; align-items:center; justify-content:space-between; padding:14px; border-bottom:1px solid var(--border-default); color:var(--text-heading); }
  .hero { padding-top:52px; }
  .hero-grid { gap:28px; }
  .hero-visual { min-height:420px; }
  .city-card { inset:10px 0 auto 0; min-height:390px; }
  .monument { width:170px; height:180px; right:18px; }
  .chat-one { left:6px; top:58px; max-width:220px; }
  .chat-two { right:4px; bottom:8px; max-width:230px; }
  .city-pills { left:22px; bottom:34px; }
  .section { padding:56px 0; }
  .section-head { display:block; }
  .card-grid, .area-grid, .steps, .prompt-grid { grid-template-columns:1fr; }
  .search-box { align-items:stretch; flex-wrap:wrap; border-radius:14px; }
  .search-box input { width:calc(100% - 40px); }
  .search-box .btn { width:100%; }
  .waitlist-form { flex-wrap:wrap; border-radius:14px; }
  .waitlist-form .btn { width:100%; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; }
  .ask-shell { display:block; }
  .ask-sidebar { display:none; }
  .ask-composer-wrap { left:0; }
  .chat-stream { padding-top:28px; }
}
@media (max-width: 480px) {
  h1 { font-size:36px; }
  .hero-actions .btn { width:100%; }
  .hero-visual { min-height:390px; }
  .city-card::before { width:120px; height:120px; right:18px; }
  .monument { width:145px; right:12px; top:50px; }
  .chat-one { max-width:190px; }
  .chat-two { max-width:205px; }
  .city-pills { display:none; }
  .cta-card { padding:22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; }
}
