/* Help center (help.html). Topic tiles, answers open in place. */

:root {
  --ground: #F8F3EA;
  --card: #FFFCF5;
  --ink: #33251A;
  --ink-soft: #6A5747;
  --brown: #6F4A2B;
  --line: rgba(115, 82, 51, .2);
  --blue: #0277b6;
  --t-pro: #F6DDCC;
  --t-insights: #E4EAD3;
  --t-entries: #F7D9CC;
  --t-chats: #FAE7B4;
  --t-settings: #DBE5EF;
  --t-privacy: #F1E1C6;
  --head: "Plus Jakarta Sans", "Work Sans", system-ui, sans-serif;
  --body: "Work Sans", system-ui, sans-serif;
  --gutter: 18px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
b { font-weight: 600; }
:where(a) { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--ground); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }

.top { max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter) 0; display: flex; align-items: center; justify-content: space-between; }
.top__logo img { width: 96px; margin-left: -18px; }
.top__nav { display: flex; align-items: center; gap: 18px; }
.top__link { font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 0; }
.lang { position: relative; font-size: 15px; font-weight: 500; }
.lang summary { list-style: none; cursor: pointer; padding: 8px 0; display: flex; align-items: center; gap: 6px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.lang ul { position: absolute; right: 0; top: 100%; z-index: 20; list-style: none; margin: 4px 0 0; padding: 8px; min-width: 170px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 12px 30px rgba(51, 37, 26, .14); }
.lang a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.lang a:hover { background: var(--ground); }
.lang a[aria-current] { font-weight: 600; background: var(--ground); }
.top__link:hover { text-decoration: underline; }

/* ── hero ────────────────────────────────────────── */
.hero { max-width: var(--max); margin: 0 auto; padding: 6px var(--gutter) 0; display: flex; flex-direction: column; }
/* phone: title, search, tiles, then the most asked; the desk puts tiles beside the rest */
.hero__ask { display: contents; }
.hero .tiles { order: 2; margin-top: 22px; }
.hero .most { order: 3; }
.hero__title { margin: 0 0 18px; font: 800 clamp(2.4rem, 10.5vw, 4rem)/1 var(--head); letter-spacing: -.035em; }

.ask { position: relative; }
.ask__icon { position: absolute; left: 18px; top: 17px; color: var(--brown); pointer-events: none; }
.ask__input {
  width: 100%; height: 56px; padding: 0 18px 0 50px; font: 500 17px/1 var(--body); color: var(--ink);
  background: var(--card); border: 1.5px solid var(--brown); border-radius: 28px; appearance: none; -webkit-appearance: none; text-overflow: ellipsis;
}
.ask__input::placeholder { color: #A39483; }
.ask__input::-webkit-search-cancel-button { display: none; }
.ask__input:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.ask__clear { position: absolute; right: 8px; top: 8px; height: 40px; padding: 0 14px; font-size: 14px; font-weight: 600; color: var(--ink-soft); border-radius: 20px; }
.ask__clear:hover { background: var(--ground); }
.ask__status { margin: 10px 4px 0; font-size: 14px; color: var(--ink-soft); }
.ask__status:empty { display: none; }

.most { margin-top: 26px; }
.most__title { margin: 0 0 4px; font: 600 14px/1.3 var(--body); color: var(--ink-soft); }
.most__list { list-style: none; margin: 0; padding: 0; counter-reset: most; }
.most__list li { counter-increment: most; border-bottom: 1px solid var(--line); }
.most__list a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; padding: 12px 0; font: 700 16px/1.35 var(--head); text-decoration: none; }
.most__list a::before { content: counter(most); font: 800 16px/1.35 var(--head); color: var(--brown); }
.most__list a:hover { text-decoration: underline; }

/* ── tiles ───────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile {
  display: grid; grid-template-rows: 72px auto auto; justify-items: start; align-items: end; --oh: 72px;
  padding: 12px 10px 12px 12px; border-radius: 22px; text-decoration: none; background: var(--tint);
  transition: transform .2s ease;
}
.tile:hover { transform: translateY(-2px); }
.tile:active { transform: scale(.985); }
.tile__name { margin-top: 10px; font: 800 14px/1.15 var(--head); letter-spacing: -.01em; }
.tile__n { margin-top: 3px; font-size: 12px; color: var(--ink-soft); }
.tile--pro, .topic--pro { --tint: var(--t-pro); }
.tile--insights, .topic--insights { --tint: var(--t-insights); }
.tile--entries, .topic--entries { --tint: var(--t-entries); }
.tile--chats, .topic--chats { --tint: var(--t-chats); }
.tile--settings, .topic--settings { --tint: var(--t-settings); }
.tile--privacy, .topic--privacy { --tint: var(--t-privacy); }

/* ── felt pictures ───────────────────────────────── */
.obj { display: block; width: auto; height: var(--oh, 72px); max-width: 100%; object-fit: contain; object-position: left bottom; align-self: end; }

/* ── topics: one card each, a tinted header with the picture, then the rows ── */
.topics { max-width: var(--max); margin: 40px auto 0; padding: 0 var(--gutter); display: flex; flex-direction: column; gap: 18px; }
.col { display: contents; }
.anchor { position: absolute; scroll-margin-top: 14px; }
.topic { scroll-margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.topic__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 16px 18px 18px; background: var(--tint); }
.topic__head .obj { --oh: 64px; max-width: 84px; object-position: center; align-self: center; }
.topic__title { margin: 0; font: 800 21px/1.12 var(--head); letter-spacing: -.02em; }
.topic__lead { margin: 5px 0 0; font-size: 14.5px; line-height: 1.4; color: var(--ink-soft); max-width: 30em; }

.row { scroll-margin-top: 12px; }
.row { border-top: 1px solid var(--line); }
.row__h { margin: 0; font: inherit; }
.row__btn { display: grid; grid-template-columns: minmax(0, 1fr) 20px; column-gap: 12px; align-items: center; width: 100%; text-align: left; padding: 16px 16px 16px 18px; font: 700 16.5px/1.35 var(--head); }
.row__btn:hover { background: rgba(115, 82, 51, .045); }
.row__topic { display: none; }
.row__chev { grid-column: 2; grid-row: 1; color: var(--brown); transition: transform .2s ease; }
.row.is-open .row__chev { transform: rotate(180deg); }
.row.is-open .row__btn { background: var(--tint, var(--ground)); }
.row__text mark { background: rgba(242, 180, 48, .5); color: inherit; border-radius: 4px; padding: 0 1px; }
.row__answer { padding: 16px 18px 20px; border-top: 1px solid var(--line); }
.js .row__answer { display: none; }
.js .row.is-open .row__answer { display: block; animation: answer-in .22s ease-out both; }
@keyframes answer-in { from { opacity: 0; } to { opacity: 1; } }

.prose { max-width: 38em; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 12px; padding-left: 1.1em; }
.prose li { margin-bottom: 7px; padding-left: 2px; }
.prose li::marker { color: var(--brown); }
.prose .reflect { font: italic 400 20px/1.45 "Lora", Georgia, serif; margin: 16px 0; }

.where { margin-top: 16px; }
.where__label { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.where ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; justify-items: start; }
.where__path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 8px 14px; border-radius: 14px; background: var(--tint, var(--ground)); font-size: 15px; font-weight: 500; line-height: 1.3; }
.where__path i { width: 6px; height: 6px; border-top: 1.5px solid var(--brown); border-right: 1.5px solid var(--brown); transform: rotate(45deg); opacity: .7; }
.row__foot { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.page-link { font-size: 14px; font-weight: 500; color: var(--ink-soft); padding: 6px 0; }
.page-link:hover { color: var(--ink); }
.copy { font-size: 14px; font-weight: 500; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; padding: 6px 0; }
.copy:hover { color: var(--ink); }

/* ── searching: one flat list, best match first ──── */
.is-searching .most, .is-searching .tiles, .is-searching .topic__head { display: none; }

.is-searching .topics { margin-top: 20px; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; max-width: calc(var(--max) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); padding: 0; }
.is-searching .topics.is-empty { background: none; border: 0; }
.is-searching .topic, .is-searching .topic__rows, .is-searching .col { display: contents; }
.is-searching .row { margin-top: -1px; }
.is-searching .row__btn { grid-template-rows: auto auto; }
.is-searching .row__topic { display: block; grid-column: 1; grid-row: 2; margin-top: 3px; font: 500 13px/1.3 var(--body); color: var(--ink-soft); }
.is-searching .row__chev { grid-row: 1 / span 2; }

.none { padding: 6px 2px 0; max-width: 30em; }
.none__title { margin: 0 0 10px; font: 800 24px/1.12 var(--head); letter-spacing: -.02em; }
.none p { margin: 0 0 16px; }

.btn { display: inline-block; padding: 15px 22px; border-radius: 28px; background: var(--brown); color: #FFF8EC; font: 700 16px/1.2 var(--head); text-decoration: none; transition: background-color .18s ease; }
.btn:hover { background: #5B3B21; }

/* ── an answer on its own page ───────────────────── */
.page { max-width: 800px; margin: 0 auto; padding: 14px var(--gutter) 0; }
.crumb { margin: 0 0 14px; font-size: 15px; font-weight: 500; }
.crumb a::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 2px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.answer__topic { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.answer__topic a { text-decoration: none; }
.answer__topic a:hover { text-decoration: underline; }
.answer__title { margin: 0; font: 800 clamp(1.6rem, 6.4vw, 2.5rem)/1.1 var(--head); letter-spacing: -.03em; }
.answer__body { padding: 22px 18px 26px; }
.answer .prose { font-size: 17px; }
.more { margin-top: 36px; }
.more__title { margin: 0 0 6px; font: 800 20px/1.2 var(--head); letter-spacing: -.02em; }
.more__list { list-style: none; margin: 0; padding: 0; }
.more__list li { border-bottom: 1px solid var(--line); }
.more__list a { display: block; padding: 13px 0; font: 700 16px/1.35 var(--head); text-decoration: none; }
.more__list a:hover { text-decoration: underline; }
.page .contact { width: 100%; }

/* ── contact ─────────────────────────────────────── */
.contact { position: relative; max-width: calc(var(--max) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); margin: 64px auto 0; padding: 30px 22px 28px; border-radius: 28px; background: var(--t-settings); }
.contact__plane { width: 120px; margin: -64px 0 6px auto; }
.contact__title { margin: 0 0 12px; font: 800 clamp(1.8rem, 7vw, 2.6rem)/1.05 var(--head); letter-spacing: -.03em; }
.contact p { margin: 0 0 14px; max-width: 34em; }

.foot { max-width: var(--max); margin: 56px auto 0; padding: 22px var(--gutter) 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; font-size: 14px; color: var(--ink-soft); }
.foot img { width: 84px; margin-left: -16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }

@media (min-width: 620px) {
  :root { --gutter: 32px; }
  .tiles { gap: 14px; }
  .tile { grid-template-rows: 128px auto auto; padding: 18px; --oh: 128px; border-radius: 26px; }
  .tile__name { font-size: 17px; }
  .tile__n { font-size: 13px; }
  .contact { padding: 44px 48px 40px; }
  .contact__plane { position: absolute; right: 40px; top: -50px; width: 190px; margin: 0; }
}

@media (min-width: 980px) {
  .top { padding-top: 16px; }
  .hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; padding-top: 28px; }
  .hero__ask { display: block; }
  .hero .tiles { margin-top: 0; }
  .hero__title { font-size: clamp(3.4rem, 5.6vw, 4.6rem); margin-bottom: 26px; }
  .ask__input { height: 62px; font-size: 18px; border-radius: 31px; }
  .ask__icon { top: 20px; }
  .ask__clear { top: 11px; }
  .tile { grid-template-rows: 150px auto auto; padding: 22px; border-radius: 30px; --oh: 150px; }
  .tile__name { font-size: 19px; }
  .is-searching .hero { grid-template-columns: minmax(0, 720px); }
  .is-searching .topics { max-width: 720px; margin-left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }

  /* two columns of topic cards; opening an answer only moves its own column */
  .topics { margin-top: 72px; flex-direction: row; align-items: flex-start; gap: 22px; }
  .col { display: flex; flex-direction: column; gap: 22px; flex: 1 1 0; min-width: 0; }
  .is-searching .topics { flex-direction: column; align-items: stretch; }
  .topic__head { padding: 24px 22px 24px 26px; }
  .topic__head .obj { --oh: 84px; max-width: 110px; }
  .topic__title { font-size: 25px; }
  .topic__lead { font-size: 15.5px; }
  .page { padding-top: 28px; }
  .answer .topic__head { padding: 30px 28px 30px 32px; }
  .answer .topic__head .obj { --oh: 104px; max-width: 130px; }
  .answer__body { padding: 30px 32px 34px; }
  .row__btn { padding: 18px 20px 18px 26px; font-size: 17px; }
  .row__answer { padding: 20px 26px 24px; }
  .contact { margin-top: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
