:root {
  /* logo palette: navy #1D3049, coral #E67836, deep green #184830 */
  --paper: #FBF7F0;
  --card: #F3ECE2;
  --white: #FFFFFF;
  --ink: #16243A;
  --ink-soft: #45526A;
  --coral: #E67836;
  --coral-deep: #9A4718;
  --coral-tint: #FBE0CF;
  --plum: #1D3049;
  --plum-soft: #2D4566;
  --green: #184830;
  --mint: #D5E9DD;
  --butter: #F8E3C4;
  --lilac: #DCE4EE;
  --line: #E4DACD;
  --radius: 14px;
  --wrap: 1180px;
  --gutter: 32px;
  --f-head: "SUSE", "Segoe UI", sans-serif;
  --f-body: "Alexandria", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--plum);
}

h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Topbar + header ---------- */
.topbar {
  margin: 0;
  padding: 9px var(--gutter);
  background: var(--coral-tint);
  color: var(--ink);
  font-size: .82rem;
  text-align: center;
}

.site-header {
  position: static;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand img { height: 50px; width: auto; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header-link {
  font-size: .94rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--plum);
}

.header-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--plum);
  color: var(--white);
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
}

.pill:hover { background: var(--ink); }
.pill-lg { min-height: 50px; padding: 0 30px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.hero-copy {
  background: var(--paper);
  padding: 72px 64px 64px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  font-weight: 500;
  max-width: 13ch;
}

.hero-sub {
  margin: 18px 0 30px;
  max-width: 40ch;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.facts {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: .85rem;
  color: var(--ink-soft);
}

.facts b {
  display: block;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--plum);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

/* ---------- Routine grid ---------- */
.routines { padding: 88px 0 72px; }

.sec-head p,
.focus-sub {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 36px 24px;
}

.card { grid-column: span 2; }
.card:nth-child(-n+2) { grid-column: span 3; }
.card:nth-child(-n+2) .card-img { aspect-ratio: 16 / 9; }

.card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.card-img img { width: 100%; height: 100%; object-fit: cover; }

.tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(29, 48, 73, .82);
  color: var(--white);
  font-size: .78rem;
  font-weight: 500;
}

.card h3 { margin-top: 14px; font-size: 1.06rem; }
.card p { margin: 4px 0 0; font-size: .92rem; color: var(--ink-soft); }

.safety {
  margin: 44px 0 0;
  max-width: 62ch;
  font-size: .9rem;
  color: var(--ink-soft);
}

/* ---------- Focus tiles ---------- */
.focus {
  padding: 72px 0 88px;
  border-top: 1px solid var(--line);
}

.tiles {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.tiles li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 30px 12px 24px;
  border-radius: var(--radius);
  background: var(--paper);
  text-align: center;
  font-size: .9rem;
  font-weight: 500;
  color: var(--plum);
}

.tiles svg {
  width: 76px;
  height: 76px;
  fill: none;
  stroke: var(--coral-deep);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tiles circle { fill: var(--coral-deep); stroke: none; }

/* ---------- App ---------- */
.app {
  padding: 80px 0;
  background: var(--paper);
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.app-copy p { margin: 14px 0 26px; max-width: 46ch; color: var(--ink-soft); }
.app-copy .small { margin: 18px 0 0; font-size: .84rem; }

.steps {
  list-style: none;
  counter-reset: s;
  margin: 0;
  padding: 0;
  background: var(--white);
  border-radius: var(--radius);
}

.steps li {
  counter-increment: s;
  position: relative;
  padding: 22px 26px 22px 72px;
  color: var(--ink-soft);
  font-size: .93rem;
}

.steps li + li { border-top: 1px solid var(--line); }

.steps li::before {
  content: counter(s);
  position: absolute;
  left: 26px;
  top: 22px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--coral-deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-head);
  font-size: .85rem;
  color: var(--coral-deep);
}

.steps b { display: block; font-family: var(--f-head); font-weight: 600; color: var(--plum); font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { padding: 88px 0; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--plum);
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; color: var(--coral-deep); }
details[open] summary::after { content: "\2212"; }
details p { margin: 0 0 20px; max-width: 60ch; color: var(--ink-soft); }

/* ---------- Closing ---------- */
.closing {
  padding: 80px 0 72px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.closing h2 { max-width: 20ch; margin-bottom: 26px; }
.closing-note { margin: 16px 0 0; font-size: .88rem; color: var(--ink-soft); }

.disclaimer {
  margin: 36px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 78ch;
  font-size: .8rem;
  color: var(--ink-soft);
}

.disclaimer a { color: var(--plum); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand img { height: 46px; width: auto; }
.footer-brand p { margin: 12px 0 0; font-size: .88rem; color: var(--ink-soft); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 40px;
  font-size: .9rem;
  align-content: start;
}

.footer-links a { text-decoration: none; color: var(--plum); }
.footer-links a:hover { text-decoration: underline; }

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--ink-soft);
}

.footer-bottom p { margin: 0 0 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card, .card:nth-child(-n+2) { grid-column: auto; }
  .card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 48px var(--gutter) 44px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .app-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .header-row { min-height: 66px; gap: 10px; }
  .brand img { height: 40px; }
  .header-actions { gap: 14px; }
  .pill { padding: 0 18px; }
  .routines, .faq { padding: 60px 0; }
  .focus, .app, .closing { padding: 56px 0; }
  .grid { grid-template-columns: 1fr; gap: 28px; }
  .card:first-child { grid-column: auto; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .facts { gap: 16px 26px; }
  .pill-lg { width: 100%; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
}

@media (max-width: 400px) {
  .hide-xs { display: none; }
  .header-link { font-size: .88rem; }
}

/* ---------- Blog link (WordPress header) ---------- */
.header-blog[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

@media (max-width: 480px) {
  .header-actions:has(.header-blog) .header-link:not(.header-blog) { display: none; }
}

/* ---------- Latest blog posts (homepage, WordPress only) ---------- */
.reads { padding: 80px 0 8px; }

.reads + .faq { margin-top: 72px; border-top: 1px solid var(--line); }

.reads-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.reads-all {
  font-size: .94rem;
  font-weight: 500;
  color: var(--coral-deep);
  text-underline-offset: 4px;
}

.reads-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
  border-top: 1px solid var(--line);
}

.reads-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 0;
  text-decoration: none;
}

.reads-fig {
  flex: 0 0 120px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--card);
}

.reads-fig img { width: 100%; height: 100%; object-fit: cover; }

.reads-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.reads-label { font-size: .8rem; color: var(--green); font-weight: 500; }

.reads-title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--plum);
}

.reads-item:hover .reads-title { text-decoration: underline; text-underline-offset: 3px; }
.reads-meta { font-size: .8rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .reads-list { grid-template-columns: 1fr; }
  .reads-list li + li { border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .reads { padding-top: 56px; }
  .reads + .faq { margin-top: 48px; }
  .reads-fig { flex-basis: 88px; }
}

/* Keep the space before " a Bend" inside the flex pill. */
.pill .hide-xs { white-space: pre; }
