/* ============================================================
   STUDIO LIFE STYLE — INTERNAL PAGE (page.php)
   Side-nav + content sections + callouts + process + FAQ + table.
   ============================================================ */

.page-body { padding: 80px 0 120px; background: var(--bg); }
.page-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 60px; align-items: start;
}
.page-layout.no-side { grid-template-columns: minmax(0, 1fr); }

/* Side nav */
.side-nav {
  position: sticky; top: 120px;
  display: flex; flex-direction: column; gap: 32px;
}
.side-nav h6 {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--mute);
  margin-bottom: 14px;
}
.side-nav .list {
  display: flex; flex-direction: column; gap: 2px;
  border-left: 2px solid var(--line);
}
.side-nav .list a {
  padding: 10px 16px;
  font-size: 14px; color: var(--mute);
  transition: .2s var(--ease);
  margin-left: -2px;
  border-left: 2px solid transparent;
  text-decoration: none;
}
.side-nav .list a:hover { color: var(--text); }
.side-nav .list a.is-active {
  color: var(--text);
  border-left-color: var(--orange);
  font-weight: 600;
}

.help-card {
  padding: 20px;
  background: var(--ink); color: #fff;
}
.help-card h6 { color: #9A958C; margin-bottom: 8px; }
.help-card .title {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: .04em;
  line-height: 1.05; margin-bottom: 14px;
}
.help-card .btn {
  width: 100%; justify-content: center;
  padding: 11px 16px; font-size: 11px;
}

/* Content */
.content > section { padding-top: 48px; margin-top: -48px; }
.content > section + section {
  margin-top: 48px; padding-top: 48px;
  border-top: 1px solid var(--line);
}
.content h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: .01em; line-height: 1;
  color: var(--text); text-transform: uppercase;
  margin-bottom: 8px;
}
.content h3 {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: .04em;
  color: var(--text); margin-top: 32px; margin-bottom: 10px;
}
.content .lede {
  color: var(--mute);
  font-size: 17px; line-height: 1.6;
  margin-bottom: 24px; max-width: 720px;
}
.content p {
  color: var(--text);
  font-size: 16px; line-height: 1.75;
  margin-bottom: 14px; max-width: 720px;
}
.content p b, .content p strong { font-weight: 700; }
.content ul, .content ol {
  padding-left: 20px;
  display: flex; flex-direction: column; gap: 8px;
  color: var(--text); font-size: 16px; line-height: 1.65;
  max-width: 720px; margin-bottom: 14px;
}
.content li::marker { color: var(--orange); }
.content a {
  color: var(--orange);
  border-bottom: 1px solid currentColor;
}
.content a:hover { color: var(--text); }

/* Callouts */
.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  margin: 20px 0; max-width: 720px;
}
.callout .ic {
  width: 36px; height: 36px;
  background: var(--orange); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
}
.callout h5 {
  font-family: var(--font-display);
  font-size: 18px; letter-spacing: .06em;
  color: var(--text); margin-bottom: 4px;
}
.callout p {
  font-size: 14px; color: var(--mute);
  line-height: 1.6; margin: 0;
}
.callout.warn { border-left-color: #7A3144; }
.callout.warn .ic { background: #7A3144; }
.callout.ok   { border-left-color: var(--green); }
.callout.ok   .ic { background: var(--green); }

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0; margin: 24px 0;
  border: 1px solid var(--line);
  background: var(--bg-2);
  max-width: 920px;
}
.pstep {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.pstep:last-child { border-right: 0; }
.pstep .n {
  font-family: var(--font-display);
  font-size: 36px; color: var(--orange);
  line-height: 1; letter-spacing: -.02em;
}
.pstep h4 {
  font-family: var(--font-display);
  font-size: 18px; letter-spacing: .05em;
  color: var(--text);
}
.pstep p {
  font-size: 13px; color: var(--mute);
  line-height: 1.55; margin: 0; max-width: none;
}
.pstep::after {
  content: "→";
  position: absolute;
  top: 50%; right: -12px;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 22px; color: var(--orange);
  background: var(--bg);
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%; z-index: 1;
}
.pstep:last-child::after { display: none; }

/* FAQ */
.faq {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 720px; margin: 20px 0;
}
.faq details {
  background: var(--bg-2); padding: 0;
  transition: .2s var(--ease);
}
.faq summary {
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px; font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex; justify-content: space-between;
  align-items: center; gap: 14px;
  transition: .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 28px; color: var(--orange);
  transition: .2s var(--ease); line-height: 1;
}
.faq details[open] summary {
  color: var(--orange);
  background: var(--bg-warm);
}
.faq details[open] summary::after { content: "−"; }
.faq details > div {
  padding: 0 24px 22px;
  color: var(--mute);
  font-size: 14px; line-height: 1.65;
}

/* Table */
.data-table {
  width: 100%; border-collapse: collapse;
  margin: 16px 0; max-width: 720px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.data-table th, .data-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.data-table th {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--orange);
  background: var(--bg);
  font-weight: 700;
}
.data-table td:first-child {
  font-family: var(--font-display);
  font-size: 18px; color: var(--text);
  letter-spacing: .04em;
}
.data-table tbody tr:last-child td { border-bottom: 0; }

/* Contact strip */
.help-strip {
  margin-top: 80px;
  background: var(--ink); color: #fff;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.help-strip::before {
  content: ""; position: absolute;
  right: -80px; bottom: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,123,27,.3), transparent 70%);
}
.help-strip .tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 10px; position: relative;
}
.help-strip h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: .02em; line-height: 1;
  position: relative;
}
.help-strip h3 .orange { color: var(--orange); }
.help-strip p {
  color: rgba(255,255,255,.65);
  margin-top: 8px; font-size: 15px;
  position: relative;
}
.help-strip .actions {
  display: flex; gap: 10px;
  position: relative; flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; gap: 40px; }
  .side-nav {
    position: static;
    display: flex; flex-direction: row;
    flex-wrap: wrap; gap: 20px;
  }
  .side-nav > div { flex: 1 1 240px; }
  .process { grid-template-columns: 1fr 1fr; }
  .pstep:nth-child(2)::after { display: none; }
  .pstep:nth-child(odd) { border-right: 1px solid var(--line); }
  .pstep:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .help-strip { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 640px) {
  .page-body { padding: 48px 0 80px; }
  .process { grid-template-columns: 1fr; }
  .pstep { border-right: 0; border-bottom: 1px solid var(--line); }
  .pstep::after { display: none; }
}
