.fileget-og {
  --og-ink: #172033;
  --og-muted: #697386;
  --og-line: #e4e8ef;
  --og-surface: #ffffff;
  --og-soft: #f7f8fb;
  --og-brand: #5b5ce2;
  max-width: 1220px;
  margin: 0 auto;
}

.fileget-og * { box-sizing: border-box; }
.fileget-og button,
.fileget-og input,
.fileget-og textarea,
.fileget-og select { font: inherit; }

.fileget-og__hero { margin-bottom: 26px; }
.fileget-og__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--og-brand);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.fileget-og__eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--og-brand);
  box-shadow: 0 0 0 6px rgba(91,92,226,.08);
}
.fileget-og__hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  margin-top: 10px;
}
.fileget-og__hero h1 {
  margin: 0;
  color: var(--og-ink);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.fileget-og__hero p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--og-muted);
  font-size: 16px;
  line-height: 1.7;
}
.fileget-og__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  padding: 12px 14px;
  border: 1px solid var(--og-line);
  border-radius: 16px;
  background: var(--og-surface);
  box-shadow: 0 16px 40px rgba(23,32,51,.05);
}
.fileget-og__badge strong {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #ececff;
  color: var(--og-brand);
  font-size: 13px;
  letter-spacing: .04em;
}
.fileget-og__badge span { color: var(--og-muted); font-size: 11px; font-weight: 700; line-height: 1.4; }

.fileget-og__workspace {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.fileget-og__editor { display: grid; gap: 12px; }
.fileget-og__card,
.fileget-og__preview-card {
  border: 1px solid var(--og-line);
  border-radius: 20px;
  background: var(--og-surface);
  box-shadow: 0 18px 50px rgba(23,32,51,.055);
}
.fileget-og__card { padding: 16px; }
.fileget-og__section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.fileget-og__section-head strong { display: block; color: var(--og-ink); font-size: 13px; }
.fileget-og__section-head small { display: block; margin-top: 3px; color: var(--og-muted); font-size: 10px; line-height: 1.45; }
.fileget-og__step {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #f3f4f8;
  color: #7a8495;
  font-size: 10px;
  font-weight: 900;
}
.fileget-og__field { display: block; margin-top: 12px; }
.fileget-og__field > span,
.fileget-og__swatch-field > span:first-child {
  display: block;
  margin-bottom: 7px;
  color: #475467;
  font-size: 10px;
  font-weight: 850;
}
.fileget-og__field input[type="text"],
.fileget-og__field textarea,
.fileget-og__field select {
  width: 100%;
  border: 1px solid #dde2ea;
  border-radius: 11px;
  background: #fff;
  color: var(--og-ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.fileget-og__field input[type="text"],
.fileget-og__field select { min-height: 40px; padding: 9px 11px; }
.fileget-og__field textarea { min-height: 78px; padding: 10px 11px; resize: vertical; line-height: 1.55; }
.fileget-og__field input[type="text"]:focus,
.fileget-og__field textarea:focus,
.fileget-og__field select:focus { border-color: #a8a9ef; box-shadow: 0 0 0 4px rgba(91,92,226,.09); }
.fileget-og__inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fileget-og__swatch-field { display: block; margin-top: 12px; }
.fileget-og__color-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 5px 7px;
  border: 1px solid #dde2ea;
  border-radius: 11px;
  background: #fff;
}
.fileget-og__color-wrap input { width: 29px; height: 29px; padding: 0; border: 0; background: none; cursor: pointer; }
.fileget-og__color-wrap b { color: #647084; font-size: 9px; letter-spacing: .05em; }
.fileget-og__segmented { display: flex; gap: 4px; padding: 4px; border: 1px solid #dde2ea; border-radius: 12px; background: #f7f8fb; }
.fileget-og__segmented button {
  flex: 1;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6a7383;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.fileget-og__segmented button[aria-pressed="true"] { background: #fff; color: var(--og-ink); box-shadow: 0 2px 8px rgba(23,32,51,.08); }
.fileget-og__file-label { display: flex!important; align-items: center; justify-content: space-between; gap: 8px; }
.fileget-og__file-label small { color: var(--og-brand); font-size: 9px; font-weight: 800; }
.fileget-og__file-input {
  width: 100%;
  padding: 10px;
  border: 1px dashed #cfd5df;
  border-radius: 11px;
  background: var(--og-soft);
  color: #667085;
  font-size: 10px;
  cursor: pointer;
}
.fileget-og__check { display: flex; align-items: center; gap: 9px; min-height: 34px; color: #4b5567; font-size: 10px; font-weight: 750; cursor: pointer; }
.fileget-og__check input { position: absolute; opacity: 0; pointer-events: none; }
.fileget-og__check span { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #d9dee7; transition: background .15s ease; }
.fileget-og__check span::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(23,32,51,.18); transition: transform .15s ease; }
.fileget-og__check input:checked + span { background: var(--og-brand); }
.fileget-og__check input:checked + span::after { transform: translateX(14px); }
[dir="rtl"] .fileget-og__check input:checked + span::after { transform: translateX(-14px); }
.fileget-og__range { display: block; margin-top: 10px; }
.fileget-og__range > span { display: flex; align-items: center; justify-content: space-between; color: #4b5567; font-size: 10px; font-weight: 800; }
.fileget-og__range b { color: var(--og-brand); font-size: 10px; }
.fileget-og__range input { width: 100%; margin: 10px 0 0; accent-color: var(--og-brand); }
.fileget-og__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.fileget-og__status { color: #8490a0; font-size: 9px; }

.fileget-og__preview-card { padding: 14px; }
.fileget-og__preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 2px 12px; }
.fileget-og__preview-head strong { display: block; color: var(--og-ink); font-size: 13px; }
.fileget-og__preview-head small { display: block; margin-top: 3px; color: var(--og-muted); font-size: 10px; }
.fileget-og__preview-meta { display: flex; gap: 6px; }
.fileget-og__preview-meta span { padding: 6px 8px; border: 1px solid var(--og-line); border-radius: 999px; color: #738095; background: #fafbfc; font-size: 9px; font-weight: 800; }
.fileget-og__canvas-shell { overflow: hidden; padding: 10px; border-radius: 16px; background: linear-gradient(45deg,#eef1f6 25%,#f8f9fb 25%,#f8f9fb 50%,#eef1f6 50%,#eef1f6 75%,#f8f9fb 75%); background-size: 18px 18px; }
.fileget-og__canvas-shell canvas { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; border-radius: 10px; box-shadow: 0 22px 45px rgba(23,32,51,.17); background: #111827; }
.fileget-og__download-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 2px 2px; }
.fileget-og__download-panel > div:first-child { min-width: 0; }
.fileget-og__download-panel > div:first-child span { display: block; color: #98a2b3; font-size: 8px; text-transform: uppercase; letter-spacing: .09em; font-weight: 900; }
.fileget-og__download-panel > div:first-child strong { display: block; margin-top: 3px; color: #344054; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.fileget-og__download-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.fileget-og__button {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #dde2ea;
  background: #fff;
  color: #475467;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.fileget-og__button:hover { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(23,32,51,.08); }
.fileget-og__button--primary { border-color: var(--og-brand); background: var(--og-brand); color: #fff; box-shadow: 0 8px 20px rgba(91,92,226,.22); }
.fileget-og__button--ghost { background: #fff; }
.fileget-og__button:active { transform: translateY(0); }
.fileget-og__privacy { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 14px; padding: 0 8px; color: #8791a0; font-size: 10px; text-align: center; line-height: 1.6; }
.fileget-og__privacy span { color: #16a34a; font-weight: 900; }

@media (max-width: 1080px) {
  .fileget-og__workspace { grid-template-columns: 1fr; }
  .fileget-og__editor { grid-template-columns: 1fr 1fr; align-items: start; }
  .fileget-og__editor .fileget-og__card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .fileget-og__hero-row,
  .fileget-og__download-panel,
  .fileget-og__preview-head { align-items: flex-start; flex-direction: column; }
  .fileget-og__badge { width: 100%; min-width: 0; }
  .fileget-og__editor { grid-template-columns: 1fr; }
  .fileget-og__editor .fileget-og__card:last-child { grid-column: auto; }
  .fileget-og__download-actions { width: 100%; justify-content: flex-start; }
  .fileget-og__button { flex: 1 1 auto; }
}
@media (max-width: 520px) {
  .fileget-og__hero h1 { font-size: 34px; }
  .fileget-og__inline-fields { grid-template-columns: 1fr; }
  .fileget-og__preview-meta { width: 100%; }
  .fileget-og__preview-meta span { flex: 1; text-align: center; }
}
