/* SoftSecret. Mobile first (390px), brand palette from Asset/branding all.png */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/playfair-display-latin-500-italic.woff2") format("woff2"); }
:root {
  --blush: #F6D6D8;
  --cream: #FFF7F2;
  --sand: #E8CFC4;
  --rose: #D9A6A0;
  --cocoa: #A67C73;
  --ink: #4E3935;
  --ink-soft: #6E5550;
  --btn: #7E5850;
  --radius: 18px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--btn); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--btn); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, .band, .three b { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; color: var(--ink); }
h1 { font-size: 2rem; margin: .2em 0 .4em; }
h2 { font-size: 1.4rem; margin: 1.6em 0 .5em; }
h3 { font-size: 1rem; font-family: var(--sans); font-weight: 600; margin: 1em 0 .3em; letter-spacing: .02em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--btn); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 247, 242, .94);
  border-bottom: 1px solid var(--sand);
}
.brand img { display: block; width: 124px; height: auto; }
.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer;
  padding: 8px 14px; border: 1px solid var(--rose); border-radius: 999px;
  font-size: .9rem; color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu ul {
  position: absolute; right: 0; top: calc(100% + 8px);
  width: min(260px, calc(100vw - 32px));
  margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--sand); border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(78, 57, 53, .12);
}
.menu li a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.menu li a:hover { background: var(--blush); }

/* layout */
main { max-width: 760px; margin: 0 auto; padding: 8px 16px 40px; }
section { margin-top: 28px; }
.crumb { font-size: .85rem; color: var(--ink-soft); margin: 12px 0 0; }
.crumb a { color: var(--ink-soft); }
.lede { font-size: 1.08rem; color: var(--ink-soft); }
.small, .fine { font-size: .85rem; color: var(--ink-soft); }
.small-h { font-size: 1.15rem; text-transform: lowercase; letter-spacing: .02em; color: var(--btn); }

/* hero */
.hero {
  text-align: center;
  margin: 12px -16px 0;
  padding: 36px 20px 32px;
  background: radial-gradient(120% 90% at 50% 0%, var(--blush), var(--cream) 70%);
  border-radius: 0 0 32px 32px;
}
.hero .bow { width: 64px; display: block; margin: 0 auto 6px; }
.hero h1 { font-style: italic; font-size: 2.1rem; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 10px 20px;
  background: var(--btn); color: #fff; text-decoration: none;
  border-radius: 999px; font-weight: 600; font-size: .95rem;
}
.btn:hover { background: var(--ink); }
.btn.ghost { background: transparent; color: var(--btn); border: 1px solid var(--btn); }
.btn.ghost:hover { background: var(--blush); }

/* tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tiles a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 10px; min-height: 140px; justify-content: center;
  background: #fff; border: 1px solid var(--sand); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); text-align: center;
}
.tiles a:hover { border-color: var(--rose); background: var(--blush); }
.tiles svg { width: 52px; height: 52px; }
.tiles span { font-family: var(--serif); font-size: 1.05rem; }
.tiles small { color: var(--ink-soft); }
.tiles.mini a { min-height: 0; padding: 12px 8px; flex-direction: row; gap: 8px; }
.tiles.mini svg { width: 30px; height: 30px; flex: none; }
.tiles.mini span { font-size: .95rem; }

.three { list-style: none; counter-reset: n; padding: 0; margin: 0; display: grid; gap: 10px; }
.three li {
  counter-increment: n; display: grid; grid-template-columns: 36px 1fr; column-gap: 12px;
  background: #fff; border: 1px solid var(--sand); border-radius: var(--radius); padding: 14px;
}
.three li::before {
  content: counter(n); grid-row: span 2; align-self: center;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blush); color: var(--btn); font-family: var(--serif);
}
.three b { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.three span { color: var(--ink-soft); font-size: .95rem; }

/* category pages */
.page-head { text-align: center; padding-top: 8px; }
.page-head .icon svg { width: 64px; height: 64px; }
.picks { display: grid; gap: 16px; }
.pick {
  background: #fff; border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 18px 16px 20px;
}
.pick h2 { margin-top: 0; font-size: 1.3rem; }
.checks { padding-left: 0; list-style: none; margin: 0; }
.checks li { position: relative; padding-left: 24px; margin: 6px 0; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--rose);
}
.skip-if { background: var(--cream); border-radius: 12px; padding: 10px 12px; font-size: .95rem; }
.band {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin: 14px 0;
}
.band span:first-child { font-family: var(--sans); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--btn); width: 100%; }
.band .note { font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); width: 100%; }
.pick .btn { width: 100%; }
.aside { background: var(--blush); border-radius: var(--radius); padding: 4px 18px 14px; }
.aside h2 { font-size: 1.2rem; margin-top: 16px; }

/* prose pages */
.prose ol { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.compare { display: grid; gap: 12px; }
.compare .card { background: #fff; border: 1px solid var(--sand); border-radius: var(--radius); padding: 4px 16px 12px; }
.compare .card h2 { font-size: 1.25rem; margin-top: 14px; }
.compare .band { font-size: 1.05rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--sand); vertical-align: top; }
th { background: var(--blush); font-weight: 600; }
.next { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--sand); }

/* footer */
.foot { background: var(--sand); padding: 28px 16px 36px; text-align: center; }
.foot > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.foot .bm { font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin-top: 0; }
.disclosure { font-size: .9rem; }
.foot-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: .9rem; }
.foot-links a { color: var(--ink); }

/* wider screens */
@media (min-width: 720px) {
  h1 { font-size: 2.6rem; }
  .hero { margin: 16px 0 0; border-radius: 32px; padding: 56px 32px 44px; }
  .hero h1 { font-size: 3rem; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .three { grid-template-columns: repeat(3, 1fr); }
  .compare { grid-template-columns: 1fr 1fr; }
  .pick { padding: 24px 28px; }
  .pick .btn { width: auto; }
}
