/* Rani the Generalist — two key colours (navy + magenta), one font (Poppins). */
:root {
  --navy: #1f2a38;
  --magenta: #d43790;
  --magenta-dark: #b02a76;
  --text: #1f2a38;
  --muted: #5b6672;
  --line: #e6e8ec;
  --tint: #fbf1f6;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(31, 42, 56, .08);
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: var(--magenta-dark); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
strong, b { font-weight: 600; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* Section headings: one colour everywhere, on light and dark backgrounds */
.section-title { text-align: center; color: var(--magenta); font-size: clamp(26px, 3.4vw, 34px); margin: 64px 0 32px; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: -16px auto 36px; }
.on-dark .section-sub { color: #c9ced6; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 40px; height: 40px; }
.brand-name { font-weight: 700; font-size: 19px; line-height: 1.1; display: block; }
.brand-sub { font-size: 12px; font-weight: 400; display: block; margin-top: 3px; color: #c9ced6; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--white); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--magenta); }
.nav .li-icon svg { width: 17px; height: 17px; fill: currentColor; display: block; }
button { font-family: inherit; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; padding: 6px; }
.menu-toggle svg { width: 28px; height: 28px; }
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--navy); padding: 8px 0 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 20px; width: 100%; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { background: var(--tint) center / cover no-repeat; color: var(--navy); text-align: center; padding: 80px 20px 190px; }
.hero h1 { font-size: clamp(40px, 7vw, 64px); font-weight: 700; margin: 0; letter-spacing: -.5px; color: var(--navy); }
.hero p { font-size: clamp(16px, 2vw, 19px); margin: 10px 0 0; color: var(--magenta-dark); font-weight: 500; }

.page-hero { background: var(--tint) center / cover no-repeat; height: 240px; }
.page-title { position: relative; margin: -70px auto 0; max-width: 480px; background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius); padding: 30px 20px; text-align: center; z-index: 2; }
.page-title h1 { color: var(--magenta); font-size: clamp(26px, 3.6vw, 32px); margin: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--magenta); color: var(--white); text-decoration: none; font: inherit; font-size: 15px; font-weight: 500; padding: 10px 26px; border-radius: 8px; border: 0; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--magenta-dark); }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Home ---------- */
.intro { position: relative; z-index: 2; margin: -140px auto 0; max-width: 960px; background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: 44px; }
.intro .portrait { width: 100%; max-width: 340px; aspect-ratio: 1; border-radius: 50%; background: var(--navy); overflow: hidden; margin: 0 auto; }
.intro .portrait img { width: 100%; height: 100%; object-fit: cover; }
.intro h2 { color: var(--magenta); font-size: clamp(26px, 3.2vw, 32px); }
@media (max-width: 760px) { .intro { grid-template-columns: 1fr; padding: 30px 22px; margin-top: -130px; } }

.help-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 64px; }
.help-cols p { margin: 0 0 .9em; }
@media (max-width: 760px) { .help-cols { grid-template-columns: 1fr; gap: 0; } }

.cards-band { background: var(--tint); padding: 70px 0 56px; }
.cards-cta { margin: 40px 0 0; }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--navy); border: 0; box-shadow: var(--shadow); border-radius: var(--radius); color: var(--white); text-align: center; padding: 64px 24px 32px; position: relative; }
.service-card .icon { width: 76px; height: 76px; position: absolute; top: -38px; left: 50%; transform: translateX(-50%); border-radius: 50%; }
/* Fixed-height title box so every card's magenta line sits at the same level */
.service-card h3 { font-size: 18px; min-height: 2.5em; display: flex; align-items: center; justify-content: center; margin: 0; }
.service-card p { font-size: 15px; margin: 0; color: #dfe3e9; }
.service-card p::before { content: ""; display: block; width: 60%; height: 2px; background: var(--magenta); margin: 14px auto 18px; }
@media (max-width: 760px) { .service-cards { grid-template-columns: 1fr; gap: 60px; } .service-card h3 { min-height: 0; } }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; margin: 56px 0 64px; align-items: stretch; }
.story p { margin: 0 0 1em; }
.story img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; border-radius: var(--radius); }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } }

.xp { background: var(--navy); padding: 4px 0 60px; }
.slider { background: var(--white); max-width: 760px; margin: 0 auto; padding: 36px 60px 26px; position: relative; text-align: center; border-radius: var(--radius); }
.slide { display: none; }
.slide.active { display: block; animation: fade .4s ease; }
.slide .eyebrow { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.slide h3 { color: var(--navy); font-size: 19px; }
.slide p { margin: 0 0 1em; font-size: 15px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--magenta); font-size: 34px; cursor: pointer; padding: 10px; line-height: 1; }
.slider-arrow.prev { left: 8px; } .slider-arrow.next { right: 8px; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--magenta); background: none; padding: 0; cursor: pointer; }
.dots button.active { background: var(--magenta); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 600px) { .slider { padding: 30px 40px 22px; } }

.testimonials { background: var(--tint); padding: 4px 0 48px; }

.tools-intro { text-align: center; color: var(--muted); margin-bottom: 40px; }
.tool-group { margin-bottom: 44px; }
.tool-group h3 { text-align: center; color: var(--navy); font-size: 17px; margin-bottom: 20px; }
.tool-subs { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 20px; }
.tool-sub { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 10px 14px; }
.tool-sub-label { display: block; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--magenta); margin-bottom: 10px; }
.tool-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 6px; }
.tool { width: 90px; text-align: center; font-size: 13px; }
.tool img { width: 56px; height: 56px; margin: 0 auto 6px; }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 16px; scroll-margin-top: 96px; }
.tab { font: inherit; font-size: 14px; font-weight: 500; padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
.tab:hover { border-color: var(--magenta); }
.tab[aria-selected="true"] { background: var(--magenta); border-color: var(--magenta); color: var(--white); }
.tab-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; margin-bottom: 60px; background: var(--white); }
.tab-panel[hidden] { display: none; }
.tab-panel { scroll-margin-top: 150px; }
.lead { max-width: 640px; margin: 0 0 30px; padding-left: 16px; border-left: 4px solid var(--magenta); font-size: clamp(17px, 2vw, 19px); font-weight: 500; color: var(--navy); }
.highlight { background: none; padding: 0; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; }
.two-col h2 { font-size: 21px; color: var(--magenta); }
.two-col ul { padding-left: 20px; margin: 0; }
.two-col li { margin-bottom: 10px; font-size: 15px; }
.two-col li::marker { color: var(--magenta); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 20px; } .tab-panel { padding: 24px 18px; } }

/* ---------- Pricing ---------- */
.pricing { background: var(--tint); padding: 4px 0 64px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 920px; margin: 0 auto; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; padding: 32px 24px 26px; }
.plan.featured { border: 2px solid var(--magenta); }
.plan h3 { color: var(--navy); font-size: 18px; margin-bottom: 4px; }
.plan .rate { color: var(--magenta); font-weight: 600; font-size: 15px; }
.plan .price { font-size: 44px; color: var(--navy); font-weight: 700; line-height: 1.1; margin: 10px 0; }
.plan .meta { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 18px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); text-align: left; }
.plan li { margin-bottom: 10px; font-size: 14px; padding-left: 22px; position: relative; }
.plan li::before { content: "✓"; color: var(--magenta); font-weight: 700; position: absolute; left: 0; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-intro { text-align: center; margin: 36px auto; max-width: 520px; }
.contact-details { display: grid; gap: 16px; justify-content: center; margin-bottom: 56px; }
.contact-details .row { display: flex; align-items: center; gap: 14px; }
.contact-details img { width: 44px; height: 44px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-bottom: 72px; align-items: start; }
.form-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.form-card h2 { color: var(--magenta); font-size: clamp(22px, 2.6vw, 28px); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; border: 1px solid #c4c9d0; border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 15px; color: var(--text); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--magenta); border-color: transparent; }
.field textarea { min-height: 130px; resize: vertical; }
.form-status { font-size: 14px; margin: 14px 0 0; min-height: 1em; }
.form-status.ok { color: #1d7a46; font-weight: 500; }
.form-status.err { color: #b42318; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chat-card { background: var(--navy); color: var(--white); text-align: center; padding: 48px 24px 28px; border-radius: var(--radius); position: relative; margin-top: 30px; }
.chat-card img { width: 60px; position: absolute; top: -30px; left: 50%; transform: translateX(-50%); border: 3px solid var(--white); border-radius: 50%; }
.chat-card a { color: var(--white); font-weight: 600; }
.looking { margin-top: 28px; }
.looking h3 { font-size: 20px; color: var(--magenta); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } .form-card { padding: 26px 20px; } }

/* ---------- Policies ---------- */
.policies { position: relative; margin-top: -150px; z-index: 2; }
.policies .tab { border-color: transparent; }
.policies .tab-panel { font-size: 15px; box-shadow: var(--shadow); }
.policies h3 { font-size: 16px; color: var(--navy); margin: 1.4em 0 .5em; }
.policies .dates p { margin: 0; }
.policies .dates strong { display: block; margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c9ced6; padding: 26px 20px; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--magenta); }
@media (max-width: 600px) { .site-footer .wrap { flex-direction: column; text-align: center; } .footer-links { justify-content: center; } }
.site-footer a.footer-quiet { color: inherit; text-decoration: none; cursor: default; }
