/* Property Companion — shared styles (Airbnb-inspired palette) */
:root {
  --rausch: #ff5a5f;
  --rausch-dark: #e00b41;
  --rausch-grad: linear-gradient(90deg, #e61e4d 0%, #e31c5f 50%, #d70466 100%);
  --teal: #008489;
  --teal-dark: #006b70;
  --ink: #222222;
  --body: #484848;
  --muted: #717171;
  --line: #dddddd;
  --line-soft: #ebebeb;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --bg-tint: #fff5f5;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, .10);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--rausch-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: 1rem; cursor: pointer;
  padding: .8rem 1.5rem; border-radius: 12px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--rausch); color: #fff; box-shadow: 0 4px 14px rgba(255, 90, 95, .35); }
.btn-primary:hover { background: var(--rausch-dark); box-shadow: 0 6px 20px rgba(224, 11, 65, .4); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Crect width='1024' height='1024' rx='232' fill='%23FF385C'/%3E%3Cpath fill='%23FFFFFF' d='M512 292 L708 470 L708 714 Q708 736 686 736 L338 736 Q316 736 316 714 L316 470 Z'/%3E%3Cpath fill='%23FF385C' d='M610 548 L476 682 L414 620 L444 590 L476 622 L580 518 Z'/%3E%3C/svg%3E") center / cover no-repeat;
  box-shadow: 0 3px 10px rgba(215, 4, 102, .35);
  /* text inside the span (legacy "P") is hidden — mark is the background */
  font-size: 0; color: transparent; overflow: hidden;
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--body); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--rausch); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; width: 42px; height: 40px; cursor: pointer; font-size: 1.2rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: 5rem 0 4.5rem; }
.hero .eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--rausch-dark); background: var(--bg-tint); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero p.lead { font-size: 1.2rem; color: var(--body); max-width: 34ch; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-visual { position: relative; }
.phone {
  width: 300px; max-width: 100%; margin: 0 auto; aspect-ratio: 300/610;
  background: #fff; border-radius: 40px; border: 10px solid #1c1c1e;
  box-shadow: var(--shadow-lg); padding: 18px 14px; overflow: hidden;
}
.phone-notch { width: 120px; height: 22px; background: #1c1c1e; border-radius: 0 0 14px 14px; margin: -18px auto 12px; }
.phone-card { background: var(--bg-soft); border-radius: 16px; padding: 14px; margin-bottom: 12px; border: 1px solid var(--line-soft); }
.phone-card h5 { margin: 0 0 6px; color: var(--ink); font-size: .82rem; }
.phone-bar { height: 8px; border-radius: 6px; background: #e9e9ec; margin: 6px 0; }
.phone-bar.short { width: 55%; }
.phone-score { display: flex; align-items: center; gap: 10px; }
.ring {
  width: 54px; height: 54px; border-radius: 50%;
  background: conic-gradient(var(--teal) 78%, #e9e9ec 0);
  display: grid; place-items: center; flex: none;
}
.ring span { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: var(--ink); }
.pill { display: inline-block; font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.pill.coral { background: var(--bg-tint); color: var(--rausch-dark); }
.pill.tealbg { background: #e6f4f4; color: var(--teal-dark); }

/* Sections */
section { padding: 4.5rem 0; }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Feature grid */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.75rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.4rem; margin-bottom: 1rem; background: var(--bg-tint);
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Steps */
.steps { counter-reset: step; }
.step { display: flex; gap: 1.2rem; align-items: flex-start; }
.step-num {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--rausch); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}

/* Bands */
.band { background: var(--bg-soft); }
.cta-band { background: var(--rausch-grad); color: #fff; text-align: center; border-radius: var(--radius-lg); padding: 3.5rem 1.5rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .92); max-width: 46ch; margin: 0 auto 1.8rem; }
.cta-band .btn-primary { background: #fff; color: var(--rausch-dark); box-shadow: none; }
.cta-band .btn-primary:hover { background: #fff; }

/* Store badges */
.stores { display: flex; gap: .8rem; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: .6rem; background: #000; color: #fff;
  padding: .6rem 1.1rem; border-radius: 12px; font-weight: 600;
}
.store:hover { text-decoration: none; opacity: .9; }
.store .big { font-size: 1.05rem; line-height: 1; }
.store .lbl { display: block; font-size: .65rem; font-weight: 500; opacity: .85; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.post-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-thumb { aspect-ratio: 16/10; display: grid; place-items: center; color: #fff; font-size: 2.4rem; }
.post-body { padding: 1.35rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--teal-dark); margin-bottom: .5rem; }
.post-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--rausch); text-decoration: none; }
.post-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.post-meta { font-size: .8rem; color: var(--muted); margin-top: .8rem; }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article-head { text-align: center; padding: 3.5rem 0 2rem; }
.article-hero { aspect-ratio: 16/7; border-radius: var(--radius-lg); display: grid; place-items: center; color: #fff; font-size: 3.5rem; margin-bottom: 2.5rem; box-shadow: var(--shadow-md); }
.article-body { font-size: 1.075rem; color: var(--body); }
.article-body h2 { margin-top: 2.2rem; }
.article-body h3 { margin-top: 1.6rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
  margin: 1.5rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--rausch);
  background: var(--bg-tint); border-radius: 0 10px 10px 0; color: var(--ink); font-style: italic;
}
.callout { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.6rem 0; }
.callout strong { color: var(--ink); }

/* Legal / docs pages */
.doc { max-width: 800px; margin: 0 auto; }
.doc h2 { margin-top: 2.4rem; }
.doc h3 { margin-top: 1.6rem; }
.doc ul { padding-left: 1.3rem; }
.doc li { margin-bottom: .45rem; }
.toc { background: var(--bg-soft); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 2.5rem; border: 1px solid var(--line-soft); }
.toc h4 { margin: 0 0 .7rem; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; }
.toc a { color: var(--body); }
.updated { display: inline-block; background: var(--bg-tint); color: var(--rausch-dark); font-weight: 600; font-size: .85rem; padding: .35rem .9rem; border-radius: 999px; }
.page-head { background: var(--bg-soft); padding: 3.5rem 0; text-align: center; border-bottom: 1px solid var(--line-soft); }

/* Delete account form */
.delete-steps { display: grid; gap: 1rem; margin: 2rem 0; }
.delete-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .4rem; font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--rausch); box-shadow: 0 0 0 3px rgba(255, 90, 95, .15); }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; }
.checkbox input { width: auto; margin-top: .3rem; }
.form-note { padding: 1.2rem; border-radius: 10px; margin-top: 1.2rem; font-size: .92rem; }
.form-note.warn { background: var(--bg-tint); border: 1px solid #f6c9cb; color: #8a1f2a; }
.form-note.ok { background: #e6f4f4; border: 1px solid #b8e0e0; color: var(--teal-dark); }

/* Footer */
.site-footer { background: var(--ink); color: #cfcfcf; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.site-footer .brand { color: #fff; }
.site-footer h5 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: #cfcfcf; font-size: .93rem; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid #3a3a3a; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .85rem; color: #9a9a9a; flex-wrap: wrap; }
.site-footer .foot-desc { color: #9a9a9a; font-size: .92rem; max-width: 32ch; margin-top: .8rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero p.lead { max-width: none; }
  .hero-actions, .stores { justify-content: center; }
  .grid-3, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 1rem 20px 1.5rem; gap: 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .grid-3, .grid-2, .blog-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  section { padding: 3rem 0; }
}
