/* Hallmark · shape: Stage (centred head, the uploader as the action, the product screen rising below) · genre: modern-minimal · theme: NMR Schedule Studio v3 light presentation (by request) · deal: none, owner's template · job: try, the action in the hero and again at the close · hero: Stage, centred head over the drop zone, the real viewer screen below · nav: edge-aligned, wordmark and two account links · footer: wordmark over a link row · imagery: captured screens of the real viewer with the Harbour View sample, rounded frames and soft shadows · signature: drop a programme on the page and it opens in the viewer · axes: light/grotesk-sans/cool · posture: restrained · surface: absolute · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H5 E4 S5 R4 V4 · weakest: E, the uploader must read at a glance in all five states */
/* Hallmark · answered F1 · the owner requires straight apostrophes */
/* Hallmark · waive 7b · surface: absolute, the viewer's own screens are white and sit on white frames · the template the owner chose is a white presentation */
/* Hallmark · waive 79 · the viewer's screen is inside the hero section and rises into the fold from y 690 at 1440x900 (fold shot) · the drop zone needs the space above it to read as the one action */
/* Hallmark · answered owner · R asked for a blurred, iPhone-style construction Gantt behind the hero: the sample programme's own bars, blurred, with the drop zone as frosted glass over it (the genre's no-glass default gives way to the owner's words) */
/* Hallmark · dismissed F4 · the selected tab is the state of a segmented control, and Choose a file and Try again are never shown together (one drop-zone state each) */
/* Hallmark · waive 22 · the paper, card and rule tokens are copied unchanged from the owner's template · the owner asked for that template's look */
@import url("./base.css");
@import url("./tokens.css");
@font-face { font-family: "Mona Sans"; font-style: normal; font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; src: url("./mona-sans-variable.woff2") format("woff2"); }

body { font-synthesis: none; background: var(--color-paper); }
h1, h2 { font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: 1.04; min-width: 0; overflow-wrap: break-word; }
h3 { font-size: var(--text-title); font-weight: 600; letter-spacing: -0.025em; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; transition: none; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: clip; white-space: nowrap; }
.skip { position: fixed; top: var(--space-lg); left: var(--space-lg); z-index: var(--z-toast); clip-path: inset(50%); padding: var(--space-sm) var(--space-lg); background: var(--color-ink); color: var(--color-card); }
.skip:focus-visible { clip-path: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: clip; }

/* nav */
.site-header { height: var(--nav-height); position: relative; z-index: var(--z-sticky-nav); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); }
.wordmark { white-space: nowrap; font-size: var(--text-lg); font-weight: 400; text-decoration: none; letter-spacing: -0.035em; color: var(--color-ink); }
.wordmark span, .footer-wordmark span { font-weight: 700; margin-right: var(--space-2xs); }
.nav nav { display: flex; gap: var(--space-xl); align-items: center; }
.nav nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-size: var(--text-sm); color: var(--color-ink); }
.nav nav a:hover { color: var(--color-accent); }
.nav-action { border-bottom: 1px solid var(--color-ink); white-space: nowrap; }
.on-touch, .short { display: none; }
@media (hover: none) and (pointer: coarse) { .on-pointer { display: none; } .on-touch { display: inline; } }

/* controls */
.button { white-space: nowrap; min-height: 52px; padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-input); display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: var(--text-md); font-weight: 500; background: var(--color-accent); color: var(--color-accent-ink); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.button:hover { background: var(--color-ink); }
.button:active { transform: translateY(1px); }
.button:disabled { background: var(--color-paper-3); color: var(--color-muted); cursor: progress; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); color: var(--color-ink); text-underline-offset: 5px; }
.text-link:hover { color: var(--color-accent); }

/* hero */
.hero { position: relative; isolation: isolate; padding-top: clamp(var(--space-lg), 5vh, var(--space-2xl)); }
.hero-backdrop { position: absolute; z-index: -1; inset: calc(var(--nav-height) * -1) 0 auto 0; height: min(1000px, 118vh); overflow: clip; pointer-events: none; }
.hero-backdrop img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { font-size: var(--text-display); max-width: 21ch; }
.hero .lead { margin-top: var(--space-md); color: var(--color-ink-2); max-width: 40ch; }
.fine { margin-top: var(--space-md); font-size: var(--text-xs); color: var(--color-muted); max-width: 62ch; }
.fine a { color: inherit; }

.drop { position: relative; margin-top: var(--space-xl); width: min(640px, 100%); min-height: 196px; display: grid; border-radius: var(--radius-card); background: var(--color-glass); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); border: 1px solid transparent; box-shadow: var(--shadow-card); transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.drop[data-state="over"] { border-color: var(--color-accent); background: var(--color-accent-soft); box-shadow: var(--shadow-lift); }
.drop-face { grid-area: 1 / 1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-sm); padding: var(--space-lg); }
.drop[data-state="idle"] .drop-idle, .drop[data-state="over"] .drop-idle, .drop[data-state="busy"] .drop-busy, .drop[data-state="error"] .drop-error, .drop[data-state="used"] .drop-used { display: flex; }
.drop-icon { color: var(--color-accent); }
.drop-idle .drop-note { margin-top: var(--space-2xs); }
.drop-title { font-size: var(--text-lg); font-weight: 500; letter-spacing: -0.02em; }
.drop-note { font-size: var(--text-sm); color: var(--color-muted); max-width: 44ch; }
.drop-actions { display: flex; flex-wrap: wrap; gap: var(--space-lg); align-items: center; justify-content: center; margin-top: var(--space-2xs); }
.drop-error .drop-title { color: var(--color-error); max-width: 40ch; }
.bar { width: min(360px, 80%); height: 4px; border-radius: 2px; background: var(--color-paper-3); overflow: clip; }
.bar span { display: block; height: 100%; background: var(--color-accent); transform-origin: left center; transform: scaleX(0); transition: transform var(--dur-short) var(--ease-out); }

.hero-screen { margin-top: var(--space-2xl); margin-bottom: 0; }
.hero-screen img { width: 100%; border-radius: var(--radius-card); box-shadow: var(--shadow-lift); outline: 1px solid var(--color-rule); outline-offset: -1px; }

/* sections */
.page-section { padding-block: var(--section-gap-s); }
.section-head { display: flex; gap: var(--space-xl); justify-content: space-between; align-items: end; flex-wrap: wrap; margin-bottom: var(--space-xl); }
.section-head h2, .page-section h2 { font-size: var(--text-section); max-width: 18ch; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }

.tabs { display: inline-flex; gap: var(--space-2xs); padding: var(--space-2xs); border-radius: 999px; background: var(--color-paper-3); }
.tabs button { white-space: nowrap; min-height: 44px; padding: var(--space-xs) var(--space-lg); border: 0; border-radius: 999px; background: transparent; color: var(--color-ink-2); font: inherit; font-size: var(--text-sm); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.tabs button:hover { color: var(--color-ink); }
.tabs button[aria-selected="true"] { background: var(--color-card); color: var(--color-ink); box-shadow: var(--shadow-tab); }
.panel { margin: 0; }
.panel + .panel { margin-top: var(--space-2xl); }
.js .panel + .panel { margin-top: 0; }
.js .panel:not(.is-on) { display: none; }
.panel img { width: 100%; border-radius: var(--radius-card); box-shadow: var(--shadow-card); outline: 1px solid var(--color-rule); outline-offset: -1px; }
.panel figcaption { margin-top: var(--space-lg); font-size: var(--text-lead); color: var(--color-ink-2); max-width: 52ch; }

.file-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.file-list div { padding-top: var(--space-lg); border-top: 1px solid var(--color-rule-2); }
.file-list dt { font-size: var(--text-title); font-weight: 600; letter-spacing: -0.025em; }
.file-list dd { margin: var(--space-xs) 0 0; color: var(--color-ink-2); }

.free h2 { margin-bottom: var(--space-xl); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.plan { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-md); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-card); }
.plan p { color: var(--color-ink-2); max-width: 44ch; }
.plan .button { margin-top: auto; }
.free .fine { margin-top: var(--space-lg); }

.faq details { border-top: 1px solid var(--color-rule-2); }
.faq details:last-child { border-bottom: 1px solid var(--color-rule-2); }
.faq summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); font-size: var(--text-lg); font-weight: 500; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--color-muted); transition: transform var(--dur-short) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--color-accent); }
.faq details p { padding-bottom: var(--space-lg); color: var(--color-ink-2); }

.nowrap { white-space: nowrap; }
.close-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-lg); text-align: center; padding: var(--space-4xl) var(--space-xl); border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-card); }
.close-inner h2 { font-size: var(--text-display); max-width: 14ch; }
.close-inner .lead { color: var(--color-rule); max-width: 40ch; }
.close-inner .button { margin-top: var(--space-md); }
.close-inner .button:hover { background: var(--color-card); color: var(--color-ink); }
.close-inner .button:focus-visible { outline-color: var(--color-card); }

/* footer */
.site-footer { padding-block: var(--space-2xl) var(--space-xl); border-top: 1px solid var(--color-rule); }
.footer-inner { display: grid; gap: var(--space-lg); }
.footer-wordmark { font-size: var(--text-xl); letter-spacing: -0.035em; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: var(--text-sm); color: var(--color-ink); text-underline-offset: 5px; }
.site-footer nav a:hover { color: var(--color-accent); }
.footer-note { font-size: var(--text-xs); color: var(--color-muted); }

@media (max-width: 60rem) {
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .nav nav { gap: var(--space-lg); }
}
@media (max-width: 40rem) {
  .file-list, .plans { grid-template-columns: minmax(0, 1fr); }
  .wordmark { font-size: var(--text-sm); }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .nav { gap: var(--space-md); }
  .long { display: none; } .short { display: inline; }
  .nav nav a:not(.nav-action) { display: none; }
  .drop { min-height: 180px; }
  .plan { padding: var(--space-lg); }
  .tabs { width: 100%; } .tabs button { flex: 1; padding-inline: var(--space-sm); }
  .hero-screen img, .panel img { border-radius: var(--radius-inner); }
  .close-inner { padding: var(--space-3xl) var(--space-lg); }
  .close-inner h2 { font-size: var(--text-section); }
}
@media (prefers-reduced-motion: reduce) {
  .button, .drop, .bar span, .tabs button, .faq summary::after { transition: none; }
}
