/* AppRDay — coming soon. Soft gradient, floating card. Written by hand. */

:root {
  --ink: #191734;
  --muted: #6f6d8c;
  --line: #e8e7f4;
  --violet: #5b4bdb;
  --violet-2: #8b5cf6;
  --card: #ffffff;
  --radius: 26px;
  --shadow: 0 26px 60px rgba(37, 30, 92, .13), 0 4px 12px rgba(37, 30, 92, .06);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(165deg, #eef0ff 0%, #f8f6ff 42%, #e9faf6 100%);
  font-family: ui-rounded, "Segoe UI Variable", ui-sans-serif, system-ui, -apple-system,
               "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 8px; }

/* soft shapes behind everything */
.haze { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.haze i {
  position: absolute; display: block; border-radius: 50%; filter: blur(60px); opacity: .5;
}
.haze i:nth-child(1) { width: 380px; height: 380px; top: -120px; left: -80px;  background: #c7c2ff; }
.haze i:nth-child(2) { width: 320px; height: 320px; top: 30%;  right: -110px; background: #b9f0e4; }
.haze i:nth-child(3) { width: 300px; height: 300px; bottom: -110px; left: 18%; background: #ffd9ef; }

.stage {
  position: relative; z-index: 1;
  max-width: 960px; margin: 0 auto;
  padding: clamp(28px, 6vw, 58px) 22px 48px;
}

/* nav */
.bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: clamp(30px, 6vw, 54px);
}
.lockup {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--ink); font-weight: 700; letter-spacing: -.02em;
}
.lockup:hover { text-decoration: none; }
.lockup b {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--violet), var(--violet-2));
  color: #fff; font-size: .78rem; letter-spacing: -.02em;
  box-shadow: 0 8px 18px rgba(91, 75, 219, .32);
}
.bar nav { display: flex; gap: 22px; }
.bar nav a { color: var(--muted); font-size: .88rem; font-weight: 500; }
.bar nav a:hover, .bar nav a.active { color: var(--violet); }

/* card */
.sheet {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 52px);
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #efeaff;
  color: var(--violet);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet-2); }

.sheet h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5.6vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 750;
}
.sheet h1 span {
  background: linear-gradient(96deg, var(--violet), var(--violet-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { margin: 0 0 14px; color: #46446a; font-size: 1.06rem; }
.intro { margin: 0; color: var(--muted); max-width: 58ch; }

.divider { height: 1px; background: var(--line); margin: clamp(28px, 4vw, 40px) 0; }

/* two panels */
.panels { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 44px); }

h2 {
  margin: 0 0 4px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.sub { margin: 0 0 20px; color: var(--muted); font-size: .92rem; }

.field { margin-bottom: 14px; }
.field label {
  display: block; margin-bottom: 6px;
  font-size: .82rem; font-weight: 600; color: #35335c;
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  font: inherit; font-size: .96rem;
  color: var(--ink);
  background: #f5f5fb;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(91, 75, 219, .13);
}
.field .invalid { border-color: #d9503f; background: #fff6f4; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px; padding: 0 26px;
  font: inherit; font-size: .97rem; font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--violet), var(--violet-2));
  border: 0; border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(91, 75, 219, .30);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(91, 75, 219, .36); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.status { margin: 14px 0 0; min-height: 1.2em; font-size: .89rem; }
.status.ok { color: #147a56; font-weight: 600; }
.status.err { color: #c0392b; font-weight: 600; }

/* developer */
.pairs { margin: 0; display: grid; gap: 12px; }
.pairs > div {
  background: #f7f7fc;
  border-radius: 14px;
  padding: 13px 16px;
}
.pairs dt {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px;
}
.pairs dd { margin: 0; font-size: .94rem; font-weight: 600; word-break: break-word; }

/* footer */
.base {
  position: relative; z-index: 1;
  max-width: 960px; margin: 0 auto;
  padding: 0 22px 40px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: .84rem;
}
.base nav { display: flex; gap: 20px; }
.base a { color: var(--muted); }
.base a:hover { color: var(--violet); }
.base p { margin: 0; }

/* legal */
.doc {
  position: relative; z-index: 1;
  max-width: 780px; margin: 0 auto;
  padding: clamp(30px, 6vw, 54px) 22px 56px;
}
.doc .sheet { padding: clamp(26px, 4.6vw, 46px); }
.doc h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4.4vw, 2.5rem);
  letter-spacing: -.03em;
}
.stamp {
  display: inline-block; margin: 0 0 30px;
  padding: 5px 13px; border-radius: 999px;
  background: #f2f1fa; color: var(--muted); font-size: .8rem;
}
.doc h2 {
  margin: 30px 0 10px;
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: -.01em; text-transform: none; color: var(--ink);
}
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: #46446a; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: .5em; }
.doc-actions {
  margin-top: 38px; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px;
}
.doc-actions .btn { width: auto; min-width: 165px; }
.plain {
  background: #f2f1fa; color: var(--violet); box-shadow: none;
}
.plain:hover { background: #e7e5f7; box-shadow: none; }

@media (max-width: 820px) {
  .panels { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .base { flex-direction: column; }
  .bar nav { gap: 16px; }
}
