:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #242323;
  background: #f8f6f0;
  --line: #d7d2c8;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { max-width: 760px; margin: auto; padding: 0 24px max(44px, env(safe-area-inset-bottom)); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #3949aa;
  outline-offset: 3px;
}
.masthead {
  min-height: 73px; gap: 12px; display: flex; align-items: center; flex-wrap: wrap;
  justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.brand { font-weight: 750; letter-spacing: -.045em; font-size: clamp(16px, 4vw, 21px); white-space: nowrap; }
.brand span { color: #b94728; }
.link-button { border: 0; background: transparent; padding: 8px 0; font-size: .88rem; text-decoration: underline; }
h1 { margin: 26px 0 20px; font-size: clamp(42px, 10vw, 68px); font-weight: 650; letter-spacing: -.075em; line-height: 1.03; overflow-wrap: anywhere; }
h2 { font-size: 1.25rem; }
.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile {
  width: 100%; min-height: clamp(150px, 45vw, 250px); border: 0; border-radius: 23px;
  padding: clamp(12px, 4vw, 22px); text-align: left; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 11px; isolation: isolate;
}
.tile strong { font-weight: 650; letter-spacing: -.065em; font-size: clamp(22px, 5.8vw, 38px); line-height: 1; }
.filters { background: #e2ee95; }
.retouch { background: #e2caed; }
.shooting { background: #454fa3; color: #fff; }
.video { background: #f0a184; }
.tile::before {
  content: ""; position: absolute; z-index: -1; width: clamp(68px, 23vw, 132px); aspect-ratio: 1;
  border: 1px solid currentColor; top: -11%; right: 3%; opacity: .48; pointer-events: none;
}
.filters::before { border-radius: 50%; box-shadow: inset 0 0 0 12px #24232325, 0 0 0 12px #24232320; }
.retouch::before { transform: rotate(38deg); box-shadow: 12px 12px 0 #24232320; }
.shooting::before { border-radius: 24%; transform: rotate(-20deg); box-shadow: inset 0 0 0 12px #ffffff25; }
.video::before { border-radius: 50% 50% 4% 50%; transform: rotate(45deg); box-shadow: 12px 12px 0 #24232320; }
.tile small { display: flex; justify-content: space-between; align-items: center; gap: 4px; font-size: .85rem; }
.arrow { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.notice, .lesson-text { line-height: 1.6; }
.detail-title { padding: clamp(18px, 5vw, 36px); border-radius: 23px; margin: 24px 0 14px; }
.detail-title h1 { margin: 7px 0 0; font-size: clamp(32px, 9vw, 58px); letter-spacing: -.06em; }
.lesson-module { margin: 0; font-size: .9rem; font-weight: 600; }
.lesson-content, .lesson-list { background: #fffdfa; padding: 5px 16px; border-radius: 16px; }
.lesson-content { padding: 8px 18px 18px; }
.lesson-content:empty { display: none; }
.lesson-list .lesson-row:last-child { border-bottom: 0; }
.lesson-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.lesson-row {
  border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 18px 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left;
}
.lesson-row span:first-child, .record { overflow-wrap: anywhere; }
.primary { display: inline-block; padding: 12px 16px; border: 0; border-radius: 10px; background: #242323; color: #fff; text-decoration: none; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; color: #242323; }
input[type="checkbox"] { width: auto; }
textarea { min-height: 130px; resize: vertical; }
section + section { margin-top: 32px; }
details { padding: 12px 0; border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; }
.record { padding: 8px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 370px) { main { padding-inline: 15px; } .tile { border-radius: 17px; } }
