:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f3f3fa;
  color: #1a1830;
  --muted: #56536d;
  --accent: #4b36b1;
  --line: #e7e5ef;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #8c68ff; outline-offset: 4px; }
[hidden] { display: none !important; }

.shell { width: min(80rem, calc(100% - 5rem)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .42em; font-size: .9rem; font-weight: 800; letter-spacing: .09em; }
.brand > span:last-child { color: var(--accent); }
.brand-mark {
  display: grid; place-items: center; width: 2rem; aspect-ratio: 1; margin-right: .45rem;
  border-radius: .65rem; background: linear-gradient(150deg, #9975ff, #4a28b8);
}
.brand-mark::before {
  content: ""; width: 1.01rem; height: .58rem; border: 2px solid white;
  border-radius: 50%; transform: rotate(-38deg); box-shadow: inset 0 0 0 .11rem #6644ce;
}
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 2.6rem; padding: .6rem .96rem; border: 1px solid transparent;
  border-radius: .65rem; font-size: .91rem; font-weight: 650; line-height: 1.25; cursor: pointer;
}
.button-outline { border-color: #ded9ed; }
.button-outline:hover, .button-outline:focus-visible { background: #f0edfa; }

.hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: 24.5rem; margin-top: 1.65rem; border-radius: 1.4rem;
  background: #191136; color: white; box-shadow: 0 .65rem 2rem #32206c1f;
}
.hero-art { position: absolute; inset: 0 0 0 auto; z-index: -2; width: 65%; height: 100%; object-fit: cover; object-position: 55% 56%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #191136 28%, #191136 37%, #191136d4 46%, #19113612 65%, transparent);
}
.hero-copy { width: min(100%, 43rem); padding: clamp(1.5rem, 5vw, 4.2rem); }
.hero h1 {
  margin: 0; font-size: clamp(2rem, 5.75vw, 4.55rem); font-weight: 750;
  line-height: 1; letter-spacing: -.061em;
}
.title-line { white-space: nowrap; }
.hero h1 .title-dot { color: #c0a7ff; }
.hero p { max-width: 24rem; margin: 1.2rem 0 1.65rem; color: #e1daf0; font-size: 1.1rem; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.button-primary { background: #c5aeff; color: #231743; }
.button-primary:hover, .button-primary:focus-visible { background: #e0d1ff; }
.button-quiet { color: #efe9fc; }
.button-quiet:hover, .button-quiet:focus-visible { background: #ffffff25; }

.preview { margin-top: 2.1rem; scroll-margin-top: 1rem; }
.preview-header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .8rem; }
.preview-header h2 { margin: 0; font-size: 1.26rem; letter-spacing: -.023em; }
.preview-badge {
  padding: .24rem .68rem; border: 1px solid #ddd6fa; border-radius: 2rem;
  color: #513c9b; background: #f2edfd; font-size: .79rem; font-weight: 650;
}
.drive {
  display: grid; grid-template-columns: 13rem minmax(0, 1fr); min-height: 21rem;
  border: 1px solid #dedce9; border-radius: 1.1rem; background: #fff;
  box-shadow: 0 .55rem 1.7rem #2c1b5510;
}
.drive-nav {
  display: flex; flex-direction: column; gap: .32rem; min-width: 0; padding: 1.15rem .85rem;
  border-right: 1px solid var(--line); background: #faf9fd; border-radius: 1.1rem 0 0 1.1rem;
}
.nav-item {
  display: flex; align-items: center; gap: .65rem; padding: .7rem .75rem; cursor: pointer;
  border: 0; background: transparent; border-radius: .55rem; font-size: .9rem; font-weight: 550; text-align: left;
}
.nav-item:hover { background: #f1eef9; }
.nav-item[aria-pressed="true"] { color: #442c9b; background: #ece6fc; font-weight: 700; }
.demo-folder-header {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .4rem .35rem .15rem .75rem; color: var(--muted); font-size: .77rem; font-weight: 650;
}
.demo-folder-add {
  display: grid; place-items: center; width: 1.75rem; height: 1.75rem;
  border: 1px solid #e5dff6; border-radius: .45rem; color: var(--accent); background: white;
  font-size: 1.2rem; line-height: 1;
}
.demo-folder-add:hover { background: #ede7fc; }
.icon { position: relative; display: inline-grid; place-content: center; width: 1rem; height: .83rem; flex: none; border: 1.5px solid; border-radius: .16rem; }
.icon::before, .icon::after { position: absolute; content: ""; }
.icon-grid::before { inset: 0 45%; border-left: 1.5px solid; }
.icon-grid::after { inset: 45% 0 auto; border-top: 1.5px solid; }
.icon-photo::before { left: .19rem; bottom: .08rem; width: .4rem; height: .28rem; border: 1.5px solid; border-width: 1.5px 0 0 1.5px; transform: rotate(45deg); }
.icon-photo::after { right: .12rem; top: .1rem; border: 1px solid; border-radius: 50%; }
.icon-video::before { border: .18rem solid transparent; border-left: .28rem solid; left: .31rem; top: .13rem; }
.icon-document { width: .75rem; height: .92rem; margin-inline: .125rem; }
.icon-document::before { inset: .23rem .12rem; border-block: 1px solid; }

.drive-main { min-width: 0; padding: 1.1rem 1.3rem 1rem; }
.drive-header { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .8rem; }
.drive-header h3 { margin: 0; font-size: clamp(1.12rem, 2.3vw, 1.4rem); letter-spacing: -.035em; }
.button-upload { background: #5038b6; color: white; }
.button-upload:hover, .button-upload:focus-visible { background: #3f259e; }
.folders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.folder-card {
  display: flex; min-width: 0; align-items: center; gap: .6rem; padding: .95rem .75rem;
  border: 1px solid #e9e5f3; border-radius: .65rem; background: #f8f6fd;
  font-size: .89rem; font-weight: 650; text-align: left; cursor: pointer; overflow-wrap: anywhere;
}
.folder-card:hover, .folder-card[aria-pressed="true"] { background: #ede7fc; border-color: #c4b7e8; }
.folder {
  position: relative; display: block; flex: 0 0 1.66rem; height: 1.13rem;
  border-radius: .21rem; background: var(--folder-fill); box-shadow: inset 0 -2px #24164823;
}
.folder::before {
  content: ""; position: absolute; left: .06rem; bottom: calc(100% - .06rem);
  width: .8rem; height: .3rem; border-radius: .15rem .15rem 0 0; background: var(--folder-tab);
}
.folder-photo { --folder-fill: #b6a0f8; --folder-tab: #8b6cdd; }
.folder-video { --folder-fill: #87ccf4; --folder-tab: #5babe1; }
.folder-document { --folder-fill: #a4deca; --folder-tab: #65b79a; }
.files { width: 100%; margin-top: .65rem; border-collapse: collapse; font-size: .9rem; text-align: left; }
.files td, .files th { padding: .64rem .2rem; border-bottom: 1px solid var(--line); }
.files th { color: var(--muted); font-weight: 600; font-size: .76rem; }
.files tbody tr:last-child td { border-bottom: 0; }
.files td:last-child, .files th:last-child { white-space: nowrap; text-align: right; }
.files td:last-child { color: var(--muted); }
.file-icon { vertical-align: -.08rem; margin-right: .6rem; color: var(--accent); }

.site-footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem;
  padding-block: 1rem 1.4rem; color: var(--muted); font-size: .79rem;
}
.site-footer span:first-child { font-weight: 700; letter-spacing: .1em; }
.access-dialog {
  width: min(27rem, calc(100% - 2rem)); border: 1px solid var(--line); border-radius: 1rem;
  padding: 1.5rem; color: #1a1830; background: white; box-shadow: 0 1rem 4rem #0d062c55;
}
.access-dialog::backdrop { background: #191136a8; }
.access-dialog h2 { margin-top: 0; font-size: 1.3rem; }
.access-dialog p { color: var(--muted); line-height: 1.5; }

@media (max-width: 56rem) {
  .shell { width: calc(100% - 2.5rem); }
  .hero { min-height: 21rem; }
  .drive { grid-template-columns: 10rem minmax(0, 1fr); }
}

@media (max-width: 40rem) {
  .shell { width: calc(100% - 1.5rem); }
  .header-inner { min-height: 3.65rem; }
  .hero { min-height: 30rem; align-items: flex-end; margin-top: .8rem; }
  .hero-art { width: 100%; height: 66%; object-position: 50% 50%; }
  .hero::after { background: linear-gradient(0deg, #191136 34%, #191136f4 44%, #19113646 65%, transparent 78%); }
  .hero p { margin-block: .7rem 1rem; }
  .hero-copy { padding: 1.25rem; }
  .hero-actions > .button { padding-inline: .6rem; }
  .preview { margin-top: 1.4rem; }
  .drive { grid-template-columns: 1fr; min-height: auto; }
  .drive-nav { flex-direction: row; flex-wrap: wrap; padding: .6rem; border-right: 0; border-bottom: 1px solid var(--line); border-radius: 1.1rem 1.1rem 0 0; }
  .nav-item { padding: .55rem .5rem; gap: .4rem; }
  .demo-folder-header { padding: .25rem .4rem; }
  .drive-main { padding: .8rem; min-height: 17rem; }
  .folder-card { flex-direction: column; align-items: flex-start; padding: .65rem .4rem; font-size: .78rem; }
  .folder { flex: none; width: 1.46rem; height: .98rem; }
  .button-upload { padding-inline: .55rem; }
}
