/* Inner pages */
.page { display: flex; flex-direction: column; }

/* Page header box */
.page-top { padding-top: 32px; }
.page-head {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  padding: 56px;
  border-radius: 10px;
  background: var(--cream);
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 80%);
          mask-image: linear-gradient(90deg, #000, transparent 80%);
  pointer-events: none;
}
.page-head > * { position: relative; }
.page-head-l { display: flex; flex-direction: column; gap: 20px; }
.page-head h1 { font-size: clamp(30px, 3.6vw, 44px); }
.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.crumbs a { background-image: linear-gradient(var(--sun-dark), var(--sun-dark)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease); }
.crumbs a:hover { background-size: 100% 2px; }
.page-head-r { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.meta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* Legal / text layout */
.doc { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.toc-wrap {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.toc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(14, 59, 44, .06);
}
.toc-head { display: flex; align-items: center; gap: 10px; padding-inline: 6px; }
.toc-head p { font-weight: 800; }
.toc-bar { height: 4px; border-radius: 10px; background: var(--cream); overflow: hidden; }
.toc-bar span { display: block; width: 0; height: 100%; border-radius: 10px; background: var(--sun); transition: width .2s linear; }
.toc-links { display: flex; flex-direction: column; gap: 2px; }
.toc-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 600;
  transition: background .3s var(--ease);
}
.toc-n {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--cream);
  font-family: var(--font-head);
  font-weight: 600;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.toc-links a:hover { background: var(--cream); }
.toc-links a:hover .toc-n { background: #fff; }
.toc-links a.active { background: var(--cream); font-weight: 800; }
.toc-links a.active .toc-n { background: var(--forest); color: #fff; }
.toc-help {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  overflow: hidden;
}
.toc-help h3 { font-size: 20px; }
.toc-help .btn { position: relative; }
.doc-body { display: flex; flex-direction: column; gap: 40px; max-width: 820px; }
.doc-sec { display: flex; flex-direction: column; gap: 14px; }
.doc-sec h2 { font-size: 24px; display: flex; align-items: center; gap: 12px; }
.doc-sec h2 span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sun);
  font-size: 16px;
}
.doc-sec ul { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; }
.doc-sec a { font-weight: 700; box-shadow: inset 0 -2px 0 var(--sun-dark); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: stretch; }
.c-info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  overflow: hidden;
}
.c-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  pointer-events: none;
}
.c-info > * { position: relative; }
.c-info { justify-content: space-between; gap: 32px; }
.c-main { display: flex; flex-direction: column; gap: 12px; }
.c-bottom { display: flex; }
.c-top { display: flex; flex-direction: column; gap: 14px; padding-bottom: 20px; }
.c-top h2 { font-size: 26px; }
.c-info .eyebrow { background: rgba(255, 255, 255, .1); }
.c-info .eyebrow::before { background: var(--sun); }
.c-card { display: flex; gap: 16px; align-items: center; padding: 16px 16px 16px 16px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.c-ico { color: #000; }
.c-ico { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 10px; background: var(--sun); }
.c-card div { display: flex; flex-direction: column; gap: 0; flex: 1; min-width: 0; }
.c-card p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-go { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .1); transition: background .35s var(--ease), color .35s var(--ease), transform .45s var(--ease); }
.c-card:hover .c-go { background: var(--sun); color: #000; transform: rotate(-45deg); }
.c-card { transition: background .3s var(--ease); }
.c-card h3 { font-size: 18px; }
.form { display: flex; flex-direction: column; gap: 20px; padding: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.form h2 { font-size: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  font: inherit;
  font-size: 16px;
  color: #000;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.select-wrap { position: relative; display: flex; }
.field select { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 56px; cursor: pointer; }
.select-arrow {
  position: absolute;
  right: 8px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sun);
  transform: translateY(-50%);
  pointer-events: none;
  transition: transform .35s var(--ease), background .3s var(--ease);
}
.select-wrap:focus-within .select-arrow { transform: translateY(-50%) rotate(180deg); background: #000; color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #000; background: #fff; }
.form .btn { align-self: flex-start; }
.form-note { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.form-note.show { grid-template-rows: 1fr; }
.form-note > div { overflow: hidden; min-height: 0; }
.form-note p { padding: 14px 16px; border-radius: 10px; background: var(--sun); font-weight: 700; }

/* About */
.a-ico { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 10px; background: var(--sun); color: #000; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-media { position: relative; padding-bottom: 28px; }
.story-img { aspect-ratio: 6 / 5; border-radius: 10px; background: var(--cream); }
.story-chip {
  position: absolute;
  right: 24px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(14, 59, 44, .12);
  animation: float 6s ease-in-out infinite;
}
.story-chip > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.story-chip strong { font-weight: 800; }
.story-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.story-text h2 { font-size: clamp(26px, 3vw, 36px); }

.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  overflow: hidden;
}
.promise-n {
  position: absolute;
  right: 20px;
  top: 12px;
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .18);
}
.promise h3 { font-size: 20px; }

.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 28px;
  border-top: 2px dashed var(--line);
}
.proc { position: relative; display: flex; flex-direction: column; gap: 12px; }
.proc-dot {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  box-shadow: 0 0 0 8px #fff;
}
.proc h3 { font-size: 20px; }

.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 32px; border-radius: 10px; background: #fff; }
.who h3 { font-size: 20px; }
.who p { flex: 1; }

@media (max-width: 1024px) {
  .page-head { grid-template-columns: 1fr; gap: 14px; padding: 40px; }
  .page-head-l, .page-head-r { gap: 14px; }
  .doc { grid-template-columns: 1fr; gap: 40px; }
  .toc-wrap { position: static; }
  .toc-help { display: none; }
  .contact, .story { grid-template-columns: 1fr; gap: 24px; }
  .promise-grid, .who-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .process::before { display: none; }
}
@media (max-width: 640px) {
  .page-top { padding-top: 16px; }
  .page-head { padding: 28px 20px; border-radius: 10px; }
  .form, .c-info { padding: 24px; }
  .form-row, .promise-grid, .who-grid, .process { grid-template-columns: 1fr; }
  .promise, .who { padding: 24px; }
  .story-chip { right: 12px; }
}

/* FAQ page */
.faq-page { display: flex; flex-direction: column; gap: 40px; }
.faq-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.f-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 10px; background: var(--cream); }
.f-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.f-tab:hover { background: #fff; }
.f-tab.active { background: var(--forest); color: #fff; }
.f-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 340px;
  max-width: 100%;
  padding: 0 18px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  transition: border-color .3s var(--ease);
}
.f-search:focus-within { border-color: #000; }
.f-search input { flex: 1; min-width: 0; padding: 14px 0; border: 0; outline: none; background: none; font: inherit; font-size: 16px; color: #000; }
.faq-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.faq-groups { display: flex; flex-direction: column; gap: 40px; }
.faq-group { display: flex; flex-direction: column; gap: 16px; animation: fade-up .45s var(--ease); }
.faq-group.is-hidden { display: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.faq-group-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.faq-group-head h2 { font-size: 24px; flex: 1; }
.fg-ico { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: var(--sun); }
.fg-count { padding: 4px 12px; border-radius: 10px; background: var(--cream); font-weight: 700; white-space: nowrap; }
.faq-page .acc-item { background: var(--cream); }
.faq-page .acc-item { transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.faq-page .acc-item.open { background: var(--forest); color: #fff; box-shadow: 0 18px 36px rgba(14, 59, 44, .18); }
.faq-page .acc-item[hidden] { display: none; }
.faq-page .acc-q { justify-content: flex-start; }
.q-n { flex-shrink: 0; font-family: var(--font-head); font-weight: 600; min-width: 28px; }
.q-t { flex: 1; }
.faq-page .acc-a p { padding-left: 68px; }
.faq-page .acc-ico { background: #fff; }
.faq-page .acc-item.open .acc-ico { background: var(--sun); color: #000; }
.faq-empty { padding: 24px; border-radius: 10px; background: var(--cream); font-weight: 700; }
.faq-empty a { box-shadow: inset 0 -2px 0 var(--sun-dark); }
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 12px; }
.faq-help {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 32px;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  overflow: hidden;
}
.faq-help::before {
  content: "?";
  position: absolute;
  right: 10px;
  bottom: -50px;
  font-family: var(--font-head);
  font-size: 200px;
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .1);
  pointer-events: none;
}
.faq-help > * { position: relative; }
.fh-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 10px; background: var(--sun); color: #000; }
.faq-help h3 { font-size: 22px; }
.faq-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 10px;
  background: var(--cream);
  transition: background .3s var(--ease);
}
.faq-mini > span:last-child { display: flex; flex-direction: column; }
.faq-mini strong { font-weight: 800; }
.faq-mini:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }

@media (max-width: 1024px) {
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-side { position: static; }
}
@media (max-width: 640px) {
  .f-tabs { border-radius: 10px; }
  .f-search { width: 100%; }
  .faq-page .acc-a p { padding-left: 20px; }
  .fg-count { display: none; }
  .faq-help { padding: 24px; }
}

/* Breadcrumb always stays on one line */
.crumbs { max-width: 100%; min-width: 0; overflow: hidden; }
.crumbs > a, .crumbs > svg { flex-shrink: 0; }
.crumbs > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-hero-inner > *, .page-head > *, .lp-copy { min-width: 0; }

/* Contact form states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-err { font-weight: 700; }
.field-err:empty { display: none; }
.field input.invalid, .field textarea.invalid { border-color: #000; background: #fff; box-shadow: inset 4px 0 0 var(--sun); }
.form-note.is-error p { background: #000; color: #fff; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.bg-white .who { background: var(--cream); }
