/* Responsive sizing for the approved lower Astra compositions. */
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/astra-manrope-cyrillic-500.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/astra-manrope-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Shared axis and a type scale matched to the original pricing block. */
.astra-lower-shell { width: var(--landing-width); margin-inline: auto; }
.astra-doubts, .astra-samples, .astra-faq { color: var(--ink); scroll-margin-top: 28px; }
.astra-doubts h2, .astra-samples h2, .astra-faq h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw + .75rem, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}

/* Benefits: native content is readable in full before tab enhancement. */
.astra-doubts { padding-top: 80px; }
.astra-doubt-tabs { display: flex; gap: 24px; margin-block: 16px 20px; border-bottom: 1px solid var(--border); }
.astra-doubt-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink);
  font: 800 1rem/1.4 Manrope, sans-serif;
  text-align: left;
  cursor: pointer;
}
.astra-doubt-tab svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.astra-doubt-tab[aria-selected="true"] { border-bottom-color: var(--accent); color: var(--accent); }
.astra-doubt-tab:hover { color: var(--accent); }
.astra-doubt-carousel { touch-action: pan-y; }
.astra-doubts.is-enhanced .astra-doubt-carousel { display: grid; }
.astra-doubts.is-enhanced .astra-doubt-panel { grid-area: 1 / 1; }
/* Keep the panel footprint stable without exposing inactive content. */
.astra-doubts.is-enhanced .astra-doubt-panel[hidden] { display: grid !important; visibility: hidden; pointer-events: none; }
.astra-doubt-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 10rem); grid-template-rows: auto 1fr; gap: 8px 32px; scroll-margin-top: 28px; }
.astra-doubt-panel + .astra-doubt-panel { margin-top: 48px; }
.astra-doubts.is-enhanced .astra-doubt-panel { margin-top: 0; }
.astra-doubt-panel h3 { grid-column: 1; align-self: end; margin: 0; font-size: 1.25rem; font-weight: 800; line-height: 1.4; letter-spacing: -.02em; text-wrap: pretty; }
.astra-doubt-duration { display: block; }
.astra-doubt-accent { color: inherit; }
.astra-doubt-copy { grid-column: 1; align-self: start; min-width: 0; }
.astra-doubt-copy p { margin: 0; color: var(--ink); font-size: 1rem; font-weight: 500; line-height: 1.5; text-wrap: pretty; }
.astra-doubt-copy p:not([hidden]) + p:not([hidden]) { margin-top: .75rem; }
.astra-doubt-art { grid-column: 2; grid-row: 1 / 3; align-self: center; justify-self: end; width: 100%; min-width: 0; margin: 0; }
.astra-doubt-art img { display: block; width: 100%; height: auto; }
.astra-doubt-panel:not(#doubt-topic) .astra-doubt-art img { aspect-ratio: 5 / 4; object-fit: contain; }
.astra-doubt-cta { display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; max-width: 100%; min-height: 44px; margin-top: 12px; padding: 6px 0; border: 0; border-radius: 0; background: transparent; color: var(--accent); font: 800 1rem/1.4 Manrope, sans-serif; text-align: left; text-decoration: none; text-underline-offset: .2em; cursor: pointer; }
.astra-doubt-cta:hover { color: var(--accent-hover); text-decoration: underline; }
.astra-doubt-cta:active { color: var(--accent-active); }
.astra-doubt-cta svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.astra-preview-link { display: block; width: fit-content; max-width: 100%; min-height: 44px; margin-top: 16px; padding: 6px 0; border: 0; background: transparent; color: var(--muted); font: 500 1rem/1.5 Manrope, sans-serif; text-align: left; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.astra-preview-link:hover { color: var(--accent); }
.astra-doubts :is(button, a, [tabindex]):focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }

/* Original price block: retain its local palette, measure and responsive rules. */
.astra-pricing {
  --ink: #142b40;
  --muted: #40566b;
  --accent: #2347ce;
  --accent-hover: #1939ac;
  --accent-active: #142f91;
  --accent-soft: #eaf0ff;
  --accent-tint: #f2f6ff;
  --border: #d4dce8;
  --page-gutter: clamp(1rem, 4vw, 3rem);
  color: var(--ink);
  font-size: 16px;
  line-height: normal;
  padding-top: clamp(48px, 6vw, 80px);
  scroll-margin-top: 28px;
}
.astra-pricing > .astra-lower-shell { width: min(50rem, calc(100% - 2 * var(--page-gutter))); }
.astra-pricing h2 { margin: 0; font-size: clamp(1.75rem, 2.5vw + .75rem, 2.25rem); font-weight: 800; line-height: 1.22; letter-spacing: -.02em; text-wrap: balance; }
.astra-doubts + .astra-pricing { margin-top: 42px; padding-top: 0; }
.astra-doubts + .astra-pricing > .astra-lower-shell { border-top: 1px solid var(--border); padding-top: 36px; }
.astra-pricing-heading {
  position: relative;
  min-height: 100px;
  padding-right: 195px;
}
.astra-pricing-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.5;
}
.astra-pricing-heading img {
  position: absolute;
  top: 0;
  right: 12px;
  width: 170px;
  height: 96px;
  object-fit: contain;
  pointer-events: none;
}
.astra-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 24px;
}
.astra-price-column {
  display: grid;
  grid-auto-rows: minmax(56px, auto);
  min-width: 0;
}
.astra-price-link {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 56px;
  padding: 12px 16px;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: -.01em;
  text-decoration: none;
}
.astra-price-link::after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 1px;
  background: var(--border);
  content: "";
}
.astra-price-column > :last-child::after { display: none; }
.astra-price-link::before {
  position: absolute;
  z-index: -1;
  inset: 4px 0;
  border-radius: 12px;
  background: var(--accent-soft);
  content: "";
  opacity: 0;
}
.astra-price-link.is-selected::before,
.astra-price-link:hover::before { opacity: 1; }
.astra-price-link strong {
  white-space: nowrap;
  font-size: inherit;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.astra-price-link svg {
  width: 16px;
  height: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}
.astra-word-note {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--accent-tint);
  color: var(--muted);
}
.astra-word-note svg {
  width: 28px;
  height: 34px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.astra-word-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}


.astra-pricing-heading p, .astra-price-link > span, .astra-word-note p { font-weight: 500; }

/* A teacher's assignment becomes readable generator fields. */
.astra-assignment { padding-top: clamp(32px, 3vw, 40px); color: var(--ink); scroll-margin-top: 28px; }
.astra-assignment > .astra-lower-shell { scroll-margin-top: 28px; }
.astra-assignment h2 { margin: 0; font-size: clamp(1.75rem, 2.5vw + .75rem, 2.25rem); font-weight: 800; line-height: 1.22; letter-spacing: -.025em; text-align: center; text-wrap: balance; }
.astra-assignment-spread { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); align-items: center; gap: 16px; margin-top: 24px; }
.astra-assignment-art { min-width: 0; margin: 0; }
.astra-assignment-art img { display: block; width: 100%; height: auto; }
.astra-assignment-result { min-width: 0; padding-bottom: 8px; }
.astra-assignment-result h3 { margin: 0 0 16px; color: var(--muted); font-size: 1rem; font-weight: 500; line-height: 1.5; }
.astra-assignment-fields { display: grid; grid-template-columns: auto auto; gap: 22px 24px; margin: 0; }
.astra-assignment-fields > div { min-width: 0; }
.astra-assignment-topic { grid-column: 1 / -1; }
.astra-assignment-fields dt { margin-bottom: 4px; color: var(--muted); font-size: 1rem; font-weight: 800; line-height: 1.5; }
.astra-assignment-fields dd { margin: 0; font-size: 1.25rem; font-weight: 500; line-height: 1.4; letter-spacing: -.02em; }
.astra-assignment-topic dd { font-size: clamp(1.5rem, 2.2vw + .5rem, 1.875rem); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; }
.astra-assignment-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; max-width: 100%; min-height: 48px; margin-top: 28px; padding: 11px 18px; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent); color: #fff; font: 800 1rem/1.4 Manrope, sans-serif; cursor: pointer; }
.astra-assignment-cta svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.astra-assignment-cta:hover { border-color: var(--accent-hover); background: var(--accent-hover); }
.astra-assignment-cta:active { border-color: var(--accent-active); background: var(--accent-active); }
@media (max-width: 640px) {
  .astra-assignment { padding-top: 60px; }
  .astra-assignment-spread { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 18px; }
  /* The painted arrow points to the desktop column; crop it for stacked reading. */
  .astra-assignment-art { width: min(100%, 24rem); aspect-ratio: 660 / 732; overflow: hidden; justify-self: center; }
  .astra-assignment-art img { width: 111.515%; max-width: none; clip-path: polygon(0 0, 100% 0, 100% 46%, 86% 46%, 86% 57%, 100% 57%, 100% 100%, 0 100%); }
  .astra-assignment-result { width: min(100%, 24rem); justify-self: center; padding: 0; }
  .astra-assignment-result h3 { margin-bottom: 12px; }
  .astra-assignment-fields { gap: 20px 16px; }
  .astra-assignment-fields dd { font-size: 1.125rem; }
  .astra-assignment-topic dd { font-size: 1.75rem; }
  .astra-assignment-cta { margin-top: 24px; }
}

/* Download folders follow the same axis and airy rhythm as the hero. */
.astra-samples { padding-top: 44px; }
.astra-samples-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.astra-samples-heading h2 { min-width: 0; font-size: clamp(1.375rem, 1.1vw + .9rem, 1.75rem); }
.astra-all-samples { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 10px; min-height: 44px; color: var(--accent); font-size: 1rem; font-weight: 800; line-height: 1.45; text-decoration: none; text-underline-offset: .18em; }
.astra-all-samples:hover { color: var(--accent-hover); text-decoration: underline; }
.astra-all-samples svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.astra-sample-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.astra-sample { display: grid; min-width: 0; }
.astra-sample-download { --folder-back: #e0eafb; position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr; border-radius: 12px 12px 14px 14px; color: var(--ink); text-decoration: none; }
.astra-sample-download::before, .astra-sample-download::after { position: absolute; z-index: -1; content: ""; }
.astra-sample-download::before { inset: 16px 12px 0 0; border: 1px solid #c6d6ed; border-radius: 8px 12px 14px 14px; background: var(--folder-back); }
.astra-sample-download::after { inset: 23px 22px auto 12px; height: 18px; border: 1px solid #d3dfef; border-radius: 5px; background: #fff; }
.astra-folder-tab { justify-self: start; padding: 6px 28px 6px 18px; border: 1px solid #c6d6ed; border-bottom: 0; border-top-left-radius: 12px; clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 100%, 0 100%); background: var(--folder-back); color: var(--ink); font-size: .9375rem; font-weight: 800; line-height: 22px; }
.astra-folder-front { display: flex; min-width: 0; min-height: 144px; flex-direction: column; justify-content: space-between; gap: 16px; padding: 18px 18px 14px; border: 1px solid #d3dfef; border-radius: 12px 12px 14px 14px; background: #f4f7fc; }
.astra-folder-front h3 { margin: 0; font-size: 1.125rem; font-weight: 800; line-height: 1.35; letter-spacing: -.025em; text-wrap: pretty; }
.astra-folder-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 10px; border-top: 1px solid #d9e3f0; padding-top: 12px; color: var(--muted); font-size: .9375rem; font-weight: 500; line-height: 1.4; }
.astra-folder-action { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: .9375rem; font-weight: 800; }
.astra-folder-action svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.astra-sample-download:is(:hover, :focus-visible) .astra-folder-front { border-color: var(--accent); }
.astra-sample-download:is(:hover, :focus-visible) .astra-folder-action { text-decoration: underline; }
.astra-sample-download:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }

/* A single ruled FAQ list keeps questions easy to scan. */
.astra-faq { padding-top: clamp(64px, 7vw, 88px); }
.astra-faq-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.astra-question-list { display: grid; min-width: 0; border-top: 1px solid var(--border); }
.astra-question-list details { min-width: 0; border-bottom: 1px solid var(--border); }
.astra-question-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; padding: 16px 10px; font-size: 1.125rem; font-weight: 800; line-height: 1.4; letter-spacing: -.015em; list-style: none; cursor: pointer; }
.astra-question-list summary::-webkit-details-marker, .astra-question-list summary::after { display: none; }
.astra-question-list summary svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
.astra-question-list details[open] .astra-question-plus { display: none; }
.astra-question-list details > p { margin: 0; padding: 0 52px 20px 10px; color: var(--ink); font-size: 1.0625rem; font-weight: 500; line-height: 1.5; }
.astra-question-list p a { color: var(--accent); text-decoration: underline; }
.astra-question-list summary:hover { color: var(--accent); }
.astra-question-list summary:focus-visible { position: relative; z-index: 1; outline-offset: -5px; }

.astra-close { margin-top: clamp(64px, 7vw, 88px); padding-block: 32px; background: #0d2e49; color: #fff; }
.astra-close > .astra-lower-shell { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; }
.astra-close h2 { min-width: 0; margin: 0; font-size: clamp(1.625rem, 2.5vw, 2rem); font-weight: 800; line-height: 1.2; letter-spacing: -.03em; text-wrap: balance; }
.astra-close-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 10px; min-height: 48px; padding: 11px 20px; border: 1px solid #e1e7ee; border-radius: 12px; background: #fff; color: #10273d; font: 800 1rem/1.4 Manrope, sans-serif; cursor: pointer; }
.astra-close-button svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.astra-close-button:hover { background: #e9efff; }
.astra-close-button:active { background: #d9e4ff; }
.astra-close-button:focus-visible { outline: 3px solid #a8c1ff; outline-offset: 5px; }
.astra-footer { padding-block: 24px 30px; color: var(--ink); background: var(--paper); }
.astra-footer > .astra-lower-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.astra-footer-brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 44px; text-decoration: none; }
.astra-footer-brand img { width: 160px; height: auto; object-fit: contain; }
.astra-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 24px; }
.astra-footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 1rem; font-weight: 500; line-height: 1.5; text-decoration: none; text-underline-offset: .2em; }
.astra-footer-links a:hover { text-decoration: underline; }

@media (max-width: 800px) {
  .astra-price-grid { gap: 20px; }
  .astra-price-link { gap: 12px; padding-inline: 12px; font-size: 1.0625rem; }
  .astra-price-link::after { right: 12px; left: 12px; }
  .astra-doubt-panel { gap: 16px 24px; }
  .astra-samples-heading { flex-wrap: wrap; gap: 12px 24px; }
  .astra-sample-gallery { gap: 16px; }
  .astra-folder-tab { padding-inline: 16px 28px; }
  .astra-folder-front { padding-inline: 14px; }
  .astra-folder-foot { align-items: flex-start; flex-direction: column; }
  .astra-close > .astra-lower-shell { gap: 24px; }
}
@media (max-width: 640px) {
  .astra-doubts { padding-top: 48px; }
  .astra-doubt-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-block: 12px 16px; }
  .astra-doubt-tab { padding: 6px 2px; font-size: .875rem; line-height: 1.3; text-align: center; }
  .astra-doubt-tab svg { display: none; }
  .astra-doubt-panel { grid-template-columns: minmax(0, 1fr) clamp(56px, 17vw, 72px); grid-template-rows: auto 1fr; gap: 10px; }
  .astra-doubt-panel h3 { align-self: center; font-size: 1.125rem; }
  .astra-doubt-copy { grid-column: 1 / -1; }
  .astra-doubt-copy p { line-height: 1.5; }
  .astra-doubt-art { grid-row: 1; }
  .astra-doubt-cta { margin-top: 10px; }
  .astra-pricing-heading { min-height: 0; padding-right: 0; }
  .astra-pricing h2 { padding-right: 114px; }
  .astra-pricing-heading p { margin-top: 16px; font-size: 1rem; }
  .astra-pricing-heading img { top: 0; right: 0; width: 100px; height: 70px; }
  .astra-price-grid { grid-template-columns: 1fr; gap: 0; }
  .astra-price-link { font-size: 1.125rem; }
  .astra-price-column:first-child > :last-child::after { display: block; }
  .astra-word-note { align-items: flex-start; gap: 14px; padding: 18px; }
  .astra-doubts + .astra-pricing { margin-top: 37px; padding-top: 0; }
  .astra-doubts + .astra-pricing > .astra-lower-shell { padding-top: 33px; }
  .astra-samples { padding-top: 24px; }
  .astra-faq { padding-top: 60px; }
  .astra-sample-gallery { grid-template-columns: 1fr; gap: 0; margin-top: 16px; }
  .astra-sample-download { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "type file" "title file"; align-items: center; gap: 6px 12px; padding-block: 16px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .astra-sample-download::before, .astra-sample-download::after { display: none; }
  .astra-folder-tab { grid-area: type; padding: 3px 14px 3px 8px; border: 0; border-radius: 4px; font-size: .875rem; line-height: 20px; }
  .astra-folder-front { display: contents; }
  .astra-folder-front h3 { grid-area: title; font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; }
  .astra-folder-foot { grid-area: file; flex-direction: column; align-items: flex-end; gap: 4px; padding-top: 0; border-top: 0; font-size: .8125rem; }
  .astra-folder-action { gap: 4px; font-size: .8125rem; }
  .astra-folder-action svg { width: 18px; height: 18px; }
  .astra-question-list summary { gap: 16px; padding-inline: 0; }
  .astra-question-list details > p { padding: 0 28px 20px 0; }
  .astra-close { margin-top: 60px; padding-block: 28px; }
  .astra-close > .astra-lower-shell { align-items: flex-start; flex-direction: column; gap: 22px; }
  .astra-close-button { width: 100%; }
  .astra-footer > .astra-lower-shell { align-items: flex-start; flex-direction: column; gap: 14px; }
  .astra-footer-links { justify-content: flex-start; }
}
@media (max-width: 359px) {
  .astra-price-link { gap: 10px; font-size: 1.0625rem; }
  .astra-doubt-tab { font-size: .8125rem; }
}
