/* Full-width editorial composition. The application state remains in app.js. */
:root {
  --page-gutter: clamp(24px, 3.2vw, 72px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { padding: 0; }
.container { width: 100%; max-width: none; margin: 0; }
.header { padding: 24px var(--page-gutter); min-height: 106px; }
.logo { font-size: 36px; letter-spacing: -2px; }
.logo-sub { display: none; }
.nav { gap: clamp(18px, 2.3vw, 44px); }
.nav a { font-size: 14px; }
.nav #loginBtn { padding: 14px 28px; }
.workspace-intro {
  grid-template-columns: minmax(0, 1fr) minmax(250px, .36fr);
  gap: 5vw;
  align-items: end;
  padding: clamp(44px, 5vw, 96px) var(--page-gutter) clamp(48px, 5vw, 96px);
}
.workspace-intro h1 {
  font-size: clamp(64px, 7.1vw, 160px);
  letter-spacing: -.065em;
  line-height: .99;
  font-weight: 450;
}
html:lang(en) .workspace-intro h1 { font-size: clamp(62px, 6.7vw, 151px); }
.workspace-intro-copy { max-width: 410px; padding-bottom: 3px; }
.workspace-intro-copy p { font-size: clamp(15px, 1.15vw, 21px); line-height: 1.5; }
.workspace-intro-copy p + p { font-size: clamp(13px, .95vw, 17px); margin-top: 16px; }
.hero-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; padding: 10px 10px 10px 26px; margin-top: 32px; border-radius: 100px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 14px; }
.cta-arrow { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--lavender); color: var(--ink); font-size: 24px; line-height: 1; transition: transform 220ms var(--ease-out); }
.hero-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 var(--page-gutter); }
.hero-scene { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; height: clamp(400px, 34vw, 700px); overflow: hidden; border-radius: 32px; padding: clamp(25px, 2.6vw, 52px); isolation: isolate; }
.search-scene { background: #101010; color: white; }
.maps-scene { background: var(--lavender); color: #18131f; }
.scene-heading { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: clamp(22px, 2.3vw, 48px); line-height: 1.12; letter-spacing: -.045em; }
.scene-heading > span:last-child { font-size: 1.3em; line-height: .8; }
.scene-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 2; font-size: clamp(11px, .9vw, 17px); }
.scene-caption > span:last-child { font-size: 11px; letter-spacing: .08em; }
.search-art { position: absolute; width: 73%; left: 13.5%; top: 29%; }
.search-query { display: flex; align-items: center; gap: 14px; width: 92%; padding: 15px 20px; margin: 0 auto 18px; border: 1px solid #555; border-radius: 100px; font-size: clamp(13px, 1.05vw, 21px); background: #222; }
.search-query svg { flex-shrink: 0; width: 20px; height: 20px; stroke: var(--lavender); stroke-width: 1.8; }
.search-query i { width: 1px; height: 18px; background: var(--lavender); }
.result-stack { position: relative; height: clamp(150px, 13vw, 260px); }
.result-featured { position: relative; display: flex; align-items: center; gap: 17px; padding: clamp(18px, 2vw, 38px); border-radius: 18px; color: var(--ink); background: white; transform: rotate(-3deg); z-index: 2; }
.result-brand { display: grid; place-items: center; width: clamp(44px, 5vw, 96px); aspect-ratio: 1; flex-shrink: 0; background: var(--lavender); border-radius: 14px; font-size: clamp(32px, 4vw, 76px); font-weight: 300; line-height: 1; }
.result-featured > div:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.result-domain { font-size: clamp(10px, .8vw, 16px); color: var(--muted); }
.result-featured strong { font-size: clamp(22px, 2.35vw, 45px); font-weight: 450; letter-spacing: -.045em; line-height: 1.2; margin: 3px 0 6px; }
.result-description { font-size: clamp(10px, .85vw, 16px); line-height: 1.4; }
.result-arrow { margin-left: auto; align-self: flex-start; font-size: 22px; }
.result-echo { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: absolute; inset: 0 4%; height: 90px; border: 1px solid #4f4f4f; border-radius: 16px; padding: 24px; background: #282828; color: #bdbdbd; font-size: clamp(11px, .85vw, 17px); }
.echo-front { transform: translateY(80%) rotate(3deg); }
.echo-back { inset-inline: 8%; transform: translateY(115%) rotate(7deg); background: #1c1c1c; color: #8b8b8b; }
.map-art { position: absolute; inset: 22% 0 12%; }
.city-map { position: absolute; width: 110%; height: 100%; top: 0; left: -5%; transform: rotate(-10deg) scale(1.06); }
.map-pin { position: absolute; width: 21%; height: 60%; top: -2%; left: 39.5%; filter: drop-shadow(0 15px 0 #0000000c); transform-origin: center bottom; }
.map-signal { position: absolute; left: 35%; top: 45%; width: 30%; height: 21%; border: 1px solid #30254138; border-radius: 50%; }
.signal-two { transform: scale(1.5); opacity: .5; }
.map-business { display: flex; align-items: center; gap: 16px; position: absolute; left: 15%; bottom: 0; width: 70%; padding: clamp(16px, 1.6vw, 30px); background: white; border-radius: 18px; transform: rotate(3deg); }
.business-mark { display: grid; place-items: center; flex-shrink: 0; width: clamp(40px, 4vw, 80px); aspect-ratio: 1; background: var(--ink); color: white; border-radius: 12px; font-size: clamp(18px, 1.6vw, 30px); letter-spacing: -.08em; font-weight: 600; }
.map-business > div { display: flex; flex-direction: column; gap: 5px; }
.map-business strong { font-size: clamp(16px, 1.5vw, 30px); font-weight: 450; letter-spacing: -.035em; line-height: 1.15; }
.map-business div > span { font-size: clamp(11px, .9vw, 17px); color: var(--muted); }
.business-arrow { margin-left: auto; font-size: 26px; }

/* The form stays immediate and still; only marketing artwork moves. */
.workspace-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding: clamp(80px, 9vw, 160px) var(--page-gutter) 30px; }
.workspace-section-heading h2 { margin: 0; font-size: clamp(44px, 5vw, 100px); line-height: 1.05; font-weight: 450; letter-spacing: -.055em; }
.workspace-section-heading p { max-width: 300px; margin: 0 0 5px; font-size: 16px; }
#status, #toolTabs, #page-add, #page-maps, #page-projects, #page-admin { margin-inline: var(--page-gutter); }
.statusbar { border-top: 0; font-size: 13px; margin-bottom: 24px; }
#toolTabs { margin-bottom: 32px; }
.project-form { gap: 24px; }
.left-col, .right-col { gap: 24px; }
.block { padding: clamp(28px, 2.5vw, 52px); border-radius: 28px; }
.block-title { font-size: clamp(22px, 2vw, 38px); margin-bottom: 26px; }
.form-group small { font-size: 13px; }
#keywordsInput { min-height: 290px; }
.region-chips { gap: 10px; }
.region-chip { min-height: 48px; font-size: 14px; }
.btn { min-height: 52px; padding-inline: 28px; }
.recommend-list { max-height: 360px; padding-right: 12px; scrollbar-gutter: stable; }
.recommend-list .item { min-height: 64px; gap: 20px; padding: 9px 0; }
.recommend-list .item > span:first-child { min-width: 0; overflow-wrap: anywhere; line-height: 1.45; }
.recommend-list .add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lavender);
  color: var(--ink);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  user-select: none;
  touch-action: manipulation;
}
.recommend-list .add-btn:active { background: var(--ink); color: white; }
@media (hover: hover) and (pointer: fine) {
  .recommend-list .add-btn:hover { background: var(--ink); color: white; }
}
.narrow { width: 100%; max-width: 960px; }
.container:has(#page-projects.active) :is(.hero-showcase, .workspace-section-heading),
.container:has(#page-admin.active) :is(.hero-showcase, .workspace-section-heading) { display: none; }

.service-guide { grid-template-columns: 1fr 1fr; gap: 8vw; margin: clamp(90px, 10vw, 180px) 0 0; padding: clamp(52px, 6vw, 120px) var(--page-gutter); background: var(--lavender-soft); }
.service-guide-intro { position: sticky; top: 40px; padding: 0; border-radius: 0; background: transparent; }
.service-guide h2 { font-size: clamp(44px, 5.4vw, 108px); line-height: 1.02; letter-spacing: -.055em; }
.service-guide-intro p { max-width: 420px; margin-top: 30px; font-size: clamp(16px, 1.25vw, 22px); }
.guide-graphic-arrow { display: block; font-size: clamp(150px, 23vw, 460px); line-height: 1; font-weight: 250; margin-left: -15px; color: #8575b0; }
.service-guide-list { counter-reset: none; }
.service-guide-list > div { padding: 30px 0; border-color: #cfc6e1; }
.service-guide-list > div:first-child { padding-top: 0; }
.service-guide-list > div:last-child { border: 0; }
.service-guide-list dt { font-size: clamp(24px, 2.4vw, 46px); line-height: 1.15; letter-spacing: -.04em; }
.service-guide-list dd { margin-top: 16px; max-width: 570px; font-size: clamp(15px, 1.15vw, 20px); line-height: 1.6; color: #4d465c; }
.setup-note { grid-template-columns: 1.15fr 1fr; gap: 8vw; padding: clamp(64px, 8vw, 150px) var(--page-gutter); border: 0; }
.setup-note h2 { align-self: start; font-family: var(--font); font-size: clamp(36px, 4.1vw, 82px); letter-spacing: -.055em; line-height: 1.08; }
.setup-note p { font-size: clamp(15px, 1.2vw, 21px); }
.workspace-footer { margin: 0; padding: clamp(40px, 5vw, 100px) var(--page-gutter) 30px; border: 0; background: var(--ink); color: var(--lavender); overflow: hidden; }
.footer-wordmark { font-size: 19.6vw; line-height: .94; font-weight: 450; letter-spacing: -.075em; }
.footer-wordmark span { color: var(--lavender); font-size: .85em; }
.footer-meta { margin-top: clamp(35px, 5vw, 90px); color: #b8b8b8; padding-top: 26px; border-top: 1px solid #393939; }
.footer-links a { color: white; }

/* Guides share the large editorial scale; paragraphs retain a readable measure. */
.guide-hero { grid-template-columns: 1.3fr 1fr; gap: 7vw; padding: 70px var(--page-gutter) 90px; background: var(--lavender); }
.guide-hero h1 { font-size: clamp(70px, 9vw, 170px); line-height: .99; letter-spacing: -.065em; font-weight: 450; }
.guide-hero p { max-width: 510px; padding-bottom: 8px; color: #302a3b; font-size: clamp(18px, 1.6vw, 28px); line-height: 1.5; }
.guide-section { grid-template-columns: 1fr 1.2fr; gap: 8vw; margin-inline: var(--page-gutter); padding: 70px 0; }
.guide-section h2 { font-size: clamp(36px, 4vw, 76px); line-height: 1.05; letter-spacing: -.05em; }
.guide-body { max-width: 850px; font-size: clamp(16px, 1.1vw, 21px); }
.guide-step h3 { font-size: clamp(24px, 2vw, 34px); }
.guide-cta { margin: 0; padding: 70px var(--page-gutter); border-radius: 0; }
.guide-cta h2 { font-size: clamp(36px, 4vw, 80px); letter-spacing: -.05em; }

/* Working areas: projects lead, referral details follow, footer stays compact. */
body:has(#page-projects.active), body:has(#page-admin.active) { background: #f6f6f6; }
.container:has(#page-projects.active) .header,
.container:has(#page-admin.active) .header { background: var(--paper); border-bottom: 1px solid #e7e7e2; }
.container:has(#page-projects.active) #status,
.container:has(#page-admin.active) #status { margin-block: 24px 0; padding: 0; }
#page-projects.active { min-height: calc(100dvh - 260px); padding-bottom: 48px; }
.projects-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 34px 0 28px; }
.projects-head .page-title { margin: 0; font-size: clamp(32px, 3vw, 52px); font-weight: 450; letter-spacing: -.05em; }
.projects-actions { gap: 12px; }
.projects-actions .btn { min-height: 46px; font-size: 14px; padding-inline: 24px; }
#addMapBtn { background: var(--paper); color: var(--ink); border: 1px solid #cfcfca; }
.project-type-tabs { display: inline-flex; gap: 5px; padding: 5px; background: #eaeae6; border-radius: 16px; margin-bottom: 24px; }
.project-type-tabs .tab { min-width: 130px; min-height: 42px; border: 0 !important; border-radius: 12px; padding: 10px 25px; font-size: 14px; }
.project-type-tabs .tab.active { background: var(--paper) !important; color: var(--ink) !important; }
.projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.project-card { display: flex; flex-direction: column; min-width: 0; min-height: 300px; padding: 26px; border: 1px solid #e0e0da; border-radius: 22px; background: var(--paper); }
.project-card .url { min-height: 54px; font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -.035em; overflow-wrap: anywhere; word-break: normal; }
.project-card .url > .badge { display: table; margin: 10px 0 0; }
.project-card .meta { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; min-height: 30px; margin: 14px 0 22px; font-size: 13px; line-height: 1.5; }
.project-card .meta > span[style] { opacity: 1 !important; color: #6a6a64; }
.project-card .status-pill { margin: 0; padding: 5px 10px; font-size: 12px; font-weight: 450; line-height: 1.3; background: #efecf7; color: #51446f; }
.project-card .report-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; padding: 10px 12px 10px 16px; border-radius: 13px; background: #f5f5f5; color: #62625b; font-size: 14px; }
.project-card .report-line a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; min-width: 110px; padding: 8px 16px; border-radius: 9px; background: var(--ink); color: white; font-size: 13px; text-decoration: none; }
.project-card .report-line a::after { content: '↗'; font-size: 17px; line-height: 1; }
.project-card .report-line a[data-download-report]::after,
.project-card .report-line a[data-open-map-report]::after { content: '↓'; }
.project-card .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid #e8e8e3; }
.project-card .actions a { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 12px; border: 1px solid #ddddd6; border-radius: 10px; background: white; color: #222; font-size: 13px; font-weight: 450; text-decoration: none; text-align: center; line-height: 1.35; }
.project-card .actions a[data-toggle-project] { background: #efecf7; border-color: #efecf7; color: #493b68; }
.project-card .actions a.delete-link { grid-column: 1 / -1; justify-self: end; min-height: 32px; padding: 4px 2px; background: none; border: 0; border-radius: 4px; color: #9b4b4b; font-size: 12px; }
.project-card .actions a.delete-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.project-card .report-line a:hover { background: #393939; }
.project-card .actions a[data-fill-project]:hover { background: #f5f5f5; border-color: #aaa; }
.project-card .actions a[data-toggle-project]:hover { background: #e0daef; }
.project-card .map-keywords { margin: 0 0 20px; padding: 0; border: 0; background: none; }
.project-card .map-keywords > summary { padding: 12px 0; color: var(--ink); font-size: 14px; }
.project-card .map-keyword-list { margin-top: 10px; }
.project-card .map-keyword-row { padding: 16px 0; border: 0; border-top: 1px solid #e8e8e3; border-radius: 0; background: none; }
.project-card .map-keyword-text { font-size: 14px; }
.project-card .map-keyword-meta { gap: 8px; margin-top: 10px; }
.project-card .map-keyword-replace { min-height: 34px; padding: 6px 10px; border-radius: 8px; }
.project-card .map-keyword-editor input { min-width: 0; width: 100%; }
.personal-referral { grid-template-columns: 1.15fr 1fr; gap: 28px 48px; align-items: center; margin: 38px 0 0; padding: 30px; background: white; border: 1px solid #e0e0da; border-radius: 22px; }
.personal-referral h3 { font-size: 24px; font-weight: 450; letter-spacing: -.035em; margin-bottom: 10px; }
.personal-referral p { max-width: 750px; font-size: 13px; line-height: 1.65; }
.personal-referral-copy p + p { margin-top: 4px; }
.personal-referral-link { gap: 12px; padding: 12px 12px 12px 18px; border-radius: 13px; background: var(--lavender-soft); }
.personal-referral-link a { flex: 1; font-size: 13px; line-height: 1.5; color: #50416e; }
.personal-referral-link .table-action { flex-shrink: 0; min-height: 40px; padding: 9px 16px; border: 0; border-radius: 9px; background: var(--ink); color: white; font-size: 12px; }
.personal-referral-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; padding-top: 24px; border-color: #e8e8e3; font-size: 12px; line-height: 1.5; }
.personal-referral-stats > span { display: flex; flex-direction: column; gap: 7px; }
.personal-referral-stats strong { margin: 0; font-size: 30px; line-height: 1.1; font-weight: 450; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.personal-referral > p { grid-column: 1 / -1; margin-top: -8px; color: #797970; font-size: 12px; }
.container:has(#page-projects.active) .workspace-footer,
.container:has(#page-admin.active) .workspace-footer { padding: 24px var(--page-gutter); background: transparent; border-top: 1px solid #dedede; }
.container:has(#page-projects.active) .footer-wordmark,
.container:has(#page-admin.active) .footer-wordmark { display: none; }
.container:has(#page-projects.active) .footer-meta,
.container:has(#page-admin.active) .footer-meta { margin: 0; padding: 0; border: 0; color: #707069; }
.container:has(#page-projects.active) .footer-links a,
.container:has(#page-admin.active) .footer-links a { color: var(--ink); }
@media (min-width: 1800px) { .projects-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1200px) {
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personal-referral { grid-template-columns: 1fr; gap: 24px; }
  .personal-referral-link { max-width: 700px; }
}
@media (max-width: 760px) {
  .projects-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .projects-actions { width: 100%; }
  .projects-actions .btn { flex: 1; padding-inline: 12px; font-size: 12px; }
  .projects-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .project-card { padding: 24px; min-height: 0; }
  .project-card .url { font-size: 21px; min-height: 0; }
  .project-card .meta { margin-block: 16px 20px; }
  .project-type-tabs { display: flex; width: 100%; }
  .project-type-tabs .tab { flex: 1; min-width: 0; }
  .personal-referral { padding: 24px; gap: 22px; }
  .personal-referral h3 { font-size: 23px; }
  .personal-referral-link { flex-direction: column; align-items: stretch; padding: 16px; gap: 14px; }
  .personal-referral-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .personal-referral-stats > span:last-child { grid-column: 1 / -1; }
  .personal-referral-stats strong { font-size: 28px; }
}

/* One-shot, compositor-only scenes. No infinite motion beside working controls. */
/* Landing reveals are enabled independently of the OS animation preference. */
  .workspace-intro h1, .guide-hero h1 { animation: title-enter 850ms var(--ease-out) both; }
  .workspace-intro-copy, .guide-hero p { animation: soft-enter 750ms 70ms var(--ease-out) both; }
  [data-reveal].is-visible { animation: soft-enter 750ms var(--ease-out) both; }
  .service-guide:has(.is-visible) .service-guide-list > div { animation: soft-enter 700ms var(--ease-out) both; }
  .service-guide:has(.is-visible) .service-guide-list > div:nth-child(2) { animation-delay: 60ms; }
  .service-guide:has(.is-visible) .service-guide-list > div:nth-child(3) { animation-delay: 120ms; }
  .service-guide:has(.is-visible) .service-guide-list > div:nth-child(4) { animation-delay: 180ms; }
  .search-scene.is-visible .search-query { animation: search-arrive 950ms var(--ease-out) both; }
  .search-scene.is-visible .search-query i { animation: cursor-blink 700ms linear 5; }
  .search-scene.is-visible .result-featured { animation: result-rise 3600ms var(--ease-in-out) both; }
  .search-scene.is-visible .echo-front { animation: result-recede 3600ms var(--ease-in-out) both; }
  .search-scene.is-visible .echo-back { animation: result-back 3600ms var(--ease-in-out) both; }
  .maps-scene.is-visible .city-map { animation: map-arrive 1800ms var(--ease-out) both; }
  .maps-scene.is-visible .map-pin { animation: pin-arrive 1600ms 180ms var(--ease-out) both; }
  .maps-scene.is-visible .map-business { animation: business-arrive 1600ms 300ms var(--ease-out) both; }
  .maps-scene.is-visible .map-signal { animation: signal 2200ms 800ms var(--ease-out) both; }
  .maps-scene.is-visible .signal-two { animation-delay: 1050ms; }
@keyframes title-enter { from { transform: translateY(32px); clip-path: inset(0 0 100%); } to { transform: translateY(0); clip-path: inset(-12% -2%); } }
@keyframes soft-enter { from { opacity: .25; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
@keyframes search-arrive { from { transform: translateY(18px); opacity: .2; } to { transform: translateY(0); opacity: 1; } }
@keyframes cursor-blink { 0%, 45% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes result-rise { 0%, 12% { transform: translateY(48%) rotate(4deg); } 62%, 100% { transform: translateY(0) rotate(-3deg); } }
@keyframes result-recede { 0%, 12% { transform: translateY(-10%) rotate(-4deg); } 62%, 100% { transform: translateY(80%) rotate(3deg); } }
@keyframes result-back { 0%, 12% { transform: translateY(30%) rotate(0); } 62%, 100% { transform: translateY(115%) rotate(7deg); } }
@keyframes map-arrive { from { transform: rotate(0) scale(1.2); } to { transform: rotate(-10deg) scale(1.06); } }
@keyframes pin-arrive { from { opacity: 0; transform: translateY(-30px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes business-arrive { from { opacity: .1; transform: translateY(36px) rotate(-3deg); } to { opacity: 1; transform: translateY(0) rotate(3deg); } }
@keyframes signal { from { opacity: 0; transform: scale(.8); } 40% { opacity: .65; } to { opacity: .3; transform: scale(1.5); } }
@media (hover: hover) and (pointer: fine) {
  .hero-cta:hover .cta-arrow { transform: rotate(45deg); }
  .hero-cta:hover { background: #303030; }
  .hero-scene .search-art, .hero-scene .map-art { transition: transform 550ms var(--ease-out); }
  .hero-scene:hover .search-art { transform: translateY(-7px); }
  .hero-scene:hover .map-art { transform: translateY(-7px); }
  .guide-graphic-arrow { transition: transform 600ms var(--ease-out); }
  .service-guide-intro:hover .guide-graphic-arrow { transform: translate(12px, -12px); }
}
@media (min-width: 1900px) { .hero-showcase { gap: 28px; } .result-echo { height: 150px; } }
@media (max-width: 1100px) {
  .workspace-intro { grid-template-columns: 1.4fr 1fr; gap: 30px; }
  .workspace-intro h1, html:lang(en) .workspace-intro h1 { font-size: 6.8vw; }
  .workspace-intro-copy p { font-size: 14px; }
  .workspace-intro-copy p + p { font-size: 12px; }
  .hero-cta { margin-top: 20px; padding-left: 20px; gap: 20px; font-size: 13px; }
  .hero-scene { height: 370px; padding: 28px; }
  .scene-heading { font-size: 25px; }
  .search-art { width: 82%; left: 9%; top: 27%; }
  .result-featured { gap: 12px; padding: 20px; }
  .result-echo { height: 70px; padding: 18px; }
  .map-business { width: 80%; left: 10%; gap: 12px; }
  .scene-caption { font-size: 11px; }
  .guide-hero { padding-top: 60px; padding-bottom: 60px; }
}
@media (max-width: 820px) {
  :root { --page-gutter: 24px; }
  .header { gap: 24px; }
  .nav { gap: 16px; }
  .nav a { font-size: 12px; }
  .nav #loginBtn { padding: 11px 20px; }
  .workspace-intro { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; padding-bottom: 40px; }
  .workspace-intro h1, html:lang(en) .workspace-intro h1 { font-size: 10.6vw; }
  .workspace-intro-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; align-items: start; max-width: none; }
  .workspace-intro-copy p { font-size: 17px; }
  .workspace-intro-copy p + p { margin: 0; font-size: 14px; }
  .hero-cta { justify-self: start; margin-top: 0; }
  .hero-showcase { gap: 14px; }
  .hero-scene { height: 340px; padding: 23px; border-radius: 24px; }
  .scene-heading { font-size: 22px; }
  .scene-caption { font-size: 10px; gap: 10px; }
  .scene-caption > span:last-child { font-size: 9px; }
  .search-query { font-size: 12px; padding: 11px 14px; gap: 9px; }
  .result-featured { padding: 16px; gap: 10px; }
  .result-brand { width: 38px; border-radius: 9px; font-size: 32px; }
  .result-featured strong { font-size: 21px; }
  .result-domain { font-size: 9px; }
  .result-description { font-size: 9px; }
  .result-arrow { display: none; }
  .result-echo { padding: 14px; height: 60px; font-size: 11px; }
  .map-business { padding: 14px; gap: 10px; }
  .business-mark { width: 35px; font-size: 18px; }
  .map-business strong { font-size: 15px; }
  .map-business div > span { font-size: 10px; }
  .business-arrow { font-size: 20px; }
  .workspace-section-heading { padding-top: 80px; align-items: start; }
  .workspace-section-heading h2 { font-size: 48px; }
  .workspace-section-heading p { max-width: 200px; font-size: 14px; }
  .block { padding: 24px; }
  .project-form, .left-col, .right-col { gap: 16px; }
  .block-title { font-size: 22px; }
  .service-guide { gap: 40px; padding-block: 60px; }
  .service-guide h2 { font-size: 44px; }
  .service-guide-list dt { font-size: 24px; }
  .setup-note { gap: 40px; }
  .setup-note h2 { font-size: 36px; }
  .guide-section { gap: 40px; padding-block: 50px; }
}
@media (max-width: 640px) {
  :root { --page-gutter: 18px; }
  .header { padding-block: 22px 16px; gap: 16px; }
  .logo { font-size: 32px; }
  .nav { gap: 10px; }
  .nav #loginBtn { padding: 9px 14px; }
  .workspace-intro { padding-top: 34px; padding-bottom: 32px; gap: 25px; }
  .workspace-intro h1, html:lang(en) .workspace-intro h1 { font-size: 10.4vw; letter-spacing: -.06em; }
  .workspace-intro-copy { grid-template-columns: 1fr; gap: 0; }
  .workspace-intro-copy p { font-size: 16px; max-width: 330px; }
  .workspace-intro-copy p + p { font-size: 13px; margin-top: 12px; max-width: 350px; }
  .hero-cta { margin-top: 24px; font-size: 13px; }
  .cta-arrow { width: 36px; height: 36px; }
  .hero-showcase { grid-template-columns: 1fr; gap: 14px; }
  .hero-scene { height: 360px; padding: 26px; border-radius: 26px; }
  .scene-heading { font-size: 28px; }
  .search-art { width: 78%; left: 11%; }
  .result-featured { padding: 20px; }
  .result-featured strong { font-size: 23px; }
  .result-brand { width: 42px; }
  .result-description { font-size: 10px; }
  .map-business { width: 78%; left: 11%; padding: 17px; }
  .map-business strong { font-size: 18px; }
  .map-business div > span { font-size: 11px; }
  .business-mark { width: 44px; font-size: 20px; }
  .scene-caption { font-size: 11px; }
  .workspace-section-heading { flex-direction: column; align-items: start; gap: 17px; padding-top: 64px; padding-bottom: 20px; }
  .workspace-section-heading h2 { font-size: 43px; }
  .workspace-section-heading p { max-width: none; font-size: 14px; }
  .statusbar { font-size: 12px; padding-top: 0; }
  .block { padding: 24px; }
  #keywordsInput { min-height: 220px; }
  .service-guide { grid-template-columns: 1fr; gap: 40px; margin-top: 64px; padding-block: 48px; }
  .service-guide-intro { position: static; }
  .service-guide h2 { font-size: 48px; }
  .service-guide-intro p { font-size: 16px; max-width: 280px; }
  .guide-graphic-arrow { display: none; }
  .service-guide-intro { position: relative; }
  .service-guide-list > div { padding-block: 24px; }
  .service-guide-list dt { font-size: 27px; }
  .service-guide-list dd { font-size: 15px; margin-top: 12px; }
  .setup-note { grid-template-columns: 1fr; gap: 26px; padding-block: 54px; }
  .setup-note h2 { font-size: 35px; }
  .setup-note p { font-size: 15px; }
  .workspace-footer { padding-top: 45px; }
  .footer-wordmark { font-size: 19vw; }
  .footer-meta { margin-top: 35px; gap: 20px; line-height: 1.6; }
  .footer-links { gap: 18px; }
  .guide-hero { grid-template-columns: 1fr; gap: 30px; padding-block: 48px; }
  .guide-hero h1 { font-size: 15vw; }
  .guide-hero p { font-size: 18px; max-width: 360px; }
  .guide-section { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .guide-section h2 { font-size: 38px; }
  .guide-body { font-size: 16px; }
  .guide-cta { padding-block: 42px; }
  .guide-cta h2 { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .guide-graphic-arrow { transition: none; }
}
