:root {
  color-scheme: light;
  --ink: #132136;
  --muted: #526079;
  --line: #d7deeb;
  --paper: #f9fbff;
  --accent: #493ab2;
  --violet: #1e1c39;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
.layout { display: grid; grid-template-columns: minmax(31rem, .9fr) minmax(0, 1.1fr); min-height: 100vh; }
.access { display: grid; grid-template-rows: auto 1fr; padding: clamp(1.75rem, 4vw, 4.5rem); min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; text-decoration: none; font-size: 1.2rem; font-weight: 750; color: var(--ink); }
.mark { width: 1.8rem; aspect-ratio: 1; border-radius: .55rem; background: var(--accent); display: grid; place-items: center; }
.mark::after { content: ""; display: block; width: .9rem; height: .65rem; background: #fff; clip-path: polygon(0 50%, 50% 0, 50% 36%, 100% 0, 100% 100%, 50% 64%, 50% 100%); }
.sheet { align-self: center; width: min(100%, 25rem); margin: 3rem auto; }
h1 { margin: 0 0 1rem; font-family: "Avenir Next", system-ui, sans-serif; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.07; letter-spacing: -.055em; font-weight: 780; }
a { color: #4634a9; text-underline-offset: .18em; font-weight: 650; }
a:hover { color: #25176e; }
:focus-visible { outline: 3px solid #775ef1; outline-offset: 3px; }
.intro { color: var(--muted); margin: -.2rem 0 1.5rem; }
.fields { display: grid; gap: 1.05rem; }
.field { display: grid; gap: .35rem; }
.label-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; }
label { font-size: .94rem; font-weight: 650; }
.label-row a, .footer, small { font-size: .88rem; }
small { color: var(--muted); }
input[type=email], input[type=password] { width: 100%; font: inherit; min-height: 3rem; border: 1px solid #9eabc1; border-radius: .6rem; background: #fff; color: var(--ink); padding: .6rem .8rem; }
.check { display: flex; align-items: center; gap: .6rem; font-weight: 500; min-height: 1.4rem; }
.check input { width: 1rem; height: 1rem; accent-color: var(--accent); margin: 0; }
button { font: inherit; font-weight: 700; min-height: 2.95rem; padding: .55rem .9rem; border: 1px solid transparent; border-radius: .6rem; cursor: pointer; }
.primary { background: var(--accent); color: #fff; }
.primary:hover { background: #37288f; }
.secondary { color: var(--ink); background: #fff; border-color: #9eabc1; }
.secondary:hover { background: #e9edf8; }
.google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 2.95rem; padding-inline: 12px; background: #fff; color: #1f1f1f; border-color: #747775; font-family: "Google Sans", "Segoe UI", system-ui, sans-serif; font-size: .9rem; font-weight: 550; }
.google:hover { background: #f4f7ff; }
.google img { flex: 0 0 18px; object-fit: contain; }
.divider { display: flex; align-items: center; gap: .9rem; margin: .95rem 0; color: var(--muted); font-size: .85rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.footer { margin: 1.35rem 0 0; color: var(--muted); }
.feedback { margin: 0 0 1.2rem; border: 1px solid; border-radius: .6rem; padding: .7rem .8rem; font-size: .9rem; }
.notice { color: #164e37; background: #e8f8ef; border-color: #a6d8be; }
.error { color: #7f1d2d; background: #fff1f3; border-color: #e7a4ad; }
.account-email { overflow-wrap: anywhere; }
.account-details { margin: 1.5rem 0; border-block: 1px solid var(--line); }
.account-details div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: center; gap: .55rem; padding: .8rem 0; }
.account-details div + div { border-top: 1px solid var(--line); }
.account-details dt { font-size: .9rem; font-weight: 650; color: var(--muted); }
.account-details dd { margin: 0; }
.account-details .google { width: fit-content; min-height: 2.55rem; }
.account-actions { display: flex; }

.editor-preview { display: grid; place-items: center; background: var(--violet); padding: clamp(1rem, 5vw, 5rem); overflow: hidden; }
.editor-frame { width: min(100%, 40rem); aspect-ratio: 1.24; background: #2a294a; border-radius: 1rem; border: 1px solid #6b668e; box-shadow: 0 1.25rem 2.75rem #11102799; padding: 4.5%; display: grid; grid-template-rows: 1fr auto; gap: 7%; transform: rotate(-3deg); }
.playback { display: grid; place-items: center; background: #a8a6ef; overflow: hidden; border-radius: .6rem; padding: 9%; }
.mock-browser { display: grid; grid-template-rows: auto 1fr; width: 100%; height: 100%; min-height: 8rem; background: #f2f1ff; border-radius: .45rem; overflow: hidden; box-shadow: 0 .8rem 2rem #39328444; }
.mock-toolbar { display: flex; align-items: center; gap: .27rem; padding: .58rem; border-bottom: 1px solid #d4cff7; }
.mock-toolbar i { background: #a4a0cf; width: .38rem; height: .38rem; border-radius: 50%; }
.mock-toolbar span { margin-left: .4rem; background: #dedcf1; width: 60%; height: .42rem; border-radius: .2rem; }
.mock-content { display: grid; grid-template-columns: 1fr .82fr; align-items: center; padding: 6%; gap: 8%; }
.mock-art { border-radius: .25rem; background: #c8f2e0; min-height: 4rem; height: 100%; position: relative; overflow: hidden; }
.mock-art i { position: absolute; border-radius: 50%; width: 43%; aspect-ratio: 1; bottom: -18%; background: #7166c8; }
.mock-art i:nth-child(1) { left: 7%; bottom: 24%; background: #72baad; }
.mock-art i:nth-child(2) { left: 36%; bottom: -20%; }
.mock-art i:nth-child(3) { left: 65%; bottom: 16%; background: #e9bd80; }
.mock-copy { display: grid; gap: .5rem; }
.mock-copy i { height: .45rem; border-radius: .15rem; background: #dad6ec; }
.mock-copy i:first-child { background: #8277c7; height: .7rem; }
.mock-copy i:last-child { width: 65%; }
.timeline { position: relative; display: grid; gap: .5rem; padding-block: .25rem .4rem; }
.ruler { height: .75rem; border-top: 1px solid #676385; background: repeating-linear-gradient(90deg, #676385 0 1px, transparent 1px 9.1%); }
.track { height: 1.3rem; display: flex; gap: .25rem; }
.track i { flex: 3; background: #7675d1; border-radius: .25rem; }
.track i:nth-child(2) { flex: 2; background: #aaa3f0; }
.track i:last-child { flex: 5; }
.annotations i { background: #61af9d; flex: 0 0 24%; }
.annotations i:last-child { background: #e9bd80; flex: 0 0 18%; margin-left: 29%; }
.playhead { position: absolute; inset: 0 auto 0 47%; border-left: 2px solid #f8cc8a; }
.playhead::before { content: ""; background: #f8cc8a; position: absolute; left: -.34rem; width: .55rem; height: .45rem; clip-path: polygon(0 0, 100% 0, 50% 100%); }
@media (max-width: 820px) {
  .layout { grid-template-columns: 1fr; }
  .editor-preview { display: none; }
  .sheet { margin-block: clamp(2rem, 10vh, 6rem); }
}
@media (max-width: 420px) {
  .access { padding: 1.25rem; }
  .account-details div { grid-template-columns: 1fr; gap: .1rem; }
}
