:root {
  color-scheme: light;
  --ink: #1f2522;
  --muted: #66706a;
  --paper: #f7f2e8;
  --panel: rgba(255, 252, 244, 0.94);
  --line: rgba(47, 65, 58, 0.16);
  --gold: #b88a3d;
  --teal: #126865;
  --terracotta: #b85e3e;
  --shadow: 0 22px 60px rgba(35, 31, 22, 0.15);
  font-family:
    Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(247, 242, 232, 0.9), #efe7da 54%, #f9f5ec),
    #f7f2e8;
  color: var(--ink);
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #25d366;
  color: #092f18;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(6, 95, 44, 0.28);
}

.whatsapp-float:hover {
  background: #1fbd5b;
}

button,
input,
select {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  filter: saturate(0.94) contrast(1.03);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(24, 26, 22, 0.76), rgba(24, 26, 22, 0.24) 48%, rgba(24, 26, 22, 0.12)),
    linear-gradient(0deg, rgba(247, 242, 232, 0.96), rgba(247, 242, 232, 0) 34%);
}

.hero__content {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0 72px;
  color: #fffaf0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #e8c982;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.language-switch a {
  min-width: 86px;
  border: 1px solid rgba(232, 201, 130, 0.72);
  border-radius: 999px;
  padding: 9px 16px;
  color: #fffaf0;
  background: rgba(31, 37, 34, 0.32);
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

.language-switch a:hover,
.language-switch a.is-active {
  color: #1f2522;
  background: #e8c982;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.65rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.intro {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.88);
  font-size: 1.12rem;
  line-height: 1.75;
}

.workspace,
.details-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(300px, 410px) 1fr;
  gap: 22px;
  transform: translateY(-34px);
}

.workspace > *,
.details-grid > * {
  min-width: 0;
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 1.08fr);
  gap: 22px;
  padding-bottom: 56px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px;
  backdrop-filter: blur(14px);
}

.panel__heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.step {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(184, 138, 61, 0.42);
  color: var(--teal);
  font-weight: 900;
  font-size: 0.82rem;
}

h2 {
  margin-bottom: 4px;
  font-size: 1.22rem;
}

.panel__heading p,
.note {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field span {
  color: #39423d;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(47, 65, 58, 0.22);
  border-radius: 6px;
  background: #fffdf8;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #252b44 50%),
    linear-gradient(135deg, #252b44 50%, transparent 50%);
  background-position:
    calc(100% - 23px) 21px,
    calc(100% - 16px) 21px;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  color: #7a807c;
  cursor: pointer;
}

select:valid {
  color: var(--ink);
}

input:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(18, 104, 101, 0.12);
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.primary-button {
  width: 100%;
  min-height: 50px;
  margin: 6px 0 16px;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(18, 104, 101, 0.18);
}

.primary-button:hover {
  background: #0e5b58;
}

.download-button {
  min-height: 42px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(18, 104, 101, 0.24);
  border-radius: 6px;
  background: #fffdf8;
  color: var(--teal);
  font-weight: 900;
  cursor: pointer;
}

.download-button:hover:not(:disabled) {
  background: rgba(18, 104, 101, 0.08);
}

.download-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.download-row {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.triangle-card {
  min-height: 500px;
  display: grid;
  place-items: center;
  padding: 16px;
  background:
    linear-gradient(rgba(255, 252, 244, 0.9), rgba(255, 252, 244, 0.9)),
    radial-gradient(circle at 30% 20%, rgba(184, 138, 61, 0.12), transparent 32%),
    radial-gradient(circle at 70% 72%, rgba(18, 104, 101, 0.1), transparent 30%);
  border: 1px solid rgba(47, 65, 58, 0.13);
  border-radius: 8px;
}

.triangle {
  width: min(100%, 760px);
}

.destiny-chart {
  width: 100%;
  height: auto;
  display: block;
}

.chart-line {
  stroke: #171717;
  stroke-width: 4;
  fill: none;
  stroke-linecap: square;
}

.chart-line--thin {
  stroke-width: 3;
}

.date-box {
  fill: rgba(255, 253, 248, 0.74);
  stroke: #171717;
  stroke-width: 3;
}

.date-label,
.date-digit,
.formula,
.chart-num,
.outside-label,
.chart-area-label,
.chart-area-note {
  fill: #171717;
  text-anchor: middle;
}

.date-label {
  font-size: 24px;
  font-weight: 700;
}

.date-digit {
  font-size: 34px;
  font-weight: 800;
}

.formula {
  font-size: 18px;
}

.chart-num {
  font-size: 42px;
  font-weight: 800;
}

.root-highlight {
  fill: rgba(255, 223, 46, 0.55);
  stroke: none;
}

.root-num {
  fill: #c02626;
}

.outside-box {
  fill: rgba(255, 253, 248, 0.62);
  stroke: #171717;
  stroke-width: 2.5;
}

.outside-label {
  font-size: 16px;
}

.outside-title {
  font-size: 18px;
  font-weight: 700;
}

.chart-area-label {
  fill: #263f92;
  font-size: 19px;
  font-weight: 800;
}

.chart-area-note {
  fill: #4670b5;
  font-size: 14px;
  font-weight: 700;
}

.chart-caption {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.quick-stats,
.name-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.stat,
.name-item {
  min-height: 84px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.54);
}

.stat b,
.name-item b {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.8rem;
}

.stat strong,
.name-item strong {
  color: var(--teal);
  font-size: 1.65rem;
}

.letter-chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.letter-cell {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.5);
}

.letter-cell strong {
  color: var(--teal);
  margin-right: 8px;
}

.letter-cell span {
  color: #46514b;
  font-size: 0.88rem;
}

.report {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  max-width: 100%;
  min-width: 0;
}

.report-card {
  max-width: 100%;
  min-width: 0;
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 16px;
  overflow-wrap: break-word;
}

.report-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.report-card p {
  margin-bottom: 0;
  color: #46514b;
  line-height: 1.68;
}

.report-card h3,
.report-card p,
.overview-card,
.boost-card,
.crystal-card,
.perfume-card,
.number-profile,
.area-row,
.structure-row,
.key-number-grid,
.key-number-grid--age {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.area-summary {
  display: grid;
  gap: 8px;
}

.area-row {
  display: grid;
  grid-template-columns: minmax(92px, 0.7fr) minmax(88px, 0.55fr) 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.area-row:last-child {
  border-bottom: 0;
}

.area-row b {
  color: var(--teal);
}

.area-row strong {
  color: var(--terracotta);
  font-size: 1.18rem;
}

.area-row span {
  color: #46514b;
  line-height: 1.55;
}

.structure-row {
  display: grid;
  grid-template-columns: minmax(92px, 0.6fr) minmax(180px, 0.85fr) 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.structure-row:last-child {
  border-bottom: 0;
}

.structure-row b {
  color: var(--teal);
}

.structure-row strong {
  color: var(--terracotta);
  font-size: 0.95rem;
  line-height: 1.55;
}

.structure-row span {
  color: #46514b;
  line-height: 1.55;
}

.key-number-stack {
  display: grid;
  gap: 18px;
}

.key-number-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1.4fr 0.6fr;
  overflow: hidden;
  border: 1px solid rgba(70, 112, 181, 0.18);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(54, 70, 95, 0.08);
}

.key-number-grid--age {
  grid-template-columns: 1.8fr 0.72fr;
}

.key-label,
.key-value {
  min-height: 74px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid rgba(70, 112, 181, 0.1);
  color: #64738a;
  font-weight: 900;
}

.key-label {
  padding: 18px 22px;
  background: rgba(248, 250, 253, 0.86);
}

.key-value {
  justify-items: center;
  background: #eef4fd;
  color: #3b82f6;
  font-size: 1.62rem;
}

.key-number-grid > :nth-last-child(-n + 4),
.key-number-grid--age > :nth-last-child(-n + 2) {
  border-bottom: 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 100%;
  min-width: 0;
}

.overview-card {
  min-height: 116px;
  padding: 14px;
  border: 1px solid rgba(18, 104, 101, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.overview-card--wide {
  grid-column: 1 / -1;
}

.overview-card b {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.98rem;
}

.overview-card p {
  margin-bottom: 0;
}

.boost-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 100%;
  min-width: 0;
}

.boost-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(184, 138, 61, 0.28);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(238, 244, 253, 0.58));
}

.boost-card strong {
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fffaf0;
  font-size: 1.7rem;
}

.boost-card b {
  color: var(--teal);
}

.boost-card p {
  margin-bottom: 6px;
}

.boost-card p:last-child {
  margin-bottom: 0;
}

.boost-reason {
  color: #66706a;
  font-size: 0.9rem;
}

.boost-note {
  margin-top: 12px;
}

.crystal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.perfume-grid {
  display: grid;
  gap: 12px;
}

.crystal-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(184, 138, 61, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.92), rgba(238, 244, 253, 0.74)),
    #fffdf8;
}

.crystal-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.crystal-head span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
}

.crystal-head b {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.crystal-head strong {
  color: var(--teal);
  font-size: 1.15rem;
}

.crystal-card p {
  margin-bottom: 0;
}

.crystal-card p b {
  color: var(--teal);
}

.legal-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.perfume-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(18, 104, 101, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
}

.perfume-number {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #eef4fd;
  color: #3b82f6;
  font-size: 1.5rem;
  font-weight: 900;
}

.perfume-card b {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.perfume-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 1.12rem;
}

.perfume-card p {
  margin-bottom: 4px;
}

.perfume-card p:last-child {
  margin-bottom: 0;
}

.perfume-card span {
  color: var(--gold);
  font-weight: 900;
}

.note-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 8px;
}

.note-tags small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid rgba(18, 104, 101, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  color: #39423d;
  font-size: 0.78rem;
  font-weight: 800;
}

.behavior-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.behavior-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.5);
}

.behavior-table th,
.behavior-table td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 10px;
  text-align: center;
  color: #39423d;
}

.behavior-table th:last-child,
.behavior-table td:last-child {
  border-right: 0;
}

.behavior-table tbody tr:last-child td {
  border-bottom: 0;
}

.behavior-table th {
  color: var(--teal);
  font-size: 0.9rem;
}

.analysis-notes {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.analysis-notes p {
  margin-bottom: 0;
}

.analysis-notes b {
  color: var(--teal);
}

.number-library {
  display: grid;
  gap: 12px;
}

.number-profile {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.number-profile div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
}

.number-profile strong {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.35rem;
}

.number-profile b {
  color: var(--ink);
}

.number-profile em {
  color: var(--gold);
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 800;
}

.number-profile p {
  margin-bottom: 0;
}

.number-profile span {
  color: var(--teal);
  font-weight: 900;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #18201d;
  color: #f7f2e8;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-brand h2 {
  margin-bottom: 8px;
  color: #fffaf0;
}

.footer-brand p {
  max-width: 720px;
  margin-bottom: 14px;
  color: rgba(247, 242, 232, 0.72);
  line-height: 1.65;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #25d366;
  color: #092f18;
  font-weight: 900;
  text-decoration: none;
}

.footer-whatsapp:hover {
  background: #1fbd5b;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.legal-card {
  border: 1px solid rgba(247, 242, 232, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
}

.legal-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e8c982;
  cursor: pointer;
  color: #e8c982;
  font-size: 1.05rem;
  font-weight: 900;
  list-style: none;
}

.legal-card summary::-webkit-details-marker {
  display: none;
}

.legal-card summary::after {
  content: "+";
  color: #fffaf0;
  font-size: 1.4rem;
  line-height: 1;
}

.legal-card[open] summary::after {
  content: "-";
}

.legal-content {
  margin-top: 12px;
}

.legal-card p,
.legal-card li {
  color: rgba(247, 242, 232, 0.74);
  line-height: 1.66;
  font-size: 0.88rem;
}

.legal-card p {
  margin-bottom: 12px;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 242, 232, 0.12);
}

.footer-links a {
  color: #e8c982;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fffaf0;
}

@media (max-width: 860px) {
  .hero {
    min-height: 54vh;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(24, 26, 22, 0.34), rgba(24, 26, 22, 0.72)),
      linear-gradient(0deg, rgba(247, 242, 232, 0.96), rgba(247, 242, 232, 0) 28%);
  }

  .hero__content {
    padding: 80px 0 58px;
  }

  .workspace,
  .details-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .workspace {
    transform: translateY(-24px);
  }
}

@media (max-width: 700px) {
  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    width: 50px;
    min-height: 44px;
    padding: 0;
    font-size: 0;
  }

  .whatsapp-float::before {
    content: "WA";
    font-size: 0.9rem;
  }

  .hero {
    min-height: 500px;
  }

  .hero__image {
    object-position: 56% center;
  }

  .hero__content {
    width: min(1120px, calc(100% - 24px));
    padding: 70px 0 54px;
  }

  .eyebrow {
    font-size: 0.74rem;
  }

  h1 {
    max-width: 460px;
    font-size: 3.15rem;
    line-height: 1.02;
  }

  .intro {
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .workspace,
  .details-grid,
  .footer-inner {
    width: min(1120px, calc(100% - 20px));
  }

  .workspace {
    gap: 16px;
  }

  .details-grid {
    gap: 16px;
    padding-bottom: 38px;
  }

  .panel__heading {
    gap: 10px;
    margin-bottom: 18px;
  }

  .step {
    width: 34px;
    height: 34px;
  }

  .triangle-card {
    width: 100%;
    justify-content: start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .triangle {
    width: 650px;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 480px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .panel {
    padding: 18px;
  }

  .quick-stats,
  .name-breakdown,
  .overview-grid,
  .boost-grid,
  .crystal-grid,
  .perfume-card,
  .letter-chart,
  .area-row,
  .structure-row,
  .key-number-grid,
  .key-number-grid--age {
    grid-template-columns: minmax(0, 1fr);
  }

  .date-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .date-grid .field {
    margin-bottom: 14px;
  }

  .date-grid select {
    min-height: 46px;
    padding: 0 10px;
    background-position:
      calc(100% - 17px) 20px,
      calc(100% - 11px) 20px;
    background-size: 6px 6px, 6px 6px;
  }

  .key-number-grid > *,
  .key-number-grid--age > * {
    border-bottom: 1px solid rgba(70, 112, 181, 0.1);
  }

  .overview-card--wide {
    grid-column: auto;
  }

  .triangle-card {
    min-height: 360px;
    padding: 10px 0;
    place-items: center;
    overflow-x: hidden;
  }

  .triangle {
    width: 100%;
    max-width: 760px;
  }

  .download-button {
    width: 100%;
  }

  .legal-card {
    padding: 16px;
  }
}

@media (max-width: 380px) {
  .hero__content,
  .workspace,
  .details-grid,
  .footer-inner {
    width: min(1120px, calc(100% - 16px));
  }

  h1 {
    font-size: 2.28rem;
  }

  .panel {
    padding: 16px;
  }

  input,
  select {
    min-height: 46px;
    padding-inline: 11px;
  }

  .date-grid {
    gap: 6px;
  }
}
