:root {
  --bg: #f3efe6;
  --bg-2: #efe8d9;
  --ink: #10233d;
  --ink-soft: #3b4d66;
  --muted: #5c6b80;
  --line: rgba(16, 35, 61, 0.1);
  --surface: rgba(255, 252, 247, 0.86);
  --surface-solid: #fffdf8;
  --brand: #0f766e;
  --brand-2: #0b4f4a;
  --mint: #3ee0c4;
  --orange: #e86a33;
  --blue: #2f6fed;
  --teal: #0f9d8a;
  --violet: #6d5efc;
  --pink: #d4538b;
  --slate: #4b5d78;
  --shadow: 0 18px 50px rgba(16, 35, 61, 0.08);
  --radius: 22px;
  --header-h: 76px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 500px at 10% -10%, rgba(62, 224, 196, 0.28), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(232, 106, 51, 0.16), transparent 50%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.55;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--brand-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand);
}

.sr-only,
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 80;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(243, 239, 230, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
}

.brand strong {
  display: block;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav > a,
.nav-dropdown > button {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}

.site-nav > a:hover,
.nav-dropdown > button:hover {
  background: rgba(16, 35, 61, 0.06);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__panel {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 260px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 20;
}

.nav-dropdown.is-open .nav-dropdown__panel,
.nav-dropdown:hover .nav-dropdown__panel {
  display: grid;
}

.nav-dropdown__panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}

.nav-dropdown__panel a:hover {
  background: var(--bg-2);
}

.tool-mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}

.tool-mini-icon svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  padding: 10px 11px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

.ad-band {
  padding: 18px 0 0;
}

.ad-band--footer {
  padding: 8px 0 0;
}

.ad-slot {
  border-radius: 16px;
  overflow: hidden;
  min-height: 90px;
}

.ad-slot--placeholder {
  border: 1px dashed rgba(16, 35, 61, 0.22);
  background: repeating-linear-gradient(
    -45deg,
    rgba(16, 35, 61, 0.03),
    rgba(16, 35, 61, 0.03) 8px,
    rgba(255, 255, 255, 0.4) 8px,
    rgba(255, 255, 255, 0.4) 16px
  );
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px 16px;
  color: var(--muted);
  gap: 4px;
}

.ad-slot--sidebar.ad-slot--placeholder {
  min-height: 280px;
}

.ad-slot__kicker {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ad-slot__label {
  color: var(--ink-soft);
  font-weight: 600;
}

.ad-slot__hint {
  font-size: 0.82rem;
  max-width: 36ch;
}

.hero {
  padding: 56px 0 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 35, 61, 0.06);
  color: var(--brand-2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1,
.page-hero h1,
.tool-hero h1 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.lede,
.hero p,
.page-hero p,
.tool-hero p {
  color: var(--ink-soft);
  font-size: 1.12rem;
  max-width: 52ch;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn--primary {
  background: var(--ink);
  color: #f7f3ea;
}

.btn--primary:hover {
  background: #173456;
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.6);
  color: inherit;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.hero-card h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}

.search-box input {
  border: 0;
  outline: none;
  width: 100%;
  font: inherit;
  background: transparent;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.hero-stats div {
  background: rgba(16, 35, 61, 0.04);
  border-radius: 14px;
  padding: 12px;
}

.hero-stats strong {
  display: block;
  font-size: 1.15rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding: 18px 0 56px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-family: var(--display);
  margin: 0;
  font-size: 1.8rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  min-height: 210px;
  box-shadow: 0 10px 30px rgba(16, 35, 61, 0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.tool-card.is-soon {
  opacity: 0.78;
  cursor: default;
}

.tool-card.is-soon:hover {
  transform: none;
  box-shadow: none;
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.tool-icon svg {
  width: 26px;
  height: 26px;
}

.accent-blue { background: #dbe7ff; color: #1d4ed8; }
.accent-teal { background: #d7f6ef; color: #0f766e; }
.accent-orange { background: #ffe3d4; color: #c2410c; }
.accent-violet { background: #e5e0ff; color: #5b4cdb; }
.accent-pink { background: #ffd9e8; color: #be185d; }
.accent-slate { background: #e4eaf3; color: #334155; }

.tool-card h3 {
  margin: 4px 0 0;
  font-size: 1.15rem;
}

.tool-card p {
  margin: 0;
  color: var(--ink-soft);
  flex: 1;
}

.pill {
  align-self: start;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(16, 35, 61, 0.06);
}

.pill--soon {
  background: #fff4d6;
  color: #92400e;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero,
.tool-hero {
  padding: 42px 0 10px;
}

.prose {
  max-width: 70ch;
}

.prose h2 {
  font-family: var(--display);
  margin-top: 1.8em;
}

.layout-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  padding-bottom: 48px;
  align-items: start;
}

.layout-tool--wide {
  grid-template-columns: 1fr;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(16, 35, 61, 0.04);
}

.dropzone {
  border: 1.5px dashed rgba(16, 35, 61, 0.25);
  border-radius: 20px;
  padding: 42px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.dropzone.is-over,
.dropzone:hover {
  border-color: var(--brand);
  background: #fff;
}

.dropzone strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.dropzone p {
  margin: 0;
  color: var(--muted);
}

.dropzone input {
  display: none;
}

.file-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.file-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.file-item__name {
  margin: 0;
  font-size: 0.95rem;
  word-break: break-word;
}

.file-item__meta {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.file-item__state {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(16, 35, 61, 0.06);
  white-space: nowrap;
}

.file-item.is-done .file-item__state {
  background: #d7f6ef;
  color: #0f766e;
}

.file-item.is-error .file-item__state {
  background: #ffe3d4;
  color: #c2410c;
}

.file-item.is-busy .file-item__state {
  background: #dbe7ff;
  color: #1d4ed8;
}

.file-item .btn {
  padding: 8px 12px;
  font-size: 0.85rem;
}

.progress {
  margin-top: 16px;
  height: 10px;
  background: rgba(16, 35, 61, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--mint));
  transition: width 0.2s ease;
}

.status {
  margin-top: 12px;
  color: var(--ink-soft);
  min-height: 1.4em;
}

.status.is-error {
  color: #b42318;
}

.note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.speed-wrap {
  display: grid;
  justify-items: center;
  gap: 18px;
}

/* Speedtest estilo convencional */
.speedtest__body {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-bottom: 8px;
}

.speedtest__phase {
  margin: 0;
  font-weight: 600;
  color: var(--brand-2);
  text-align: center;
}

.speedtest__gauge-wrap {
  position: relative;
  width: min(300px, 100%);
}

.speedtest__gauge {
  width: 100%;
  display: block;
}

.speedtest__readout {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

.speedtest__value {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.speedtest__unit {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.speedtest__bar {
  width: min(320px, 100%);
  height: 8px;
  background: rgba(16, 35, 61, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.speedtest__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--mint));
  border-radius: 999px;
  transition: width 0.15s linear;
}

.speedtest__go {
  min-width: 180px;
}

.speedtest__status {
  text-align: center;
  max-width: 42ch;
}

.speedtest__results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.speedtest__metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.speedtest__metric span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.speedtest__metric strong {
  display: block;
  font-size: 1.5rem;
  margin-top: 4px;
  line-height: 1.1;
}

.speedtest__metric small {
  color: var(--muted);
  font-size: 0.78rem;
}

.speedtest__metric.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
}

.speedtest__metric.is-done strong {
  color: var(--brand-2);
}

.speedtest.is-running .speedtest__go {
  opacity: 0.85;
}

.gauge {
  width: min(280px, 100%);
}

.gauge-value {
  font-family: var(--display);
  font-size: 3rem;
  letter-spacing: -0.04em;
  text-align: center;
  margin: 0;
}

.gauge-unit {
  text-align: center;
  color: var(--muted);
  margin: 0 0 8px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.metric strong {
  font-size: 1.35rem;
}

.contact-form,
.qr-like {
  display: grid;
  gap: 12px;
}

label span {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  background: #e7f8ef;
  color: #166534;
  margin-bottom: 14px;
}

.alert--error {
  background: #fde8e8;
  color: #b42318;
}

.site-footer {
  background: #10233d;
  color: #d9e3f0;
  padding: 48px 0 24px;
  margin-top: 12px;
}

.site-footer a {
  color: #d9e3f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-grid h2 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8ea0b8;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li + li {
  margin-top: 8px;
}

.brand--footer {
  margin-bottom: 12px;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8ea0b8;
  font-size: 0.9rem;
}

.empty-search {
  display: none;
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 920px) {
  .hero,
  .layout-tool,
  .footer-grid,
  .features {
    grid-template-columns: 1fr;
  }

  .tool-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: var(--header-h) 16px auto 16px;
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-dropdown__panel {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0;
  }

  .nav-dropdown.is-open .nav-dropdown__panel {
    display: grid;
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 22px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.howto {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.howto li + li {
  margin-top: 8px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

.cat-block {
  margin-bottom: 28px;
}

.cat-block__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.cat-block__head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
}

.tool-grid--related {
  grid-template-columns: repeat(4, 1fr);
}

.file-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.file-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.file-list li span {
  flex: 1;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-list li small {
  color: var(--muted);
  flex: none;
}

.file-list li button {
  appearance: none;
  border: 0;
  background: rgba(16, 35, 61, 0.08);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ink-soft);
}

.file-list li button:hover {
  background: rgba(16, 35, 61, 0.14);
}

.prose-tool h2 {
  font-family: var(--display);
  margin: 0 0 12px;
}

.tool-engine__mount {
  display: grid;
  gap: 12px;
}

.tool-engine .field {
  display: block;
  margin-bottom: 14px;
}

.tool-engine .field strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.tool-engine .field input,
.tool-engine .field select,
.tool-engine .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.tool-engine .field input:focus,
.tool-engine .field select:focus,
.tool-engine .field textarea:focus {
  outline: 2px solid rgba(15, 118, 110, 0.25);
  border-color: rgba(15, 118, 110, 0.45);
}

.tool-engine .inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.tool-engine [data-result] {
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.tool-engine .status.is-error {
  color: #b42318;
}

/* Gerador de currículo */
.resume-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 22px;
  width: 100%;
}

.resume-builder__form {
  max-height: none;
}

.resume-block + .resume-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.resume-section-title {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--brand-2);
}

.resume-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.resume-repeat-list {
  display: grid;
  gap: 14px;
}

.resume-repeat-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
}

.resume-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.resume-photo-preview {
  margin-bottom: 12px;
}

.resume-photo-preview img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--brand);
}

.resume-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.resume-preview-title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.resume-sheet-wrap {
  overflow: auto;
  max-height: calc(100vh - 220px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.resume-sheet {
  padding: 20px 22px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink);
  min-height: 420px;
  box-sizing: border-box;
}

.resume-sheet__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.resume-sheet__photo img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--brand);
}

.resume-sheet__intro h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.resume-sheet__title {
  margin: 4px 0 8px;
  color: var(--brand);
  font-weight: 600;
}

.resume-sheet__contact span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.resume-sheet__extras {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.resume-sheet section {
  margin-bottom: 14px;
}

.resume-sheet h2 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.resume-sheet p {
  margin: 0;
  color: var(--ink-soft);
}

.resume-entry {
  margin-bottom: 10px;
}

.resume-entry__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.resume-entry__head strong {
  color: var(--ink);
}

.resume-entry__head span {
  color: var(--muted);
  font-size: 0.78rem;
}

.resume-entry__meta {
  margin: 2px 0 4px !important;
  font-size: 0.76rem !important;
  color: var(--muted) !important;
}

.resume-sheet ul {
  margin: 4px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.resume-sheet li {
  margin-bottom: 2px;
}

.resume-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.resume-tags span {
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.18);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  color: var(--brand-2);
}

.resume-sheet__closing p {
  font-style: italic;
}

@media (max-width: 920px) {
  .resume-builder {
    grid-template-columns: 1fr;
  }

  .resume-sheet-wrap {
    max-height: none;
  }

  .resume-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .tool-grid--related {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .tool-grid,
  .metrics,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .file-item {
    grid-template-columns: 1fr auto;
  }

  .file-item .btn {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
