/* Account: log in / create account (design only, no backend) */

/* hero: copy left, one date resting on a stone ledge right */
.ac-hero { padding: var(--s3) 0 0; }
.ac-hero .ab-hero-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); align-items: end; }
.ac-hero-copy { padding-bottom: var(--s7); }
.ac-hero-copy .eyebrow { margin: var(--s6) 0 var(--s3); }
.ac-hero-copy .h2 { margin-bottom: var(--s4); }
.ac-hero-copy .lead { margin: 0; }

/* the photo is a top-down studio shot; its own soft shadow lands on the ledge */
.ac-shelf { --w: 300px; --l: 56px; position: relative; margin: 0; width: 100%; max-width: 420px; justify-self: end; height: calc(var(--w) * .78); }
.ac-shelf img {
  position: absolute; z-index: 1; left: 50%; bottom: calc(var(--l) - var(--w) * .23); width: var(--w); height: auto;
  transform: translateX(-50%); mix-blend-mode: multiply; filter: brightness(1.06) saturate(.85); /* lifts the studio backdrop to white so only the date and its shadow show */
  -webkit-mask-image: radial-gradient(closest-side, black 64%, transparent); mask-image: radial-gradient(closest-side, black 64%, transparent);
}
.ac-ledge { position: absolute; left: 0; right: 0; bottom: 0; height: var(--l); border-radius: 3px; border-top: 1px solid var(--bone);
  background: linear-gradient(180deg, var(--linen), var(--travertine)); box-shadow: var(--shadow-rest); }

/* body: the form card and two quiet side notes */
.ac-body { padding-top: var(--s8); }
.ac-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s7); align-items: start; }
.ac-card { padding: var(--s7); background: var(--bone); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--travertine); }

.ac-tabs { display: flex; gap: var(--s6); border-bottom: var(--hair); margin-bottom: var(--s6); }
.ac-tabs button {
  position: relative; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 500 var(--t-md)/1 var(--sans); color: var(--ink-3); transition: color var(--d-fast) var(--ease);
}
.ac-tabs button:hover, .ac-tabs button.on { color: var(--ink); }
.ac-tabs button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); }

.ac-form { max-width: 30rem; }
.ac-form .f em { display: none; font-style: normal; font-size: var(--t-xs); color: var(--ink); }
.ac-form .f.bad em { display: block; }
.ac-form .f.bad input { border-color: var(--ameri-deep); }
.ac-form .co-submit { min-height: 46px; padding: 0 var(--s6); margin-top: var(--s3); }

.ac-note { max-width: 30rem; }
.ac-note b { display: block; font: 400 var(--t-xl)/1.2 var(--serif); font-variation-settings: 'SOFT' 50; }
.ac-note p { color: var(--ink-2); margin: var(--s3) 0 var(--s5); }

.ac-side { display: flex; flex-direction: column; gap: var(--s5); }
.ac-box { padding: var(--s6); background: var(--linen); border-radius: var(--radius-lg); }
.ac-box .h3 { font-size: var(--t-lg); }
.ac-box p { color: var(--ink-2); margin: var(--s2) 0 var(--s5); max-width: 40ch; }

@media (max-width: 900px) {
  .ac-hero .ab-hero-in, .ac-grid { grid-template-columns: 1fr; }
  .ac-hero .ab-hero-in { gap: 0; }
  .ac-hero-copy { padding-bottom: var(--s5); }
  .ac-shelf { --w: 240px; --l: 44px; justify-self: start; }
  .ac-body { padding-top: var(--s7); }
}
@media (max-width: 560px) {
  .ac-hero-copy .eyebrow { margin-top: var(--s4); }
  .ac-shelf { --w: 200px; --l: 36px; }
  .ac-card { padding: var(--s5); }
  .ac-box { padding: var(--s5); }
}
