@import url("/fonts.css");
:root {
  --forest: #203c35;
  --gold: #a7834d;
  --paper: #faf8f1;
  --muted: #5e6d65;
  --line: #dcded2;
  --white: #fffefa;
  --red: #923f35;
  font-family: Arial, sans-serif;
  color: var(--forest);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
footer {
  max-width: 1240px;
  margin: auto;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header {
  border-bottom: 1px solid var(--line);
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
nav,
footer div {
  display: flex;
  gap: 28px;
  font-size: 13px;
}
.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  font-size: 21px;
  letter-spacing: 2px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 3px;
  margin-top: 6px;
}
.brandmark {
  border: 1px solid var(--gold);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  text-align: center;
  font:
    italic 36px Georgia,
    serif;
  color: var(--gold);
}
.gold,
.eyebrow {
  color: var(--gold);
}
main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 28px 80px;
  min-height: 72vh;
}
h1,
h2,
h3 {
  font-family: Georgia, serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 20px 0 26px;
}
h2 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 20px;
}
h3 {
  font-size: 25px;
  line-height: 1.25;
  margin: 0 0 14px;
}
p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.lead {
  font-size: 19px;
  max-width: 580px;
  line-height: 1.65;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 14px;
}
.hero {
  display: grid;
  grid-template-columns: 1.13fr 0.87fr;
  gap: 65px;
  align-items: center;
}
.hero-art {
  min-height: 510px;
  border-radius: 48% 48% 3px 3px;
  background: radial-gradient(
    ellipse at 50% 24%,
    #edddac 0%,
    #d6d9b6 30%,
    #688976 65%,
    #254b40 100%
  );
  overflow: hidden;
  position: relative;
}
.hero-art:before,
.hero-art:after {
  content: "";
  position: absolute;
  left: 16%;
  top: 24%;
  width: 67%;
  height: 83%;
  border: 1px solid #f6eed697;
  border-radius: 50%;
  transform: rotate(24deg);
}
.hero-art:after {
  left: 30%;
  top: 8%;
  height: 110%;
  transform: rotate(-17deg);
}
.art-caption {
  position: absolute;
  bottom: 40px;
  left: 38px;
  right: 38px;
  color: #fff9e7;
  font:
    28px/1.3 Georgia,
    serif;
}
.hero-art svg {
  position: absolute;
  width: 100%;
  height: 100%;
}
.button,
button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--forest);
  color: white;
  border: 1px solid var(--forest);
  border-radius: 5px;
  padding: 15px 23px;
  text-decoration: none;
  font: 600 14px Arial;
  line-height: 1.25;
  cursor: pointer;
  min-height: 48px;
}
.button:hover,
button:hover {
  background: #30554a;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  background: transparent;
  color: var(--forest);
  border-color: #abb7a7;
}
.secondary:hover {
  background: #edf0e5;
}
.textbutton {
  background: none;
  border: 0;
  color: var(--forest);
  padding: 8px;
  min-height: 36px;
  text-decoration: underline;
}
.small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 25px 0;
}
.tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}
.tags span:before {
  content: "✓";
  color: var(--gold);
  margin-right: 7px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 62px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.card .number {
  display: block;
  color: var(--gold);
  font: 30px Georgia;
  margin-bottom: 24px;
}
.card p {
  font-size: 14px;
}
.card.selected {
  border: 2px solid var(--forest);
  background: #f0f3e8;
}
.card .button {
  width: 100%;
  margin-top: 15px;
}
.narrow {
  max-width: 720px;
  margin: auto;
}
.wide {
  max-width: 940px;
  margin: auto;
}
.intro {
  max-width: 750px;
  margin-bottom: 36px;
}
.steps {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.steps li {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}
.steps li.active {
  border-color: var(--gold);
  color: var(--forest);
}
form {
  margin: 22px 0;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  margin-bottom: 22px;
}
.field label,
fieldset legend {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 9px;
}
input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #aab6a9;
  border-radius: 4px;
  background: #fffefa;
  color: var(--forest);
  font: 16px/1.5 Arial;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid #ceba8b;
  outline-offset: 2px;
}
input[type="checkbox"],
input[type="radio"] {
  width: 19px;
  height: 19px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--forest);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0;
}
.check span {
  margin-top: -3px;
}
.field .small {
  margin-top: 7px;
}
.panel {
  background: #edf1e7;
  border-radius: 8px;
  padding: 26px;
  margin: 26px 0;
}
.panel p:last-child,
.card p:last-child {
  margin-bottom: 0;
}
.quote {
  font: 18px/1.7 Georgia;
  border-left: 2px solid var(--gold);
  padding: 8px 18px;
  margin: 18px 0;
}
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 6px 11px;
  font-size: 11px;
  margin: 0 6px 10px 0;
}
.warning {
  background: #f2e7d1;
  color: #65512c;
  padding: 12px 24px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest);
  color: white;
  padding: 16px 24px;
  border-radius: 6px;
  max-width: min(700px, 90vw);
  box-shadow: 0 6px 35px #0002;
  z-index: 20;
  display: none;
}
#notice.show {
  display: block;
}
#notice.error {
  background: var(--red);
}
.errorbox {
  padding: 18px;
  border-left: 3px solid var(--red);
  color: var(--red);
  background: #f8eee9;
  margin: 20px 0;
}
.progress {
  height: 4px;
  background: var(--line);
  border-radius: 5px;
  margin: 20px 0 36px;
}
.progress span {
  display: block;
  background: var(--gold);
  height: 100%;
  width: var(--progress, 0%);
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.stack > * + * {
  margin-top: 20px;
}
details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
details p {
  margin-top: 16px;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.6;
  background: #eef0e6;
  padding: 16px;
  max-height: 500px;
  overflow: auto;
}
audio {
  width: 100%;
  margin: 20px 0;
}
iframe {
  width: 100%;
  height: 650px;
  border: 1px solid var(--line);
}
.owner-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}
.owner-grid aside button {
  width: 100%;
  margin-bottom: 9px;
  text-align: left;
}
.codearea {
  font: 12px/1.5 monospace;
  min-height: 420px;
}
.empty {
  text-align: center;
  padding: 55px 20px;
}
footer {
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  gap: 25px;
}
.loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 760px) {
  header,
  footer {
    padding: 22px;
  }
  nav {
    gap: 17px;
  }
  main {
    padding: 35px 22px 60px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-art {
    min-height: 330px;
    max-height: 360px;
  }
  .hero h1 {
    max-width: 450px;
  }
  .grid,
  .fields,
  .owner-grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 25px;
  }
  h1 {
    letter-spacing: -1px;
    font-size: 43px;
  }
  h2 {
    font-size: 29px;
  }
  .divider {
    margin: 42px 0;
  }
  .row {
    align-items: flex-start;
    flex-direction: column;
  }
  .steps {
    gap: 10px;
    font-size: 11px;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .button {
    width: 100%;
  }
  .art-caption {
    font-size: 26px;
  }
  .brand {
    font-size: 16px;
  }
  .brandmark {
    width: 34px;
    height: 34px;
    font-size: 29px;
  }
  .owner-grid aside {
    display: flex;
    overflow: auto;
    gap: 10px;
  }
  .owner-grid aside button {
    min-width: 150px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
}

/* Personal Audio · expressive colour edition */
:root {
  --forest: #643049;
  --gold: #95682d;
  --paper: #fffaf5;
  --muted: #74636d;
  --line: #e7d7dc;
  --white: #fffdfb;
  --ruby: #983d61;
  --petrol: #246e73;
  --amethyst: #786096;
}
body {
  background: radial-gradient(ellipse at 3% 22%, #f8e5e650, transparent 45%),
    radial-gradient(ellipse at 98% 65%, #d9eeee50, transparent 42%), var(--paper);
}
header { max-width: 1360px; padding: 26px 48px; border: 0; }
nav a { text-decoration: none; padding: 10px 0; }
nav a:last-child { border: 1px solid var(--line); border-radius: 30px; padding: 10px 18px; }
.brandmark { background: #f4e7d9; border-color: #caa77b; }
main { max-width: 1280px; padding: 36px 40px 90px; }
h1 { font-size: clamp(44px, 5.5vw, 76px); letter-spacing: -2.7px; }
h1 em { color: var(--ruby); font-weight: 400; }
h2 { font-size: clamp(32px, 3.4vw, 45px); letter-spacing: -1px; }
h3 { font-size: 28px; }
.hero {
  position: relative; padding: 52px 50px; gap: 50px;
  border-radius: 28px; grid-template-columns: 1.07fr 1fr;
  background: radial-gradient(ellipse at 0% 15%, #f7d6dc 0, transparent 60%),
    linear-gradient(120deg, #fcf1e9, #f8e9e7 58%, #e4e8df);
  border: 1px solid #f0d9d5;
}
.hero h1 { margin: 22px 0; }
.hero .lead { font-size: 18px; line-height: 1.7; }
.hero > div > p:not(.eyebrow):not(.lead):not(.small) { font-size: 15px; }
.hero .eyebrow { color: #85455c; letter-spacing: 2px; }
.hero-art {
  margin: 0; min-width: 0; min-height: 600px; height: 100%;
  border-radius: 210px 210px 16px 16px; overflow: visible;
  background: #edb393; isolation: isolate;
  box-shadow: 0 26px 55px -24px #703a5260;
}
.hero-art img {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: inherit; z-index: -2;
}
.hero-art:before {
  inset: 0; width: auto; height: auto; border: 0; transform: none; border-radius: inherit;
  background: linear-gradient(180deg, transparent 55%, #43142a99); z-index: -1;
}
.hero-art:after {
  inset: 12px; width: auto; height: auto; border-radius: 200px 200px 9px 9px;
  border: 1px solid #fff1d77a; transform: none; pointer-events: none;
}
.art-caption { left: 32px; bottom: 32px; font-size: 31px; line-height: 1.2; color: #fff8eb; }
.art-label { position: absolute; top: 43%; left: 30px; color: #fff; font-size: 10px; letter-spacing: 2.5px; text-shadow: 0 1px 8px #522235; }
.art-seal {
  position: absolute; top: 55px; right: -24px; width: 104px; height: 104px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  border-radius: 50%; background: #fbefd9; border: 1px solid #c6a56d;
  box-shadow: 0 6px 22px #62324920; color: #783b50; font: 16px Georgia;
  transform: rotate(9deg); line-height: 1.3;
}
.art-seal em { font-size: 28px; }
.button, button { border-radius: 30px; background: #8b3155; border-color: #8b3155; padding: 16px 25px; box-shadow: 0 5px 14px #8b315514; }
.button:hover, button:hover { background: #712442; border-color: #712442; }
.secondary { background: #fffaf5; color: var(--forest); border-color: #c6a3b0; box-shadow: none; }
.secondary:hover { background: #f8e7ec; color: var(--forest); }
.textbutton { background: transparent; color: var(--forest); box-shadow: none; }
.textbutton:hover { background: #f8e7ec; color: var(--forest); }
.tags { gap: 8px; margin-top: 26px; }
.tags span { padding: 7px 10px; border-radius: 20px; border: 1px solid #cbb4b77a; background: #fffaf570; font-size: 11px; }
.tags span:before { color: #347b78; }
.divider { margin: 62px 0; background: linear-gradient(90deg, transparent, #d6b596, #d9b4c5, transparent); }
.journey > .eyebrow, .journey > h2 { text-align: center; }
.journey > h2 { margin-bottom: 34px; }
.grid { gap: 22px; align-items: stretch; }
.card { border-radius: 18px; border: 1px solid #ead2da; background: linear-gradient(150deg, #fcedef, #fffaf7); position: relative; }
.card:nth-child(3n + 2) { background: linear-gradient(150deg, #dff0eb, #f5faf5); border-color: #c8ded9; color: #25595c; }
.card:nth-child(3n + 3) { background: linear-gradient(150deg, #ebe3f5, #faf6fc); border-color: #d9cce5; color: #65527d; }
.card .number { display: flex; width: 52px; height: 52px; justify-content: center; align-items: center; font-size: 23px; border: 1px solid #bb8394; border-radius: 50%; color: #904662; background: #fff9f780; }
.card:nth-child(3n + 2) .number { color: #286768; border-color: #8fbeb3; }
.card:nth-child(3n + 3) .number { color: #775a99; border-color: #b5a0cf; }
.card.selected { border: 2px solid var(--ruby); box-shadow: 0 0 0 4px #983d6112; }
.philosophy { max-width: none; padding: 52px 70px; background: linear-gradient(115deg,#fbebe4,#f3e7ec 60%,#eee7f6); border: 1px solid #ead7df; border-radius: 24px; }
.philosophy > p, .philosophy > h2, .philosophy > details { max-width: 760px; margin-left: auto; margin-right: auto; }
main > .narrow:not(.philosophy) { padding: 38px 42px; max-width: 800px; background: #fffdfbeb; border: 1px solid #ebdbe2; border-top: 5px solid #aa5173; border-radius: 20px; box-shadow: 0 18px 70px #7e426008; }
main > .narrow h1 { font-size: clamp(38px, 4.8vw, 58px); }
.steps { gap: 10px; }
.steps li { padding: 10px 12px; border: 1px solid #e2d5e0; border-radius: 20px; font-size: 11px; }
.steps li.active { background: #8b3155; border-color: #8b3155; color: #fff; }
input, textarea, select { border: 1px solid #c9b7c2; border-radius: 10px; background: #fffcfa; color: #51394b; }
input:focus, textarea:focus, select:focus { outline-color: #a96084; }
input[type='checkbox'], input[type='radio'] { accent-color: #8b3155; }
.panel { background: linear-gradient(120deg, #e7f2ed, #f0f5ef); color: #305f5b; border: 1px solid #cbded5; border-radius: 14px; }
.progress { height: 6px; background: #eedde4; }
.progress span { background: linear-gradient(90deg, #983d61, #bc749c, #dca064); border-radius: inherit; }
.quote { background: #fffaf57a; border-color: #b77999; border-radius: 0 8px 8px 0; }
.warning { background: #f5e9d8; color: #735533; }
footer { max-width: 1200px; padding: 28px 0; }
:focus-visible { outline: 3px solid #a96084; outline-offset: 4px; }
@media (max-width: 1050px) {
  main { padding: 28px; }
  .hero { padding: 38px 30px; gap: 30px; }
  .hero-art { min-height: 570px; }
  .art-seal { right: -15px; width: 88px; height: 88px; }
  .hero h1 { font-size: 60px; }
  .card { padding: 24px; }
  footer { padding: 28px; }
}
@media (max-width: 760px) {
  header { padding: 20px; }
  nav { gap: 14px; font-size: 12px; }
  nav a:last-child { padding: 9px 12px; }
  main { padding: 14px 16px 48px; }
  .hero { padding: 30px 24px 24px; gap: 30px; grid-template-columns: 1fr; border-radius: 20px; }
  .hero h1 { font-size: clamp(46px, 10vw, 65px); letter-spacing: -1.8px; }
  .hero-art { height: 480px; min-height: 0; max-height: none; width: 100%; max-width: 440px; justify-self: center; }
  .art-caption { font-size: 29px; }
  .art-seal { top: 55px; right: -10px; }
  .hero .actions { margin-bottom: 18px; }
  .tags { gap: 6px; }
  .tags span { font-size: 10px; }
  .philosophy { padding: 30px 24px; }
  main > .narrow:not(.philosophy) { padding: 26px 20px; }
  .steps { gap: 7px; }
  .steps li { font-size: 10px; padding: 8px 10px; }
  .divider { margin: 38px 0; }
  footer { margin: 0 20px; padding: 24px 0; }
}
@media print {
  body { background: white; }
  .hero, .card, .philosophy { break-inside: avoid; box-shadow: none; }
}
