@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");
:root {
  --ink: #17223e;
  --muted: #434e66;
  --accent: #354bb7;
  --accent-hover: #273b98;
  --line: #b9c5dd;
  --glass: rgba(255, 255, 255, 0.82);
  --small: 0.875rem;
  --meta: 0.75rem;
  --body: 1rem;
  --heading: 1.65rem;
  --display: 3.3rem;
  --mobile-display: 2.35rem;
  --brand: 1.4rem;
  --radius: 24px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  font:
    var(--body)/1.55 "DM Sans",
    sans-serif;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 84% 18%, #bac5fa 0, transparent 45%),
    radial-gradient(ellipse at 15% 70%, #bfe3dd 0, transparent 47%),
    radial-gradient(ellipse at 92% 95%, #f0cbbc 0, transparent 42%), #e8ecf7;
  background-attachment: fixed;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  background: #dfe5f0;
  color: #56627a;
  box-shadow: none;
}
button,
a,
input,
select,
summary {
  outline-offset: 4px;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--accent-hover);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.22;
  letter-spacing: -0.04em;
}
h1 {
  font-size: var(--display);
  font-weight: 800;
  line-height: 1.12;
}
h2 {
  font-size: var(--heading);
  font-weight: 800;
}
h3 {
  font-size: var(--body);
}
button,
input,
select {
  min-height: 46px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  z-index: 10;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.topbar {
  max-width: 1160px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
}
.brand {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: var(--brand);
  letter-spacing: -0.07em;
  text-decoration: none;
  line-height: 1;
}
.brand > span {
  color: var(--accent);
}
.brand small {
  display: block;
  font:
    500 var(--meta) "DM Sans",
    sans-serif;
  letter-spacing: 0.19em;
  margin-top: 9px;
  color: var(--muted);
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--accent-hover);
  font-size: var(--small);
  font-weight: 600;
  padding: 8px 3px;
  text-align: left;
}
.text-button:hover {
  text-decoration: underline;
}
.topbar .text-button {
  color: var(--muted);
}
main {
  max-width: 1160px;
  margin: auto;
  padding: 0 32px;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: var(--meta);
  padding: 12px 0;
  border-block: 1px solid #fff;
  color: var(--muted);
}
.demo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.demo-bar strong {
  color: var(--ink);
}
.steps {
  display: flex;
  gap: 35px;
  list-style: none;
  padding: 0;
  margin: 30px 0 38px;
  color: var(--muted);
  font-size: var(--small);
}
.steps li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.steps li > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #ffffff90;
  font-size: var(--meta);
  font-weight: 700;
}
.steps li[aria-current] {
  color: var(--accent-hover);
  font-weight: 700;
}
.steps li[aria-current] > span {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: start;
}
.intro {
  padding-top: 26px;
}
.eyebrow {
  font-size: var(--meta);
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin-bottom: 15px;
}
.intro > p:not(.eyebrow) {
  margin-top: 25px;
  max-width: 365px;
  color: var(--muted);
  line-height: 1.75;
}
.intro .original-note {
  font-size: var(--small);
  margin-top: 30px;
}
.original-note span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: #f8fffb;
  border: 1px solid #b0cfc1;
  border-radius: 50%;
  color: #245c4c;
  margin-right: 8px;
}
.work-column {
  min-width: 0;
}
.panel {
  padding: 32px;
  background: var(--glass);
  border: 1px solid #fff;
  border-radius: var(--radius);
  box-shadow:
    0 20px 60px #25345f12,
    inset 0 1px 0 white;
  backdrop-filter: blur(14px);
  animation: arrive 0.2s ease-out;
}
.panel .eyebrow {
  font-size: var(--meta);
  margin-bottom: 10px;
}
.support {
  color: var(--muted);
  font-size: var(--small);
  margin: 12px 0 25px;
}
.hint {
  font-size: var(--meta);
  color: var(--muted);
  margin: 9px 0 15px;
}
.demo-explanation {
  font-size: var(--meta);
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.65;
}
.panel label {
  display: block;
  font-size: var(--small);
  font-weight: 600;
  margin: 17px 0 8px;
}
.panel input,
.panel select {
  width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid #899bbd;
  border-radius: 10px;
  padding: 13px 12px;
  font-size: var(--small);
  color: var(--ink);
}
input::placeholder {
  color: #647089;
}
.error {
  color: #8b2525;
  font-size: var(--small);
  margin: 9px 0;
}
.primary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
  border-radius: 11px;
  padding: 13px 18px;
  font-size: var(--small);
  font-weight: 600;
  margin-top: 24px;
  box-shadow: 0 6px 15px #354bb722;
  transition:
    background 0.15s,
    transform 0.15s;
}
.primary:hover:not(:disabled) {
  background: var(--accent-hover);
}
.primary:active:not(:disabled) {
  transform: translateY(1px);
}
.options {
  margin: 22px 0;
  border-top: 1px solid #c5cfe2;
  padding-top: 6px;
}
summary {
  cursor: pointer;
  min-height: 44px;
  padding: 12px 0;
  font-size: var(--small);
  font-weight: 500;
}
summary span {
  font-size: var(--meta);
  color: var(--muted);
  margin-left: 6px;
}
.sample-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #c5cfe2;
  margin-top: 25px;
  padding-top: 15px;
  font-size: var(--small);
  color: var(--muted);
}
.sample-row button {
  white-space: nowrap;
}
.update {
  margin-top: 45px;
  font-size: var(--meta);
  color: var(--muted);
  max-width: 370px;
}
.update p {
  margin-bottom: 12px;
}
.update summary {
  font-size: var(--meta);
}
.update img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #fff;
}
.update[open] {
  background: #ffffff90;
  border: 1px solid #fff;
  border-radius: 14px;
  padding: 0 14px 14px;
}
.shoot-summary {
  background: #edf1fa;
  border-radius: 12px;
  padding: 15px;
  margin: 20px 0 12px;
  overflow-wrap: anywhere;
}
.shoot-summary strong,
.shoot-summary span {
  display: block;
}
.shoot-summary span {
  font-size: var(--meta);
  color: var(--muted);
  margin-top: 4px;
}
.group {
  padding: 18px 0;
  border-bottom: 1px solid #c5cfe2;
}
.group-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}
.group .time {
  font-size: var(--meta);
  color: var(--muted);
  white-space: nowrap;
}
.group p {
  font-size: var(--small);
  color: var(--muted);
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.group details {
  margin-top: 3px;
}
.group summary {
  font-size: var(--meta);
  color: var(--accent-hover);
  padding: 7px 0;
  min-height: 36px;
}
.group .saved-note {
  font-size: var(--meta);
  margin-top: 10px;
}
.group h3 {
  overflow-wrap: anywhere;
}
.back {
  margin-top: 12px;
}
.folder-preview {
  background: #f4f6fb;
  border: 1px solid #c0cbe0;
  border-radius: 14px;
  padding: 20px;
  overflow-wrap: anywhere;
}
.folder-preview > strong {
  display: block;
  margin-bottom: 14px;
}
.folder-item {
  border-left: 1px solid #bdc9de;
  padding: 10px 0 10px 18px;
  margin-left: 6px;
  font-size: var(--small);
}
.folder-item small {
  display: block;
  color: var(--muted);
  font-size: var(--meta);
  margin-top: 5px;
}
.index-file {
  font-size: var(--small);
  margin-top: 15px;
  border-top: 1px solid #c5cfe2;
  padding-top: 15px;
}
.index-file span {
  display: block;
  color: var(--muted);
  font-size: var(--meta);
  margin-top: 4px;
}
.result-note {
  font-size: var(--small);
  margin-top: 18px;
  color: #245c4c;
}
.done-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 13px;
  flex-wrap: wrap;
}
#notice {
  padding: 13px 16px;
  background: #f3f5ff;
  border: 1px solid #a9b8df;
  border-radius: 12px;
  font-size: var(--small);
  color: #253d81;
  margin-bottom: 18px;
}
progress {
  width: 100%;
  height: 8px;
  accent-color: var(--accent);
  border-radius: 8px;
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #dde4f1;
}
progress::-webkit-progress-value {
  background: var(--accent);
  transition: width 0.2s;
}
.skeleton {
  height: 56px;
  margin-top: 20px;
  background: #e5eaf5;
  border-radius: 9px;
  animation: pulse 1s alternate infinite;
}
.skeleton.short {
  width: 70%;
}
footer {
  margin-top: 65px;
  padding: 25px 0;
  border-top: 1px solid #fff;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: var(--meta);
}
dialog {
  max-width: 520px;
  width: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: #f6f8ff;
  border: 1px solid white;
  border-radius: 22px;
  padding: 28px;
  color: var(--ink);
  box-shadow: 0 20px 80px #17223e33;
}
dialog::backdrop {
  background: #14214080;
  backdrop-filter: blur(5px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.help-list {
  padding-left: 22px;
}
.help-list li {
  margin-top: 20px;
}
.help-list p {
  color: var(--muted);
  font-size: var(--small);
  margin-top: 5px;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pulse {
  to {
    opacity: 0.5;
  }
}
@media (max-width: 1000px) {
  .layout {
    gap: 32px;
  }
  .intro h1 {
    font-size: var(--mobile-display);
  }
  .panel {
    padding: 26px;
  }
  .sample-row {
    flex-wrap: wrap;
    gap: 0;
  }
}
@media (max-width: 700px) {
  .topbar {
    padding: 22px 20px;
  }
  main {
    padding: 0 20px;
  }
  .demo-bar {
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 8px;
    row-gap: 3px;
  }
  .demo-bar > span:last-child {
    flex-basis: 100%;
  }
  .steps {
    gap: 20px;
    margin: 24px 0;
  }
  .steps li {
    gap: 6px;
    font-size: var(--meta);
  }
  .steps li > span {
    width: 24px;
    height: 24px;
  }
  .layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .intro {
    padding: 0;
    width: 100%;
  }
  .intro .eyebrow {
    display: none;
  }
  .intro h1 {
    font-size: var(--mobile-display);
  }
  .intro > p:not(.eyebrow) {
    margin-top: 14px;
    max-width: none;
    font-size: var(--small);
  }
  .intro .original-note {
    display: none;
  }
  .work-column {
    width: 100%;
  }
  .panel {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .update {
    margin-top: 12px;
    max-width: none;
  }
  .update:not([open]) {
    display: none;
  }
  .sample-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .group-header {
    flex-wrap: wrap;
    gap: 4px;
  }
  .group .time {
    margin-left: auto;
  }
  .done-actions {
    gap: 3px;
  }
  .steps {
    justify-content: space-between;
  }
  footer {
    margin-top: 35px;
    flex-direction: column;
    gap: 5px;
  }
  .dialog-header {
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@supports not (backdrop-filter: blur(1px)) {
  .panel {
    background: #f8f9ff;
  }
}
